|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:descendantFocusability="blocksDescendants">
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
style="@style/account_list_card"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
card_view:contentPadding="16dp"
|
|
|
|
card_view:cardBackgroundColor="@color/orange400"
|
|
|
|
card_view:cardElevation="2dp">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:background="@drawable/ic_account_circle_white"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/account_name"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Title"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
tools:text="Account Name"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>
|