Animation port of Android L drawer, back, dismiss and check iconsMaterial MenuMorphing Android menu, back, dismiss and check buttonsHave full control ...
分类:
其他好文 时间:
2015-04-29 19:09:39
阅读次数:
162
Navigation Drawer Activity with material design style and simplified methods地址:https://github.com/neokree/MaterialNavigationDrawer
分类:
其他好文 时间:
2015-04-29 19:04:53
阅读次数:
164
avtivity_cehua.xml
<android.support.v4.widget.DrawerLayoutxmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawer"
android:layout_width="match_parent"
android:layout_height="matc..
分类:
移动开发 时间:
2015-04-24 19:25:03
阅读次数:
159
在style或自定义theme(v21)中添加如下: #20000000并在item_roll.xml中加入:android:clickable="true"android:background="?attr/selectableItemBackground"问题产生原因:“It tu...
分类:
其他好文 时间:
2015-03-28 12:53:59
阅读次数:
110
(1)项目布局文件
activity_main.xml<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
android:layout_width="match_parent...
分类:
移动开发 时间:
2015-03-13 16:43:45
阅读次数:
251
实际上,官方已经提供了实现方法,但是,有很多捞偏门的教程,也有很优秀的第三方。写出来,供还没找到的同学参考。
前提是:你对android.support.v7.widget.Toolbar已经有过了解了。
mMainBar = (Toolbar)this.findViewById(R.id.main_bar);
this.setSupportActionBar(mMainBar);
m...
分类:
其他好文 时间:
2015-03-12 22:32:13
阅读次数:
229
Drawer——Side menu 组件名称:Drawer 说明:af3中的side menu和af2中有很大变化,af3中的side menu实际上是通过插件$.afui.drawer来实现的 方法:show (id, position, string) 显示side menu,参...
分类:
移动开发 时间:
2015-03-10 06:43:25
阅读次数:
1696
在2013 google IO当天,Android团的更新了Support库,新版本(V13)的Support库中新加入了几个比较重要的功能。 添加 DrawerLayout 控件,支持创建 Navigation Drawer模式。可以设置从左边划出菜单或者右边,也可以左右菜单同时存在。 添加 Sl...
分类:
移动开发 时间:
2015-03-05 10:44:32
阅读次数:
371
Google I/O 2013 Android 更新了Support库,新版本的Support库中新加入了几个比较重要的功能。添加 DrawerLayout 控件,支持创建 Navigation Drawer模式。可以设置从左边划出菜单或者右边,也可以左右菜单同时存在。添加 SlidingPaneL...
分类:
移动开发 时间:
2015-03-04 20:50:09
阅读次数:
321
Navigation DrawerCreating a Navigation DrawerThe navigation drawer is a panel that transitions in from the left edge of the screen and displays the ap...
分类:
移动开发 时间:
2015-03-03 14:55:04
阅读次数:
191