- Android Wear Projects
- Ashok Kumar S
- 31字
- 2021-07-15 17:17:52
Navigation drawer
Lets user switch between views in the application. Developers can allow the drawer to be opened anywhere within the scrolling parent's content by setting the setShouldOnlyOpenWhenAtTop() method to false:
<android.support.wearable.view.drawer.WearableNavigationDrawer
android:id="@+id/top_drawer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/holo_red_light"
app:navigation_style="single_page"/>
推薦閱讀
- 軟件測試工程師面試秘籍
- Java編程指南:基礎知識、類庫應用及案例設計
- Android 9 Development Cookbook(Third Edition)
- AngularJS深度剖析與最佳實踐
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- Podman實戰
- Expert Android Programming
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- Mastering ServiceNow(Second Edition)
- 程序員修煉之道:通向務實的最高境界(第2版)
- Instant Nancy Web Development
- 速學Python:程序設計從入門到進階
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- Visual Basic程序設計基礎