
* feat: (wip) torrent credit to kuukiyomi * fix: extensions -> addons * fix: unified loader * feat: (wip) modularity * fix: addon ui * feat: addon install/uninstall --------- Co-authored-by: aayush262 <aayushthakur262006@gmail.com>
74 lines
2.8 KiB
XML
74 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout 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:id="@+id/settingsLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="24dp"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/settingsIcon"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_gravity="top"
|
|
android:layout_marginVertical="24dp"
|
|
android:layout_marginEnd="24dp"
|
|
app:srcCompat="@drawable/ic_circle_add"
|
|
app:tint="?attr/colorPrimary"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="44sp"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.materialswitch.MaterialSwitch
|
|
android:id="@+id/settingsButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="false"
|
|
android:elegantTextHeight="true"
|
|
android:fontFamily="@font/poppins_bold"
|
|
android:text="@string/name"
|
|
android:textAlignment="viewStart"
|
|
android:textColor="?attr/colorOnBackground"
|
|
android:textSize="16sp"
|
|
app:cornerRadius="0dp"
|
|
app:drawableTint="?attr/colorPrimary"
|
|
app:showText="false"
|
|
app:thumbTint="@color/button_switch_track" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
tools:ignore="UseCompoundDrawables">
|
|
|
|
<TextView
|
|
android:id="@+id/settingsDesc"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="32dp"
|
|
android:layout_weight="1"
|
|
android:alpha="0.66"
|
|
android:fontFamily="@font/poppins_semi_bold"
|
|
android:text="@string/slogan"
|
|
android:textColor="?attr/colorOnSurfaceVariant" />
|
|
|
|
<ImageView
|
|
android:id="@+id/settingsExtraIcon"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_gravity="top"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_marginEnd="12dp"
|
|
app:srcCompat="@drawable/ic_circle_add"
|
|
app:tint="?attr/colorPrimary"
|
|
android:visibility="gone"
|
|
tools:ignore="ContentDescription" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|