Skip to content

Instantly share code, notes, and snippets.

@wirasetiawan29
Created January 19, 2016 14:53
Show Gist options
  • Save wirasetiawan29/ade6d148d78f55665441 to your computer and use it in GitHub Desktop.
Save wirasetiawan29/ade6d148d78f55665441 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"
android:animateLayoutChanges="true">
<RelativeLayout
android:id="@+id/rl_title_wrapper"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minHeight="?listPreferredItemHeight">
<android.support.v7.widget.AppCompatTextView
android:id="@+id/judul"
android:padding="16dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/arrow"
android:src="@drawable/ic_arrow_down"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</RelativeLayout>
<FrameLayout
android:id="@+id/wrapper"
android:layout_below="@+id/rl_title_wrapper"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.AppCompatTextView
android:id="@+id/deskripsi"
android:padding="16dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
</FrameLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment