take the settings checkbox style from Commons

This commit is contained in:
tibbi 2021-11-12 11:20:23 +01:00
parent d996d3160c
commit e97d5b9860
2 changed files with 4 additions and 19 deletions

View File

@ -55,7 +55,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:94a4483781'
implementation 'com.github.SimpleMobileTools:Simple-Commons:9f9fe73d80'
implementation 'me.grantland:autofittextview:0.2.1'
implementation 'net.objecthunter:exp4j:0.4.8'
}

View File

@ -117,14 +117,9 @@
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/settings_use_english"
style="@style/SettingsCheckboxStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:button="@null"
android:clickable="false"
android:drawableEnd="?android:attr/listChoiceIndicatorMultiple"
android:drawablePadding="@dimen/activity_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/use_english_language" />
</RelativeLayout>
@ -141,14 +136,9 @@
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/settings_vibrate"
style="@style/SettingsCheckboxStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:button="@null"
android:clickable="false"
android:drawableEnd="?android:attr/listChoiceIndicatorMultiple"
android:drawablePadding="@dimen/activity_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/vibrate_on_button_press" />
</RelativeLayout>
@ -165,14 +155,9 @@
<com.simplemobiletools.commons.views.MyAppCompatCheckbox
android:id="@+id/settings_prevent_phone_from_sleeping"
style="@style/SettingsCheckboxStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@null"
android:button="@null"
android:clickable="false"
android:drawableEnd="?android:attr/listChoiceIndicatorMultiple"
android:drawablePadding="@dimen/activity_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/prevent_phone_from_sleeping" />
</RelativeLayout>