Musicoo/app/src/main/res/layout/activity_settings.xml
2024-05-24 14:56:30 +08:00

252 lines
9.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/main_bg_color">
<View
android:id="@+id/view"
android:layout_width="match_parent"
android:layout_height="0dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/view"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="16dp"
android:orientation="horizontal">
<LinearLayout
android:id="@+id/back_btn"
android:layout_width="42dp"
android:layout_height="42dp"
android:background="@drawable/drw_round_48_bg"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/back_icon" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginEnd="42dp"
android:fontFamily="@font/medium_font"
android:gravity="center"
android:text="@string/settings"
android:textColor="@color/white"
android:textSize="20dp" />
</LinearLayout>
<LinearLayout
android:id="@+id/about_btn"
android:layout_width="match_parent"
android:layout_height="70dp"
android:layout_marginTop="8dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="20dp">
<LinearLayout
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/drw_round_stroke_bg"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/about_icon" />
</LinearLayout>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:fontFamily="@font/medium_font"
android:gravity="center_vertical"
android:text="@string/about"
android:textColor="@color/white"
android:textSize="16dp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:rotation="180"
android:src="@drawable/back_icon" />
</LinearLayout>
<LinearLayout
android:id="@+id/feedback_btn"
android:layout_width="match_parent"
android:layout_height="70dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="20dp">
<LinearLayout
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/drw_round_stroke_bg"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/feedback_icon" />
</LinearLayout>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:fontFamily="@font/medium_font"
android:gravity="center_vertical"
android:text="@string/feedback"
android:textColor="@color/white"
android:textSize="16dp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:rotation="180"
android:src="@drawable/back_icon" />
</LinearLayout>
<LinearLayout
android:id="@+id/share_btn"
android:layout_width="match_parent"
android:layout_height="70dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="20dp">
<LinearLayout
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/drw_round_stroke_bg"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/share_icon" />
</LinearLayout>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:fontFamily="@font/medium_font"
android:gravity="center_vertical"
android:text="@string/share"
android:textColor="@color/white"
android:textSize="16dp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:rotation="180"
android:src="@drawable/back_icon" />
</LinearLayout>
<LinearLayout
android:id="@+id/pp_btn"
android:layout_width="match_parent"
android:layout_height="70dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="20dp">
<LinearLayout
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/drw_round_stroke_bg"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/pp_icon" />
</LinearLayout>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:fontFamily="@font/medium_font"
android:gravity="center_vertical"
android:text="@string/privacy_policy"
android:textColor="@color/white"
android:textSize="16dp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:rotation="180"
android:src="@drawable/back_icon" />
</LinearLayout>
<LinearLayout
android:id="@+id/tos_btn"
android:layout_width="match_parent"
android:layout_height="70dp"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingStart="20dp"
android:paddingEnd="20dp">
<LinearLayout
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/drw_round_stroke_bg"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/tos_icon" />
</LinearLayout>
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="10dp"
android:layout_weight="1"
android:fontFamily="@font/medium_font"
android:gravity="center_vertical"
android:text="@string/terms_of_service"
android:textColor="@color/white"
android:textSize="16dp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:rotation="180"
android:src="@drawable/back_icon" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>