- 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"/>
推薦閱讀
- Python for Secret Agents:Volume II
- JavaScript Unlocked
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Getting Started with NativeScript
- HTML5 APP開發從入門到精通(微課精編版)
- Scratch3.0趣味編程動手玩:比賽訓練營
- R用戶Python學習指南:數據科學方法
- INSTANT Silverlight 5 Animation
- 小程序從0到1:微信全棧工程師一本通
- 邊玩邊學Scratch3.0少兒趣味編程
- WordPress Search Engine Optimization(Second Edition)
- Jenkins 2.x實踐指南
- 人件集:人性化的軟件開發
- 區塊鏈原理、架構與應用(第2版)
- JavaScript高級程序設計(第3版)