mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
142 lines
5.5 KiB
XML
142 lines
5.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/primaryBlackBackground">
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/settings_profile"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:padding="20dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="50dp"
|
|
android:layout_height="50dp"
|
|
app:cardCornerRadius="25dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/settings_profile_pic"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:ignore="ContentDescription" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<TextView
|
|
android:id="@+id/settings_profile_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp"
|
|
android:textColor="?attr/textColor"
|
|
android:textSize="18sp"
|
|
android:textStyle="normal"
|
|
tools:text="Hello world" />
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/settings_general"
|
|
|
|
style="@style/SettingsItem"
|
|
android:nextFocusDown="@id/settings_player"
|
|
android:text="@string/category_general" />
|
|
|
|
<TextView
|
|
android:id="@+id/settings_player"
|
|
style="@style/SettingsItem"
|
|
|
|
android:nextFocusUp="@id/settings_general"
|
|
android:nextFocusDown="@id/settings_providers"
|
|
android:text="@string/category_player" />
|
|
|
|
<TextView
|
|
android:id="@+id/settings_providers"
|
|
style="@style/SettingsItem"
|
|
|
|
android:nextFocusUp="@id/settings_player"
|
|
android:nextFocusDown="@id/settings_ui"
|
|
android:text="@string/category_providers" />
|
|
|
|
<TextView
|
|
android:id="@+id/settings_ui"
|
|
style="@style/SettingsItem"
|
|
|
|
android:nextFocusUp="@id/settings_providers"
|
|
android:nextFocusDown="@id/settings_updates"
|
|
android:text="@string/category_ui" />
|
|
|
|
<TextView
|
|
android:id="@+id/settings_updates"
|
|
style="@style/SettingsItem"
|
|
|
|
android:nextFocusUp="@id/settings_ui"
|
|
android:nextFocusDown="@id/settings_credits"
|
|
android:text="@string/category_updates" />
|
|
|
|
<TextView
|
|
android:id="@+id/settings_credits"
|
|
style="@style/SettingsItem"
|
|
android:nextFocusUp="@id/settings_updates"
|
|
android:text="@string/category_account" />
|
|
|
|
<TextView
|
|
android:id="@+id/settings_extensions"
|
|
style="@style/SettingsItem"
|
|
android:nextFocusUp="@id/settings_credits"
|
|
android:text="@string/extensions" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center_horizontal"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="10dp"
|
|
android:text="@string/app_version"
|
|
android:textColor="?attr/textColor" />
|
|
|
|
<TextView
|
|
android:id="@+id/textView3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="10dp"
|
|
android:text="•"
|
|
android:textColor="?attr/textColor" />
|
|
|
|
<TextView
|
|
android:id="@+id/commit_hash"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="10dp"
|
|
android:text="@string/commit_hash"
|
|
android:textColor="?attr/textColor" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |