- 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"/>
推薦閱讀
- 復雜軟件設計之道:領域驅動設計全面解析與實戰
- 零基礎PHP學習筆記
- Three.js開發指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- Responsive Web Design with HTML5 and CSS3
- INSTANT Sencha Touch
- RTC程序設計:實時音視頻權威指南
- 深入淺出Android Jetpack
- STM32F0實戰:基于HAL庫開發
- JavaScript:Moving to ES2015
- KnockoutJS Starter
- 用戶體驗增長:數字化·智能化·綠色化
- Python算法指南:程序員經典算法分析與實現
- Corona SDK Mobile Game Development:Beginner's Guide(Second Edition)
- 軟件品質之完美管理:實戰經典
- OpenCV with Python By Example