Images, layout descriptions, binary blobs and string dictionaries can be included
in your application as resource files. Various Android APIs are designed to
operate on the resource IDs instead of dealing with images, strings or binary blobs
directly.
For example, a sample Android app that contains a user interface layout (main.xml),
an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
would keep its resources in the "Resources" directory of the application:
Resources/
drawable/
icon.png
layout/
main.xml
values/
strings.xml
In order to get the build system to recognize Android resources, set the build action to
"AndroidResource". The native Android APIs do not operate directly with filenames, but
instead operate on resource IDs. When you compile an Android application that uses resources,
the build system will package the resources for distribution and generate a class called "Resource"
(this is an Android convention) that contains the tokens for each one of the resources
included. For example, for the above Resources layout, this is what the Resource class would expose:
public class Resource {
public class Drawable {
public const int icon = 0x123;
}
public class Layout {
public const int main = 0x456;
}
public class Strings {
public const int first_string = 0xabc;
public const int second_string = 0xbcd;
}
}
You would then use Resource.Drawable.icon to reference the drawable/icon.png file, or
Resource.Layout.main to reference the layout/main.xml file, or Resource.Strings.first_string
to reference the first string in the dictionary file values/strings.xml.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
WoWonder Android Messenger是WoWonder PHP社交网络的Android聊天应用程序,与WoWonder Android Messenger用户,可以在他们的移动的手机上使用我们的新应用程序一起聊天,现在聊天更快,更容易,更有趣! - Wowonder PHP脚本v4.3.0版托管在您的服务器上。 - VS 2022+最小Android SDK为5.0 +最大SDK目标13。 用户特性: 音频/视频通话。 发送,接收信息。 全群聊系统 使用GPS查找附近的用户 注册页面和步骤。 分享和上传图片,声音资源。 离线访问所有邮件和最近的转换。 更新聊天状态。 探索新用户的朋友。 控制您的隐私。 控制您的设置。 更改配置文件信息。 加密聊天系统。 Pin & Archive聊天对话。 浏览用户的个人资料和状态。 30+新功能。
资源推荐
资源详情
资源评论
收起资源包目录
WoWonder Android Messenger v4.8 -WoWonder社交聊天的移动的安卓应用Java项目源码 (880个子文件)
Proguard.cfg 4KB
SqLiteDatabase.cs 201KB
Methods.cs 164KB
ChatWindowActivity.cs 163KB
FontAwesomeIcon.cs 162KB
GroupChatWindowActivity.cs 129KB
WoSocketHandler.cs 125KB
PageChatWindowActivity.cs 124KB
WoWonderTools.cs 103KB
MessageAdapter.cs 87KB
StoryReplyActivity.cs 82KB
OptionsLastMessagesBottomSheet.cs 82KB
StickersModel.cs 78KB
SettingsActivity.cs 75KB
Holders.cs 56KB
ReceivingSharingActivity.cs 55KB
NiceArtEditor.cs 48KB
VideoEditorActivity.cs 48KB
ChatTabbedMainActivity.cs 46KB
LoginActivity.cs 45KB
AgoraVideoCallActivity.cs 44KB
LastChatsAdapter.cs 43KB
StoryService.cs 42KB
StoryShowAdapter.cs 38KB
LastChatFragment.cs 38KB
IonIconsFonts.cs 35KB
IntentController.cs 35KB
PinnedMessageActivity.cs 34KB
StartedMessagesActivity.cs 34KB
TwilioVideoCallActivity.cs 33KB
AdsGoogle.cs 32KB
UserProfileActivity.cs 32KB
LocationActivity.cs 32KB
ApiRequest.cs 31KB
EditGroupChatActivity.cs 30KB
ForwardMessagesActivity.cs 29KB
FilterSearchDialogFragment.cs 29KB
PeopleNearByActivity.cs 29KB
RegisterActivity.cs 29KB
AgoraAudioCallActivity.cs 28KB
LastGroupChatsFragment.cs 27KB
GifGiphyClass.cs 27KB
AddNewChatActivity.cs 26KB
ViewStoryFragment.cs 26KB
AdsFacebook.cs 26KB
SearchActivity.cs 25KB
EditMyProfileActivity.cs 25KB
TwilioAudioCallActivity.cs 25KB
MyProfileActivity.cs 24KB
TwilioVideoHelper.cs 24KB
UserContactsActivity.cs 24KB
EditColorActivity.cs 23KB
ScaleGestureDetector.cs 23KB
MentionActivity.cs 23KB
VideoAudioComingCallActivity.cs 23KB
StickersAdapters.cs 23KB
OptionsItemMessageBottomSheet.cs 23KB
FilterNearByDialogFragment.cs 23KB
AddNewCallActivity.cs 22KB
EmojisViewTools.cs 22KB
BrowseStickersFragment.cs 21KB
MyAccountActivity.cs 21KB
ArchivedChatsFragment.cs 21KB
CreateGroupChatActivity.cs 20KB
PermissionsController.cs 20KB
GlideImageLoader.cs 19KB
VideoTimelineView.cs 19KB
ChatHeadService.cs 19KB
WalkTroutActivity.cs 18KB
TemplateView.cs 18KB
GifActivity.cs 18KB
ChatRecordSoundFragment.cs 18KB
DragToClose.cs 18KB
AppSettings.cs 17KB
TwoFactorAuthActivity.cs 17KB
SuperTextView.cs 17KB
LastStoriesFragment.cs 17KB
StorySeenListFragment.cs 16KB
RecordView.cs 16KB
AutoFitHelper.cs 16KB
WallpaperActivity.cs 16KB
MultiTouchListener.cs 16KB
BlockedUsersActivity.cs 16KB
LastCallsFragment.cs 16KB
LocalWebViewActivity.cs 16KB
CallAnswerDeclineButton.cs 15KB
SuggestionsUsersActivity.cs 15KB
AttachmentMediaChatBottomSheet.cs 15KB
ColorPickerAdapter.cs 15KB
BrushDrawingView.cs 15KB
AllStickersFragment.cs 14KB
ImageFilterView.cs 14KB
AdsAppLovin.cs 14KB
SuggestionsAdapter.cs 14KB
ManageSessionsActivity.cs 14KB
AppNotificationsManager.cs 14KB
AdsColony.cs 14KB
EmptyStateInflater.cs 13KB
MessageController.cs 12KB
OneSignalNotification.cs 12KB
共 880 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
小云同志你好
- 粉丝: 1047
- 资源: 931
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功