Skip to content

Instantly share code, notes, and snippets.

@sebi1995
Created May 15, 2017 09:35
Show Gist options
  • Save sebi1995/21b87bfa6eb8f3f5564db42b2b6c43dc to your computer and use it in GitHub Desktop.
Save sebi1995/21b87bfa6eb8f3f5564db42b2b6c43dc 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"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/movies_fragment_ll"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivityFragment">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="back"
android:layout_alignParentTop="true"
android:id="@+id/button"/>
<ListView
android:id="@+id/lvMovies"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#efefef"
android:layout_below="@id/button"
android:layout_above="@+id/movies_fragment_ll_bottoms_buttons" />
<LinearLayout
android:id="@+id/movies_fragment_ll_bottoms_buttons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_alignParentBottom="true">
<Space
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"/>
<Button
android:id="@+id/movies_fragment_b_back_results"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="previous"
android:layout_weight="3"/>
<TextView
android:text="Pages:\n xxxx/xxxx"
android:gravity="center"
android:textSize="14sp"
android:textColor="#000"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"/>
<Button
android:text="Next"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"/>
<Space
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"/>
</LinearLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment