<?xml version="1.0" encoding="utf-8"?> <layout> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> <TextView android:id="@+id/grab_order" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="15dp" android:layout_marginRight="21dp" android:text="@string/can_grab_order" android:textColor="@color/cl_home_button" android:textSize="15sp" /> <TextView android:id="@+id/bargain_order" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/bargain_order" android:textColor="@color/cl_text" android:textSize="15sp" /> </LinearLayout> <android.support.v4.view.ViewPager android:id="@+id/vp_grab" android:layout_marginTop="10dp" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/cl_white" /> </LinearLayout> </layout>