In LinearLayout
, use: android:layout_gravity="center"
.
In RelativeLayout
, use: android:layout_centerInParent="true"
.
No. | Subject | Author | Date | Views |
---|---|---|---|---|
8 | US1800s | admin | 2017.07.03 | 215 |
» | Image Center | admin | 2017.07.21 | 224 |
6 | AdMob - Import the Mobile Ads SDK | admin | 2017.07.21 | 196 |
5 | Import the Mobile Ads SDK | admin | 2017.07.21 | 1084 |
4 | Add AdView to the layout | admin | 2017.07.21 | 1609 |
3 | Load an ad | admin | 2017.07.21 | 1134 |
2 | Android Application Development | admin | 2017.07.28 | 909 |
1 | Website icon | admin | 2017.09.16 | 958 |