Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout 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:background="#E8E8E8"
- >
- <com.example.daysheft.dpc.Header
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/homeactivity_headerView" />
- <com.example.daysheft.dpc.Footer
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:id="@+id/homeactivity_footerView" />
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fillViewport="true"
- android:layout_above="@+id/homeactivity_footerView"
- android:layout_below="@+id/homeactivity_headerView"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- >
- <android.support.v7.widget.CardView
- android:id="@+id/card1x"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_marginTop="5dp"
- app:cardCornerRadius="10dp"
- android:layout_width="match_parent"
- android:layout_height="150dp">
- <ImageView
- android:src="@drawable/banner"
- android:layout_width="match_parent"
- android:layout_height="150dp"
- android:id="@+id/homeactivity_banner"/>
- </android.support.v7.widget.CardView>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:weightSum="3"
- android:background="@android:color/white"
- android:layout_marginTop="5dp"
- >
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical"
- >
- <ImageView
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:src="@drawable/satisfaction"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="5dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text=" Satisfaction\n100% Guaranteed"
- android:layout_gravity="center_horizontal"
- android:textSize="12dp"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical"
- >
- <ImageView
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:src="@drawable/shipping"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="5dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Free shipping\non all orders"
- android:layout_gravity="center_horizontal"
- android:textSize="12dp"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:orientation="vertical"
- >
- <ImageView
- android:layout_width="20dp"
- android:layout_height="20dp"
- android:src="@drawable/returns"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="5dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text=" Hassle-Free\n Return and Refund"
- android:layout_gravity="center_horizontal"
- />
- </LinearLayout>
- </LinearLayout>
- <android.support.v7.widget.CardView
- android:id="@+id/homeactivity_autodel"
- android:layout_marginLeft="10dp"
- android:layout_marginRight="10dp"
- android:layout_marginTop="10dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="8dp"
- >
- <ImageView
- android:layout_width="35dp"
- android:layout_height="35dp"
- android:src="@drawable/reorder"
- android:id="@+id/homeactivity_reorder"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Auto Delivery"
- android:textSize="18dp"
- android:textColor="#38474F"
- android:textStyle="bold"
- android:layout_toRightOf="@+id/homeactivity_reorder"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- />
- <ImageView
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:layout_centerVertical="true"
- android:src="@drawable/arrow"
- android:layout_alignParentRight="true"
- />
- </RelativeLayout>
- </android.support.v7.widget.CardView>
- <View
- android:layout_width="100dp"
- android:layout_height="3dp"
- android:background="#BEC0C1"
- android:layout_marginTop="20dp"
- android:layout_gravity="center_horizontal"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="POPULAR CATAGORIES"
- android:layout_marginTop="10dp"
- android:textColor="#747E83"
- android:layout_gravity="center_horizontal"
- />
- <View
- android:layout_width="100dp"
- android:layout_height="3dp"
- android:background="#BEC0C1"
- android:layout_marginTop="10dp"
- android:layout_gravity="center_horizontal"
- />
- <android.support.v7.widget.RecyclerView
- android:id="@+id/homeactivity_recycler_view"
- android:scrollbars="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- </LinearLayout>
- </ScrollView>
- </RelativeLayout>
Add Comment
Please, Sign In to add comment