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"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/ll"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#fcfcfc"
- android:gravity="center"
- android:orientation="vertical"
- tools:context=".home">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:clipToPadding="false"
- android:gravity="center"
- android:orientation="horizontal">
- <android.support.v7.widget.CardView
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp"
- android:clickable="true"
- android:foreground="?android:attr/selectableItemBackground">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:orientation="vertical">
- <ImageView
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:background="@drawable/background"
- android:padding="10dp"
- android:src="@drawable/star" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="Add"
- android:textStyle="bold" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_margin="10dp"
- android:background="@color/lightgray" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:padding="5dp"
- android:text="Check your bank activities"
- android:textColor="@android:color/darker_gray" />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp"
- android:clickable="true"
- android:foreground="?android:attr/selectableItemBackground">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:orientation="vertical">
- <ImageView
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:background="@drawable/background"
- android:padding="10dp"
- android:src="@drawable/star" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="Links"
- android:textStyle="bold" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_margin="10dp"
- android:background="@color/lightgray" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:padding="5dp"
- android:text="Check your bank activities"
- android:textColor="@android:color/darker_gray" />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="5dp"
- android:textStyle="bold"
- android:text="Track and Rate Yours Product"/>
- <View android:layout_width="match_parent"
- android:layout_height="2dp"
- android:padding="5dp"
- android:background="#bbb"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:baselineAligned="false"
- android:clipToPadding="false"
- android:gravity="left"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:orientation="vertical"
- android:padding="5dp"
- android:gravity="center"
- android:background="?attr/selectableItemBackground"
- android:clickable="true">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/background"
- android:padding="10dp"
- android:src="@drawable/star" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:layout_marginTop="10dp"
- android:text="Daily Track"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:orientation="vertical"
- android:padding="5dp"
- android:gravity="center"
- android:background="?attr/selectableItemBackground"
- android:clickable="true">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/background"
- android:padding="10dp"
- android:src="@drawable/star" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:layout_marginTop="10dp"
- android:text="E-Rate"/>
- </LinearLayout>
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:orientation="vertical"
- android:padding="5dp"
- android:gravity="center"
- android:background="?attr/selectableItemBackground"
- android:clickable="true">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/background"
- android:padding="10dp"
- android:src="@drawable/star" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:layout_marginTop="10dp"
- android:text="Login"/>
- </LinearLayout>
- </LinearLayout>
- <!-- Others Services -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="5dp"
- android:textStyle="bold"
- android:text="Others Services"/>
- <View android:layout_width="match_parent"
- android:layout_height="2dp"
- android:padding="5dp"
- android:background="#bbb"/>
- <android.support.v7.widget.RecyclerView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <android.support.v7.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:layout_margin="4dp"
- card_view:cardBackgroundColor="@color/background_material_light"
- card_view:cardCornerRadius="3dp"
- card_view:cardElevation="2.5dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="3dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentTop="true"
- android:layout_marginRight="6dip"
- android:contentDescription="TODO"
- android:src="@mipmap/ic_launcher" />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true"
- android:ellipsize="marquee"
- android:singleLine="true"
- android:text="Description"
- android:textColor="@color/secondary_text_default_material_light"
- android:textSize="12sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:layout_alignWithParentIfMissing="true"
- android:gravity="center_vertical"
- android:text="Example application"
- android:textColor="@color/primary_text_default_material_light"
- android:textSize="16sp" />
- </RelativeLayout>
- </android.support.v7.widget.CardView>
- </android.support.v7.widget.RecyclerView>
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement