- Mastering Android Development with Kotlin
- Milo? Vasi?
- 65字
- 2021-07-02 15:20:58
Checking out the gravity attribute
View Gravity:
- gravity (direction of the content inside the view): This accepts the following--top, left, right, start, end, center, center_horizontal, center_vertical, and many other
- layout_gravity (direction of the content inside the view parent): This accepts the following--top, left, right, left, start, end, center, center_horizontal, center_vertical, and many others
It's possible to combine values for gravity as follows:
android:gravity="top|center_horizontal"
推薦閱讀
- iOS面試一戰(zhàn)到底
- JavaScript高效圖形編程
- Java異步編程實(shí)戰(zhàn)
- Visual Basic 6.0程序設(shè)計(jì)計(jì)算機(jī)組裝與維修
- x86匯編語(yǔ)言:從實(shí)模式到保護(hù)模式(第2版)
- R語(yǔ)言編程指南
- Visual Basic程序設(shè)計(jì)教程
- 面向?qū)ο蟪绦蛟O(shè)計(jì)(Java版)
- C程序設(shè)計(jì)案例教程
- Python編程:從入門(mén)到實(shí)踐
- Gradle for Android
- Go語(yǔ)言精進(jìn)之路:從新手到高手的編程思想、方法和技巧(1)
- IBM Cognos TM1 Developer's Certification guide
- Laravel Design Patterns and Best Practices
- Moodle 3.x Developer's Guide