- 博客(5)
- 收藏
- 关注
原创 Android取消一进入页面自动弹出软键盘
将以下代码添加到根布局 android:focusable="true" android:focusableInTouchMode="true"
2019-11-09 13:54:18
689
原创 用RxPermissions来申请动态权限
GitHub地址:https://github.com/FinalTeam/RxGalleryFinal. 添加依赖 allprojects { repositories { ... maven { url 'https://jitpack.io' } } } dependencies { implementation 'com.githu...
2019-09-27 14:19:28
188
原创 RxGalleryFinal使用,相册、拍照、裁剪、选择视频功能
GitHub地址:https://github.com/FinalTeam/RxGalleryFinal. 添加依赖 implementation 'cn.finalteam.rxgalleryfinal:library:1.0.9' implementation 'com.android.support:recyclerview-v7:28.0.0' compile 'com.github.bu...
2019-09-26 18:38:15
1991
1
原创 本地广播
发送广播 Intent intent = new Intent("aaa"); intent.putExtra("a","广播"); LocalBroadcastManager manager = LocalBroadcastManager.getInstance(this); manager.sendBroadcast(intent); 接收广播 LocalBroadcastManager m...
2019-05-24 10:20:12
124
原创 安卓—Popupwindow 点击消失
我们Popupwindow点击后无法消失,我们可以加入 window.setOutsideTouchable(true); 这一行代码就可以让他点击其他地方消失。 我们想点一下显示,在点一下消失 window.setFocusable(true); window.setBackgroundDrawable(new BitmapDrawable()); 加入这两行就可以了 参考:http://blo...
2018-11-06 19:39:29
476
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人