Fix sutn screen on settings UI

This commit is contained in:
crimean 2019-07-06 18:37:32 +03:00
parent 8e15031d9d
commit d748e71b4c
2 changed files with 4 additions and 16 deletions

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:orientation="vertical">
<TextView android:id="@android:id/title"
style="?android:attr/listSeparatorTextViewStyle"/>
<TextView android:id="@android:id/summary"
android:paddingLeft="@dimen/content_padding_half" android:paddingRight="@dimen/content_padding_half"
android:textColor="?android:textColorPrimary"
android:layout_width="match_parent" android:layout_height="wrap_content"/>
</LinearLayout>

View file

@ -74,10 +74,12 @@
<PreferenceCategory
android:key="turn_screen_on"
android:layout="@layout/preference_category_summary"
android:summary="@string/wake_on_voice_descr"
android:title="@string/wake_on_voice">
<Preference
android:selectable="false"
android:summary="@string/wake_on_voice_descr" />
<ListPreference
android:key="turn_screen_on_time_int"
android:summary="@string/turn_screen_on_time_descr"