mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-20 09:43:59 +00:00
98 lines
3.8 KiB
XML
98 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.core.widget.NestedScrollView 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"
|
|
tools:context=".settings.SettingsActivity">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/settingsContainer"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="32dp"
|
|
app:cardBackgroundColor="@color/nav_bg_inv"
|
|
app:cardCornerRadius="16dp"
|
|
app:cardElevation="0dp">
|
|
|
|
<ImageButton
|
|
android:id="@+id/settingsBack"
|
|
android:layout_width="64dp"
|
|
android:layout_height="64dp"
|
|
android:background="@color/nav_bg_inv"
|
|
android:padding="16dp"
|
|
app:srcCompat="@drawable/ic_round_arrow_back_ios_new_24"
|
|
app:tint="@color/bg_opp"
|
|
tools:ignore="ContentDescription,SpeakableTextPresentCheck" />
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="32dp"
|
|
android:layout_weight="1"
|
|
android:text="@string/extensions"
|
|
android:textSize="28sp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/settingsLogo"
|
|
android:layout_width="96dp"
|
|
android:layout_height="96dp"
|
|
android:layout_gravity="bottom"
|
|
android:layout_marginEnd="20dp"
|
|
android:layout_marginBottom="20dp"
|
|
app:srcCompat="@drawable/anim_splash"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:animateLayoutChanges="true"
|
|
android:clipToPadding="false"
|
|
android:orientation="vertical"
|
|
android:paddingStart="32dp"
|
|
android:paddingEnd="32dp">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/extensionsRecyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_marginTop="32dp"
|
|
android:layout_weight="1"
|
|
android:textSize="28sp"
|
|
android:text="All Extensions"/>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/allExtensionsRecyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView> |