Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:fillViewport="true">
- <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:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="com.example.redeye.sample.AccountsTab"
- android:orientation="vertical"
- android:padding="10dp"
- android:background="@color/backgroundcolor"
- >
- <LinearLayout
- android:clipToPadding="false"
- android:gravity="center"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.v7.widget.CardView
- android:id="@+id/moreaccountsettingscard"
- android:foreground="?android:attr/selectableItemBackground"
- android:clickable="true"
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center"
- >
- <ImageView
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:background="@drawable/circlet_colorpurple"
- android:src="@drawable/studentaccountsettings"
- android:padding="15dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:layout_marginTop="10dp"
- android:text="Account Settings"
- />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/colors.grey"
- android:layout_margin="10dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/changeaccountsettings"
- android:padding="5dp"
- />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:foreground="?android:attr/selectableItemBackground"
- android:clickable="true"
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center"
- >
- <ImageView
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:background="@drawable/circlet_colorpink"
- android:src="@drawable/studentsaccounttask"
- android:padding="18dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:layout_marginTop="10dp"
- android:text="Task"
- />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/colors.grey"
- android:layout_margin="10dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:padding="5dp"
- android:text="@string/viewtask" />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- <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:foreground="?android:attr/selectableItemBackground"
- android:clickable="true"
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp">
- <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/circlet_colorgreen"
- android:padding="15dp"
- android:src="@drawable/studentaccountpreferences" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="Preferences"
- android:textStyle="bold" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_margin="10dp"
- android:background="@color/colors.grey" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:padding="5dp"
- android:text="@string/preferences" />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:foreground="?android:attr/selectableItemBackground"
- android:clickable="true"
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp">
- <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/circlet_colormagnificent"
- android:padding="15dp"
- android:src="@drawable/studentaccountactivities" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="My Activities"
- android:textStyle="bold" />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_margin="10dp"
- android:background="@color/colors.grey" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:padding="5dp"
- android:text="@string/manageactivities" />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:clipToPadding="false"
- android:gravity="center"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.v7.widget.CardView
- android:foreground="?android:attr/selectableItemBackground"
- android:clickable="true"
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center"
- >
- <ImageView
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:background="@drawable/circlet_coloryellow"
- android:src="@drawable/studentsaccounttrophies"
- android:padding="15dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:layout_marginTop="10dp"
- android:text="Trophies"
- />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/colors.grey"
- android:layout_margin="10dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/viewmytrophies"
- android:padding="5dp"
- />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:foreground="?android:attr/selectableItemBackground"
- android:clickable="true"
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center"
- >
- <ImageView
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:background="@drawable/circlet_colorobelisk"
- android:padding="20dp"
- android:src="@drawable/studentaccounthelp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:layout_marginTop="10dp"
- android:text="Help"
- />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/colors.grey"
- android:layout_margin="10dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/helpsection"
- android:padding="5dp"
- />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- <LinearLayout
- android:clipToPadding="false"
- android:gravity="center"
- android:orientation="horizontal"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.v7.widget.CardView
- android:foreground="?android:attr/selectableItemBackground"
- android:clickable="true"
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center"
- >
- <ImageView
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:background="@drawable/circlet_colorburg"
- android:src="@drawable/studentaccountproblem"
- android:padding="15dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:layout_marginTop="10dp"
- android:text="Problems"
- />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/colors.grey"
- android:layout_margin="10dp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/reportbug"
- android:padding="5dp"
- />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- <android.support.v7.widget.CardView
- android:foreground="?android:attr/selectableItemBackground"
- android:clickable="true"
- android:layout_width="160dp"
- android:layout_height="190dp"
- android:layout_margin="10dp"
- >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:gravity="center"
- >
- <ImageView
- android:layout_width="64dp"
- android:layout_height="64dp"
- android:background="@drawable/circlet_colormalef"
- android:padding="15dp"
- android:src="@drawable/studentaccountlogout" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:layout_marginTop="20dp"
- android:text="@string/logout"
- />
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/colors.grey"
- android:layout_margin="10dp"
- android:layout_marginTop="20dp"
- />
- </LinearLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement