会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
琉灬璃
2017年5月16日
Activity常用的方法
摘要: 1. View findViewById(int id) //根据组件ID取得组件对象setContentView(int LayoutResID) //设置布局文件,设置显示组件 2. TextView android:maxLength="6" //允许最大字符数 android:textCol
阅读全文
posted @ 2017-05-16 19:09 琉灬璃
阅读(102)
评论(0)
推荐(0)
开发Activity步骤
摘要: 第一步:写一个累继承Activity第二步:重写onCreate方法第三步:在主配置文件中注册activity <activity android:name=".类名" android:label="@string/app_name"> <intent-filter> <!--app的入口--> <
阅读全文
posted @ 2017-05-16 08:39 琉灬璃
阅读(85)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告