Advertisement
rachmadi

activity_post.xml

Dec 11th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.37 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:layout_marginVertical="16dp"
  8.    android:layout_marginHorizontal="16dp"
  9.    tools:context=".PostActivity">
  10.  
  11.     <EditText
  12.        android:layout_width="match_parent"
  13.        android:layout_height="150dp"
  14.        android:hint="Tulis posting Anda..."
  15.        android:id="@+id/postContent"
  16.        android:gravity="start"/>
  17.     <ProgressBar
  18.        android:layout_width="30dp"
  19.        android:layout_height="30dp"
  20.        android:id="@+id/progressBar"
  21.        android:layout_toLeftOf="@+id/postButton"
  22.        android:layout_below="@+id/postContent"
  23.        android:layout_marginTop="6dp"
  24.        android:layout_marginRight="12dp"
  25.        android:visibility="invisible"/>
  26.     <Button
  27.        android:layout_width="wrap_content"
  28.        android:layout_height="wrap_content"
  29.        android:id="@+id/postButton"
  30.        android:text="Simpan"
  31.        android:layout_below="@+id/postContent"
  32.        android:layout_alignParentRight="true"
  33.        android:background="@color/colorPrimary"
  34.        android:textColor="@android:color/white"/>
  35.  
  36. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement