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 | 217 |
» | Image Center | admin | 2017.07.21 | 226 |
6 | AdMob - Import the Mobile Ads SDK | admin | 2017.07.21 | 197 |
5 | Import the Mobile Ads SDK | admin | 2017.07.21 | 1094 |
4 | Add AdView to the layout | admin | 2017.07.21 | 1617 |
3 | Load an ad | admin | 2017.07.21 | 1143 |
2 | Android Application Development | admin | 2017.07.28 | 917 |
1 | Website icon | admin | 2017.09.16 | 966 |