Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="11dp">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="LeftTop" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="RightTop"
- android:layout_gravity="top|right" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="CenterTop"
- android:layout_gravity="top|center_horizontal" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Right"
- android:layout_gravity="right|center_vertical" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Left"
- android:layout_gravity="left|center_vertical" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Center"
- android:layout_gravity="center" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="LeftBottom"
- android:layout_gravity="left|bottom" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="RightBottom"
- android:layout_gravity="right|bottom" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="CenterBottom"
- android:layout_gravity="center|bottom" />
- </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment