android:versionCode和android:versionName 用途
Android的版本可以在androidmainfest.xml中定义,主要有android:versionCode和android:versionNameandroid:versionCode:主要是用于版本升级所
2021-12-07 14:03
147 
Android版本号versionCode,versionName
AndroidManifest.xml是每个android程序中必须的文件。它位于整个项目的根目录,描述了package中暴露的组件(activities, services等),他们各自的实现类,各种能被处理的数据
2021-12-07 14:03
120 
Unable to start activity ComponentInfo{com.example
本来就是把fragment写死在activity的xml模板里面,结果报了这个错误, Unable to start activity ComponentInfo{com.example.administrator.
2021-12-07 14:02
97 
关于 Activity 中 must implement OnFragmentInteraction
在使用Android Studio 使用默认创建Fragment时,在Activity中 must implement OnFragmentInteractionListener 错误如下:Caused by: ja
2021-12-07 14:02
102 
在 fragment 里面调用 findViewById
publicclassCompanyListFragmentextendsFragment{   privateActivityactivity;  privateListViewcompanyListView;
2021-12-07 14:02
97 
关于Android Studio gradle build running很久的问题
在defaultConfig里加上multiDexEnabled true然后就可以了
2021-12-07 14:02
122 
Android控件系列之CheckBox
学习目的:1、掌握在Android中如何建立CheckBox2、掌握CheckBox的常用属性3、掌握CheckBox选中状态变换的事件(监听器)CheckBox简介:CheckBox和Button一样,也是一种古老
2021-12-07 14:02
112 
Android控件之ToggleButton的使用方法
ToggleButton的状态只能是选中和未选中,并且需要为不同的状态设置不同的显示文本。以下案例为ToggleButton的用法目录结构main.xml布局文件代码如下: ToggleButtonActivi
2021-12-07 14:02
118 
T:0.007641s,M:352.34 KB
返回顶部 留言