- 博客(2)
- 收藏
- 关注
原创 伪-屏蔽home键
本文通过将app设置为launcher的方式,来实现屏蔽home键的效果. 底层修改什么的那些个东西,我也不懂,所以,直接上我写的代码吧. <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ilike.key"> <application ...
2018-09-19 17:28:42
167
原创 gravity与layout_gravity
LinearLayout中的gravity是子布局中的内容的位置的设置;layout_gravity是自己的位置的设置.比如:<LinearLayout android:layout_width="match_parent" android:layout_height="50dp" android:background="@color/color_018c" ...
2018-03-30 12:35:20
246
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人