- Android Wear Projects
- Ashok Kumar S
- 95字
- 2021-07-15 17:17:51
Defining layouts
Wearable applications can use the same layouts that we use in handheld Android device programming but with specific constraints for Wear applications. We should not do heavy processing actions similar to handheld Android devices in Wear applications and expect a good user experience.
An application designed for a round screen will not look great on square Wear devices. To resolve this, the Android Wear support library comes with the following two solutions:
- BoxInsetLayout
- Curved Layout
We can provide different resources to allow Android to detect the shape of the Android Wear at runtime.
推薦閱讀
- Java程序設(shè)計(jì)(慕課版)
- Java范例大全
- Java EE 6 企業(yè)級(jí)應(yīng)用開(kāi)發(fā)教程
- Oracle Database In-Memory(架構(gòu)與實(shí)踐)
- 趣學(xué)Python算法100例
- JavaScript從入門(mén)到精通(第3版)
- 小程序開(kāi)發(fā)原理與實(shí)戰(zhàn)
- 琢石成器:Windows環(huán)境下32位匯編語(yǔ)言程序設(shè)計(jì)
- Visual C++開(kāi)發(fā)入行真功夫
- Fast Data Processing with Spark(Second Edition)
- Struts 2.x權(quán)威指南
- 網(wǎng)絡(luò)綜合布線與組網(wǎng)實(shí)戰(zhàn)指南
- 跟小樓老師學(xué)用Axure RP 9:玩轉(zhuǎn)產(chǎn)品原型設(shè)計(jì)
- Mastering JavaScript Promises
- Learning Zimbra Server Essentials