fixed some preference padding, not completely

This commit is contained in:
Emil Kabirov 2018-12-01 05:51:41 +05:00
parent 15da663864
commit dccb9d9841
2 changed files with 5 additions and 5 deletions

View File

@ -15,8 +15,7 @@
android:id="@+id/preferences" android:id="@+id/preferences"
class="fishrungames.mountainwallpaper.WallpaperPreferenceFragment" class="fishrungames.mountainwallpaper.WallpaperPreferenceFragment"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"/>
android:background="#ff0000" />
<Button <Button
android:id="@+id/button_setWallpaper" android:id="@+id/button_setWallpaper"

View File

@ -1,17 +1,18 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="Main" <PreferenceScreen android:title="Main"
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<ListPreference <ListPreference
android:key="Timeofday" android:summary="@string/p_stimeofday" android:key="Timeofday" android:summary="@string/p_stimeofday"
android:title="@string/p_timeofday" android:entries="@array/timeofday_id" android:title="@string/p_timeofday" android:entries="@array/timeofday_id"
android:entryValues="@array/timeofday_value" android:defaultValue="0" android:entryValues="@array/timeofday_value" android:defaultValue="0"
android:background="#00ff00" app:iconSpaceReserved="false"
/> />
<CheckBoxPreference android:summaryOn="@string/p_snow_on" <CheckBoxPreference android:summaryOn="@string/p_snow_on"
android:key="Snow" android:title="@string/p_snow" android:key="Snow" android:title="@string/p_snow"
android:summaryOff="@string/p_snow_off" android:defaultValue="false" android:summaryOff="@string/p_snow_off" android:defaultValue="false"
android:background="#0000ff" app:iconSpaceReserved="false"
/> />
</PreferenceScreen> </PreferenceScreen>