2018-11-24 11:51:41 -06:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout 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"
|
2020-05-01 10:38:19 -05:00
|
|
|
android:layout_width="300dp"
|
2018-11-24 11:51:41 -06:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2020-06-12 14:35:51 -05:00
|
|
|
<LinearLayout
|
2018-11-24 11:51:41 -06:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-12 14:35:51 -05:00
|
|
|
android:orientation="vertical">
|
2018-11-24 11:51:41 -06:00
|
|
|
|
2020-06-12 14:35:51 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/accountDialogTitle"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="24dp"
|
|
|
|
android:paddingLeft="24dp"
|
|
|
|
android:paddingEnd="24dp"
|
|
|
|
android:paddingRight="24dp"
|
|
|
|
android:text="@string/account_title"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:firstBaselineToTopHeight="40dp" />
|
2018-11-24 11:51:41 -06:00
|
|
|
|
2020-06-12 14:35:51 -05:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/accountDialogRecycler"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:overScrollMode="never"
|
|
|
|
tools:itemCount="3"
|
|
|
|
tools:listitem="@layout/item_account" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/accountDialogAdd"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:text="@string/account_add_new"
|
|
|
|
android:textColor="?android:textColorPrimary" />
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/accountDialogRemove"
|
|
|
|
style="@style/Widget.MaterialComponents.Button.TextButton"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="8dp"
|
|
|
|
android:text="@string/account_logout" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2018-11-24 11:51:41 -06:00
|
|
|
</RelativeLayout>
|