|
|
@ -11,6 +11,7 @@
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:textColor="?android:textColorTertiary"
|
|
|
|
android:textColor="?android:textColorTertiary"
|
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
@ -20,13 +21,25 @@
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_appearance_themes_category"/>
|
|
|
|
android:text="@string/activity_appearance_themes_category"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
|
|
|
app:cardCornerRadius="@dimen/dialog_corner_radius"
|
|
|
|
|
|
|
|
android:layout_marginHorizontal="@dimen/medium_spacing"
|
|
|
|
|
|
|
|
app:cardBackgroundColor="?colorSettingsBackground"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/theme_option_classic_dark"
|
|
|
|
android:id="@+id/theme_option_classic_dark"
|
|
|
|
android:background="@drawable/preference_top"
|
|
|
|
android:addStatesFromChildren="true"
|
|
|
|
|
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingHorizontal="@dimen/large_spacing"
|
|
|
|
android:paddingHorizontal="@dimen/small_spacing"
|
|
|
|
android:paddingVertical="@dimen/medium_spacing"
|
|
|
|
android:paddingVertical="@dimen/small_spacing"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
|
|
<ImageView
|
|
|
|
android:theme="@style/Classic.Dark"
|
|
|
|
android:theme="@style/Classic.Dark"
|
|
|
@ -50,12 +63,20 @@
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:alpha="0.15"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
|
|
|
android:background="?android:textColorPrimary"/>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/theme_option_classic_light"
|
|
|
|
android:id="@+id/theme_option_classic_light"
|
|
|
|
|
|
|
|
android:addStatesFromChildren="true"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/preference_middle"
|
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:paddingHorizontal="@dimen/large_spacing"
|
|
|
|
android:paddingHorizontal="@dimen/small_spacing"
|
|
|
|
android:paddingVertical="@dimen/small_spacing"
|
|
|
|
android:paddingVertical="@dimen/small_spacing"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
|
|
<ImageView
|
|
|
@ -80,13 +101,22 @@
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:alpha="0.15"
|
|
|
|
|
|
|
|
android:layout_marginHorizontal="@dimen/medium_spacing"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
|
|
|
android:background="?android:textColorPrimary"/>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/theme_option_ocean_dark"
|
|
|
|
android:id="@+id/theme_option_ocean_dark"
|
|
|
|
|
|
|
|
android:addStatesFromChildren="true"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/preference_middle"
|
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:paddingHorizontal="@dimen/large_spacing"
|
|
|
|
android:paddingHorizontal="@dimen/small_spacing"
|
|
|
|
android:paddingVertical="@dimen/medium_spacing"
|
|
|
|
android:paddingVertical="@dimen/small_spacing"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
|
|
<ImageView
|
|
|
|
android:theme="@style/Ocean.Dark"
|
|
|
|
android:theme="@style/Ocean.Dark"
|
|
|
@ -110,14 +140,22 @@
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
|
|
|
android:alpha="0.15"
|
|
|
|
|
|
|
|
android:layout_marginHorizontal="@dimen/medium_spacing"
|
|
|
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
|
|
|
android:background="?android:textColorPrimary"/>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/theme_option_ocean_light"
|
|
|
|
android:id="@+id/theme_option_ocean_light"
|
|
|
|
|
|
|
|
android:addStatesFromChildren="true"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@drawable/preference_bottom"
|
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:paddingHorizontal="@dimen/large_spacing"
|
|
|
|
android:paddingHorizontal="@dimen/small_spacing"
|
|
|
|
android:paddingTop="@dimen/medium_spacing"
|
|
|
|
android:paddingVertical="@dimen/small_spacing"
|
|
|
|
android:paddingBottom="@dimen/large_spacing"
|
|
|
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
|
|
<ImageView
|
|
|
|
android:theme="@style/Ocean.Light"
|
|
|
|
android:theme="@style/Ocean.Light"
|
|
|
@ -141,6 +179,12 @@
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:textColor="?android:textColorTertiary"
|
|
|
|
android:textColor="?android:textColorTertiary"
|
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
@ -208,8 +252,8 @@
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_marginVertical="@dimen/medium_spacing"
|
|
|
|
android:layout_marginVertical="@dimen/small_spacing"
|
|
|
|
android:layout_marginHorizontal="@dimen/large_spacing">
|
|
|
|
android:layout_marginHorizontal="@dimen/small_spacing">
|
|
|
|
<View
|
|
|
|
<View
|
|
|
|
android:id="@+id/accent_green"
|
|
|
|
android:id="@+id/accent_green"
|
|
|
|
android:background="@drawable/padded_circle_tintable"
|
|
|
|
android:background="@drawable/padded_circle_tintable"
|
|
|
@ -270,12 +314,21 @@
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/activity_appearance_follow_system_category"/>
|
|
|
|
android:text="@string/activity_appearance_follow_system_category"/>
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:padding="@dimen/medium_spacing"
|
|
|
|
app:cardElevation="0dp"
|
|
|
|
|
|
|
|
android:elevation="0dp"
|
|
|
|
|
|
|
|
app:cardBackgroundColor="?colorSettingsBackground"
|
|
|
|
|
|
|
|
app:cardCornerRadius="@dimen/dialog_corner_radius"
|
|
|
|
|
|
|
|
android:layout_margin="@dimen/medium_spacing"
|
|
|
|
android:layout_marginBottom="@dimen/massive_spacing"
|
|
|
|
android:layout_marginBottom="@dimen/massive_spacing"
|
|
|
|
android:background="@drawable/preference_single"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
|
|
|
android:id="@+id/system_settings_switch_holder"
|
|
|
|
|
|
|
|
android:background="?selectableItemBackground"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:addStatesFromChildren="true"
|
|
|
|
android:gravity="center">
|
|
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
@ -287,12 +340,13 @@
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial
|
|
|
|
android:id="@+id/system_settings_switch"
|
|
|
|
android:id="@+id/system_settings_switch"
|
|
|
|
android:paddingHorizontal="@dimen/large_spacing"
|
|
|
|
android:paddingHorizontal="@dimen/large_spacing"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
android:layout_height="wrap_content"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</ScrollView>
|