Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical" android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:padding="16dp"
- android:background="#CC9360">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="150dp"
- android:orientation="horizontal"
- android:weightSum="2">
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:padding="10dp"
- android:orientation="vertical"
- android:background="@drawable/sample_bg"
- android:layout_marginRight="20dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="30dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="30dp"
- android:text="CHECK IN"
- android:gravity="center_vertical"/>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@android:drawable/ic_menu_my_calendar"
- android:layout_alignParentRight="true"/>
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@android:color/darker_gray"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:padding="10dp"
- android:orientation="vertical"
- android:background="@drawable/sample_bg">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="30dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="30dp"
- android:text="CHECK OUT"
- android:gravity="center_vertical"/>
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@android:drawable/ic_menu_my_calendar"
- android:layout_centerVertical="true"
- android:layout_alignParentRight="true"/>
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@android:color/darker_gray"/>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:background="@drawable/sample_bg"
- android:layout_marginTop="20dp"
- android:padding="10dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:text="ROOM 1"/>
- <EditText
- android:layout_width="match_parent"
- android:layout_height="50dp" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="50dp" />
- <EditText
- android:layout_width="match_parent"
- android:layout_height="50dp" />
- </LinearLayout>
- <Button
- android:layout_width="match_parent"
- android:layout_height="50dp"
- android:text="Search"
- android:layout_marginTop="10dp"/>
- </LinearLayout>
- //White box background - Copy and paste masuk dlm drawable
- <?xml version="1.0" encoding="utf-8"?>
- <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
- <corners
- android:radius="8dp"
- />
- <solid
- android:color="#FFFFFF"
- />
- </shape>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement