2016年7月15日

ToolBar存档

摘要: 上图是将本阶段要完成的结果画面做了标示,结合下面的描述希望大家能明白。 colorPrimaryDark(状态栏底色):在风格 (styles) 或是主题 (themes) 里进行设定。 App bar 底色 这个设定分为二,若你的 android app 仍是使用 actionbar ,则直接在风 阅读全文

posted @ 2016-07-15 10:40 金洪光 阅读(234) 评论(0) 推荐(0) 编辑

DrawerLayout带有侧滑功能的布局类(2)

摘要: ActionBarDrawerToggle: 在前一张中我们并没有使用drawLayout.setDrawerListener(); 对应的参数对象就是DrawerLayout.DrawerListener: 今天讲一下drawLayout.setDrawerListener(toggle);方式, 阅读全文

posted @ 2016-07-15 09:27 金洪光 阅读(837) 评论(0) 推荐(0) 编辑

导航