Skip to content

Instantly share code, notes, and snippets.

@alkaaf
Created March 1, 2017 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alkaaf/f1fc7456e3e609d719e4505522954b24 to your computer and use it in GitHub Desktop.
Save alkaaf/f1fc7456e3e609d719e4505522954b24 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/RLPencarianLanjut"
android:background="@color/grey"
android:visibility="gone"
android:padding="@dimen/half_size"
>
<RelativeLayout
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/ic_add_black_24dp"
android:id="@+id/icadvopt"
/>
<TextView
android:layout_toRightOf="@+id/icadvopt"
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Opsi Tambahan"
/>
</RelativeLayout>
</RelativeLayout>
<android.support.v7.widget.RecyclerView
android:layout_margin="6dp"
android:layout_below="@+id/RLPencarianLanjut"
android:id="@+id/RVInvoice"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_alignParentStart="true" />
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/loadingIcon"
android:visibility="gone"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
/>
<android.support.design.widget.FloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/tambahBaru"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginBottom="@dimen/fab_margin"
android:layout_marginRight="@dimen/fab_margin"
app:srcCompat="@drawable/ic_add_white"
android:visibility="gone"
/>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment