ViewPager滑动特效 特效2 ViewPagerIndictaor
ScrollerView嵌套ListView焦点问题
scrollView支持listView上拉加载
Fragment commit和commitAllowingStateLoss
如何对singleInstance的Activity多次传入Intent
ViewPager + HorizontalScrollView 实现可滚动的标签栏
Radiobutton去除圆点 layout 文件中 RadioButton 的属性 android:button="@null" radiobutton.setButtonDrawable(new ColorDrawable(Color.TRANSPARENT));
判断当前线程是否为主线程
方法一:使用Looper类判断
Looper.myLooper() == Looper.getMainLooper()
方法二:通过查看Thread类的当前线程
Thread.currentThread() == Looper.getMainLooper().getThread()
Android Studio .9图片报错
build.gradle android目录里添加
aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false