Added new style for switch

This commit is contained in:
h4h13 2019-04-20 15:35:31 +05:30
parent 39b0b4c931
commit b0605ff183
10 changed files with 108 additions and 63 deletions

View file

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<code.name.monkey.appthemehelper.common.views.ATESwitch xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/switchWidget"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:button="@drawable/ate_switch"
android:clickable="false"
android:focusable="false"
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1" />

View file

@ -3,7 +3,5 @@
android:id="@android:id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:clickable="false"
android:focusable="false"
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1" />
android:focusable="false" />

View file

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<TableRow xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/custom_list_view_row_table_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@ -27,12 +26,11 @@
<TextView
android:id="@+id/custom_list_view_row_text_view"
style="@style/TextAppearance.MaterialComponents.Subtitle1"
android:layout_width="fill_parent"
android:layout_height="22dip"
android:gravity="center_vertical"
android:textColor="#000000"
style="@style/TextAppearance.MaterialComponents.Subtitle1"
/>
android:textColor="#000000" />
<TextView
android:id="@+id/custom_list_view_row_subtext_view"