会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
诺虫的箱子
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
上一页
1
···
4
5
6
7
8
9
10
下一页
2019年9月29日
ProgressBar和SeekBar
摘要: ProgressBar分为水平和垂直的
阅读全文
posted @ 2019-09-29 19:51 诺虫的箱子
阅读(392)
评论(0)
推荐(0)
2019年9月23日
启动短信界面
摘要: Intent intent = new Intent(Intent.ACTION_SENDTO); String number = et_main_number.getText().toString().trim(); String sms = et_main_sms.getText().toStrin...
阅读全文
posted @ 2019-09-23 21:49 诺虫的箱子
阅读(108)
评论(0)
推荐(0)
2019年9月15日
理论概述_Intent和IntentFilter的理解
摘要: 启动其他应用的组件用隐式意图,指定的是一个action,intent(String action),那他们是怎么匹配到的呢,这个时候就要涉及到意图过滤器,在意图过滤器(Intnet-filter)里有一行<action android:name="android.intent.action.MAIN
阅读全文
posted @ 2019-09-15 19:39 诺虫的箱子
阅读(529)
评论(0)
推荐(0)
2019年9月8日
RecyclerView(一)
摘要: public class LinearRecyclerViewActivity extends AppCompatActivity { RecyclerView mRvMain;@Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);set...
阅读全文
posted @ 2019-09-08 21:56 诺虫的箱子
阅读(267)
评论(0)
推荐(0)
2019年9月4日
列表视图ListView
摘要: 1、创建ListView 控件 2、设置adapter数据适配器 3、创建Adapter 4、item 的布局
阅读全文
posted @ 2019-09-04 21:47 诺虫的箱子
阅读(172)
评论(0)
推荐(0)
2019年9月3日
ImageView & 使用第三方库加载网络图
摘要: android:scaleType="fitCenter"
阅读全文
posted @ 2019-09-03 23:25 诺虫的箱子
阅读(185)
评论(0)
推荐(0)
复选框CheckBox
摘要: 一、自定义选择框的样式 1、准备好图片 2、新建一个 drawable资源文件 3添加代码 4、设置布局文件 二、添加监听事件
阅读全文
posted @ 2019-09-03 22:16 诺虫的箱子
阅读(177)
评论(0)
推荐(0)
2019年9月1日
RadioButton
摘要: 恢复内容开始 使用checked项必须设置id 把单选前面的按钮去掉,换成xml文件 选中事件
阅读全文
posted @ 2019-09-01 18:58 诺虫的箱子
阅读(259)
评论(0)
推荐(0)
2019年8月31日
Button
摘要: 一、文字大小、颜色 二、自定义背景形状(圆角) 1、新建一个XML文件 background设置成创建的XML文件 2、描边 同样设置background为XML文件 三、自定义按压效果 background换成XML 四、点击事件
阅读全文
posted @ 2019-08-31 19:26 诺虫的箱子
阅读(284)
评论(0)
推荐(0)
TextView
摘要: 一、文字大小和颜色 二、显示不下用... 三、文字+icon 图片不能以数字开头 图片放在drawable下 四、中划线、下划线 2、使用HTML 下划线 五、跑马灯
阅读全文
posted @ 2019-08-31 18:10 诺虫的箱子
阅读(246)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
下一页