![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
android 闲杂
- 阿 呆
爱拼才会赢.
展开
-
设置自定义Dialog背景不变暗
设置Dialog弹窗的背景不变暗,有两种方式,一种是通过在style中设置,一种是通过代码设置。一、在style中设置<style name="dialog_style" parent="@android:style/Theme.Dialog"> <item name="android:windowFrame">@null</item> <item name="android:windowNoTitle">true<原创 2021-10-11 11:59:33 · 1438 阅读 · 0 评论 -
BUG记录 AndroidStudio无法运行 main 方法
有一日运行瞎写的代码,想偷个懒新建个类运行,刚写好运行发现报错了,经过排查记录找到问题,这里记录一下现场情况。原创 2021-05-18 15:22:26 · 167 阅读 · 0 评论 -
ADB命令 -经常使用部分
获取当前adb连接情况方式一adb devices localhost:Downloads xxxxxx$ adb devicesList of devices attachedb43904b3 device方式二adb devices -llocalhost:Downloads xxxxxx$ adb devices -lList of devices attachedb43904b3 device usb:337641472X product:d.原创 2021-04-13 12:08:54 · 340 阅读 · 0 评论 -
关于 Caused by: org.a.a.e: Subscriber class com.xxx.xxx.activity.MainActivity and its super class
BUG 记录java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx.xxxx/com.xxx.xxxx.activity.MainActivity}: org.a.a.e: Subscriber class com.xxx.xxxx.activity.MainActivity and its super...原创 2019-11-15 17:22:33 · 2606 阅读 · 0 评论 -
获取当前时间所在的周期中的所有时间
// 获取当前时间 Date date = new Date(System.currentTimeMillis()); String format = simpleDateFormat.format(date); String yeas = format.substring(0, 4); ...原创 2019-07-05 16:52:37 · 363 阅读 · 0 评论