zhdh2008 / JohnsonUtils4Droid

Useful l tools library for Android
7 stars 0 forks source link

UI实现效果积累 #9

Open zhdh2008 opened 9 years ago

zhdh2008 commented 9 years ago

1.仿美团实现效果:http://www.cnblogs.com/leestar54/p/4232647.html 2.activity变暗的效果 https://github.com/android-cn/android-discuss/issues/147#issuecomment-97038051 3.锁屏通知 https://github.com/AChep/AcDisplay 4.Customized View define attributes for customized View. http://stackoverflow.com/questions/3441396/defining-custom-attrs http://blog.csdn.net/sasoritattoo/article/details/8614410 http://www.cnblogs.com/hibraincol/archive/2011/10/27/2227149.html 5.仿美团下拉菜单 http://download.csdn.net/detail/u010215134/7296013 6.Android design support library http://www.open-open.com/lib/view/open1433385856119.html https://github.com/yanbober/Android-Blog-Source/tree/master/Support-Library-DemAo 7.Android Image Picker. http://www.pudn.com/downloads648/sourcecode/comm/android/detail2635334.html 8.Camera usage http://vaero.blog.51cto.com/4350852/779942 9.GridView添加分割线 http://blog.csdn.net/jdsjlzx/article/details/44182693 10.shape的使用 http://blog.csdn.net/piglovesula/article/details/24318739 http://www.cnblogs.com/cyanfei/archive/2012/07/27/2612023.html 11.PopupWindow相关 http://blog.csdn.net/aikongmeng/article/details/24505159

zhdh2008 commented 8 years ago

让多个Fragment切换时不重新实例化 http://www.yrom.net/blog/2013/03/10/fragment-switch-not-restart/

ViewPager嵌套Fragment来回滑动重新加载数据 http://blog.csdn.net/q908555281/article/details/48435647

ViewPager+Fragment取消预加载(延迟加载) http://www.2cto.com/kf/201501/368954.html

zhdh2008 commented 8 years ago

ListView点击事件冲突处理

zhdh2008 commented 8 years ago

OptionsMenu无法显示问题

zhdh2008 commented 8 years ago

ActionBar长按出现Toast提示eoeandroid上的同样问题

zhdh2008 commented 8 years ago

关于RecyclerView你必须了解的

zhdh2008 commented 8 years ago

下拉刷新 This library has some bugs , do not use it now

zhdh2008 commented 8 years ago

GridView仅更新当前item的方法

private void updateItem(int position, ImageItem imageItem) { if (currentGridView == null) { return; } int visiblePos = currentGridView.getFirstVisiblePosition(); // The clicked view View view = currentGridView.getChildAt(position - visiblePos); ImageView selectTag = ViewHolder.get(view, R.id.select_tag); selectTag.setImageResource(imageItem.isSelected() ? R.drawable.pictures_selected : R.drawable.picture_unselected); }

zhdh2008 commented 8 years ago

Android support libraries 23.2.0 make app crashed CheckBox can't be used

zhdh2008 commented 8 years ago

ListView嵌套GridView

zhdh2008 commented 8 years ago

仿IOS滑动边缘返回

zhdh2008 commented 8 years ago

timepicker