2021-11-07 22:10:19 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-01-29 18:57:19 +00:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2021-11-07 22:10:19 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
|
|
|
android:paddingTop="20dp"
|
|
|
|
android:paddingBottom="10dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2022-01-29 18:57:19 +00:00
|
|
|
|
2021-11-07 22:10:19 +00:00
|
|
|
<androidx.cardview.widget.CardView
|
2022-06-07 16:38:24 +00:00
|
|
|
android:id="@+id/account_main_profile_picture_holder"
|
2021-11-07 22:10:19 +00:00
|
|
|
app:cardCornerRadius="100dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_width="35dp"
|
|
|
|
android:layout_height="35dp">
|
2022-01-29 18:57:19 +00:00
|
|
|
|
2021-11-07 22:10:19 +00:00
|
|
|
<ImageView
|
2022-06-07 16:38:24 +00:00
|
|
|
android:id="@+id/account_main_profile_picture"
|
2021-11-07 22:10:19 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2022-01-29 18:57:19 +00:00
|
|
|
tools:ignore="ContentDescription" />
|
2021-11-07 22:10:19 +00:00
|
|
|
</androidx.cardview.widget.CardView>
|
2022-01-29 18:57:19 +00:00
|
|
|
|
2021-11-07 22:10:19 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="vertical"
|
2022-01-29 18:57:19 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2021-11-07 22:10:19 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/account_name"
|
|
|
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
tools:text="MAL HelloWorld"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textColor="?attr/textColor"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_rowWeight="1"
|
2022-01-29 18:57:19 +00:00
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2021-11-07 22:10:19 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/account_site"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
tools:text="MyAnimeList"
|
|
|
|
android:textSize="15sp"
|
|
|
|
android:textColor="?attr/grayTextColor"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_rowWeight="1"
|
2022-01-29 18:57:19 +00:00
|
|
|
android:layout_height="wrap_content" />
|
2021-11-07 22:10:19 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2022-01-29 18:57:19 +00:00
|
|
|
|
2021-11-08 18:13:39 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/account_switch_account"
|
|
|
|
android:text="@string/switch_account"
|
2022-01-29 18:57:19 +00:00
|
|
|
style="@style/SettingsItem" />
|
|
|
|
|
2021-11-07 22:10:19 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/account_logout"
|
|
|
|
android:text="@string/logout"
|
|
|
|
style="@style/SettingsItem">
|
2022-01-29 18:57:19 +00:00
|
|
|
|
|
|
|
<requestFocus />
|
2021-11-07 22:10:19 +00:00
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|