Thorium-android-app/app/src/main/res/layout/activity_me.xml

188 lines
8.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2022-01-08 10:56:48 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activity.MeActivity"
android:orientation="vertical">
<com.google.android.material.appbar.AppBarLayout
2022-01-08 10:56:48 +01:00
android:id="@+id/appbar_me"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-01-08 10:56:48 +01:00
android:orientation="vertical">
2022-01-08 10:56:48 +01:00
<androidx.appcompat.widget.Toolbar
android:id="@+id/tool_bar_me"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:elevation="4dp"/>
2022-01-08 10:56:48 +01:00
</com.google.android.material.appbar.AppBarLayout>
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<ScrollView
2020-06-21 17:01:15 +02:00
android:layout_width="match_parent"
2022-01-08 10:56:48 +01:00
android:layout_height="match_parent">
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<LinearLayout
2020-06-21 17:01:15 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-01-08 10:56:48 +01:00
android:orientation="vertical">
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<LinearLayout
android:visibility="gone"
android:layout_width="match_parent"
2020-06-21 17:01:15 +02:00
android:layout_height="wrap_content"
2022-01-08 10:56:48 +01:00
android:layout_marginTop="12dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:layout_marginBottom="12dp"
android:id="@+id/a_me_account_line"
android:orientation="horizontal">
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<LinearLayout
2020-06-21 17:01:15 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-01-08 10:56:48 +01:00
android:orientation="horizontal">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/a_me_avatar"
android:layout_width="72dp"
android:layout_height="72dp"
android:layout_marginTop="0dp"
android:paddingStart="12dp"
android:paddingTop="12dp"
android:paddingEnd="12dp"
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/a_me_username"
android:drawablePadding="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text=""
android:textAppearance="@style/Base.TextAppearance.AppCompat.Title"/>
<TextView
android:id="@+id/a_me_email"
android:drawablePadding="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text=""
android:textAppearance="@style/Base.TextAppearance.AppCompat.Title"/>
<TextView
android:drawablePadding="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/me_logout_button"
android:id="@+id/a_me_logout"
android:textAppearance="@style/Base.TextAppearance.AppCompat.Title"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:background="@android:color/darker_gray"/>
<LinearLayout
android:id="@+id/a_me_playlist"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:layout_marginBottom="12dp"
android:orientation="horizontal">
<TextView
android:drawableStart="@drawable/ic_baseline_settings_24"
2020-06-21 17:01:15 +02:00
android:drawablePadding="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/playlist"
2022-01-08 10:56:48 +01:00
android:textAppearance="@style/Base.TextAppearance.AppCompat.Title"/>
</LinearLayout>
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<LinearLayout
android:id="@+id/a_me_settings"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:layout_marginBottom="12dp"
android:orientation="horizontal">
<TextView
android:drawableStart="@drawable/ic_baseline_settings_24"
2020-06-21 17:01:15 +02:00
android:drawablePadding="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2022-01-08 10:56:48 +01:00
android:text="@string/title_activity_settings"
android:textAppearance="@style/Base.TextAppearance.AppCompat.Title"/>
2020-06-21 17:01:15 +02:00
</LinearLayout>
2022-01-08 10:56:48 +01:00
<LinearLayout
android:id="@+id/a_me_helpnfeedback"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginStart="12dp"
android:layout_marginEnd="12dp"
android:layout_marginBottom="12dp"
android:orientation="horizontal">
<TextView
android:drawableStart="@drawable/ic_baseline_help_24"
android:drawablePadding="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/me_help_and_feedback_button"
android:textAppearance="@style/Base.TextAppearance.AppCompat.Title"/>
</LinearLayout>
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
</LinearLayout>
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
</ScrollView>
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<!-- <LinearLayout-->
<!-- android:layout_marginBottom="0dp"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="vertical">-->
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<!-- <androidx.appcompat.widget.AppCompatTextView-->
<!-- android:id="@+id/account_username"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="" />-->
2020-06-21 17:01:15 +02:00
2022-01-08 10:56:48 +01:00
<!-- <androidx.appcompat.widget.AppCompatTextView-->
<!-- android:id="@+id/account_email"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="" />-->
<!-- </LinearLayout>-->
2020-06-21 17:01:15 +02:00
</LinearLayout>