android开发
懒人编程学院
这个作者很懒,什么都没留下…
展开
-
[android开发]1秒学会调整按钮高度
android:layout_height="100dp"原创 2021-10-27 10:14:32 · 1090 阅读 · 0 评论 -
[android]根据文件名动态设置ImageView图片
final ImageView img =findViewById(R.id.imageView1); int id = getResId("图片文件名", R.drawable.class);img.setImageResource(id);int getResId(String variableName, Class<?> c){ try { Field idField = c.getDeclaredField(...原创 2021-10-26 21:44:59 · 1590 阅读 · 0 评论 -
android开发,3秒学会修改底部导航按钮图标
原创 2021-10-25 23:08:16 · 766 阅读 · 0 评论