nafiefn_10

Untitled

May 1st, 2021
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.87 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:padding="11dp">
  6.  
  7.     <TextView
  8.        android:layout_width="wrap_content"
  9.        android:layout_height="wrap_content"
  10.        android:text="LeftTop" />
  11.     <TextView
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:text="RightTop"
  15.        android:layout_gravity="top|right" />
  16.     <TextView
  17.        android:layout_width="wrap_content"
  18.        android:layout_height="wrap_content"
  19.        android:text="CenterTop"
  20.        android:layout_gravity="top|center_horizontal" />
  21.     <TextView
  22.        android:layout_width="wrap_content"
  23.        android:layout_height="wrap_content"
  24.        android:text="Right"
  25.        android:layout_gravity="right|center_vertical" />
  26.     <TextView
  27.        android:layout_width="wrap_content"
  28.        android:layout_height="wrap_content"
  29.        android:text="Left"
  30.        android:layout_gravity="left|center_vertical" />
  31.     <TextView
  32.        android:layout_width="wrap_content"
  33.        android:layout_height="wrap_content"
  34.        android:text="Center"
  35.        android:layout_gravity="center" />
  36.     <TextView
  37.        android:layout_width="wrap_content"
  38.        android:layout_height="wrap_content"
  39.        android:text="LeftBottom"
  40.        android:layout_gravity="left|bottom" />
  41.     <TextView
  42.        android:layout_width="wrap_content"
  43.        android:layout_height="wrap_content"
  44.        android:text="RightBottom"
  45.        android:layout_gravity="right|bottom" />
  46.     <TextView
  47.        android:layout_width="wrap_content"
  48.        android:layout_height="wrap_content"
  49.        android:text="CenterBottom"
  50.        android:layout_gravity="center|bottom" />
  51. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment