【UI设计】3、Material Design兼容

来源:互联网 发布:如何学习unity3d 编辑:程序博客网 时间:2024/06/07 06:11

github传送门:https://github.com/lxcgithub/UIdesinge
包名:a_theme

尤其是在appcompat-V7里面有很多为兼容而生的控件
这样就可以做到高低版本和不同的ROM之间体验一致!还可以配合appcompat的主题使用达到体验一致性
1.android.support.v7.app.AlertDialog

2.进度条样式设置
style=”@style/Widget.AppCompat.ProgressBar.Horizontal”

3.SwipeRefreshLayout下拉刷新

4.PopupWindow
ListPopupWindow
PopupMenu

5.android.support.v7.widget.LinearLayoutCompat
给包裹在里面的所有子控件添加间隔线