Settings: Remove extra margin

pull/538/head
Alinson S. Xavier 6 years ago
parent dee4670f65
commit 5cdb9eb9d5

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?><!--
<!--
~ Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com> ~ Copyright (C) 2016 Álinson Santos Xavier <isoron@gmail.com>
~ ~
~ This file is part of Loop Habit Tracker. ~ This file is part of Loop Habit Tracker.
@ -18,7 +17,8 @@
~ with this program. If not, see <http://www.gnu.org/licenses/>. ~ with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory <PreferenceCategory
android:key="interfaceCategory" android:key="interfaceCategory"
@ -28,29 +28,32 @@
android:defaultValue="false" android:defaultValue="false"
android:key="pref_short_toggle" android:key="pref_short_toggle"
android:summary="@string/pref_toggle_description" android:summary="@string/pref_toggle_description"
android:title="@string/pref_toggle_title"/> android:title="@string/pref_toggle_title"
app:iconSpaceReserved="false" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="pref_checkmark_reverse_order" android:key="pref_checkmark_reverse_order"
android:summary="@string/reverse_days_description" android:summary="@string/reverse_days_description"
android:title="@string/reverse_days"/> android:title="@string/reverse_days"
app:iconSpaceReserved="false" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="pref_pure_black" android:key="pref_pure_black"
android:summary="@string/pure_black_description" android:summary="@string/pure_black_description"
android:title="@string/use_pure_black"/> android:title="@string/use_pure_black"
app:iconSpaceReserved="false" />
<ListPreference <ListPreference
android:defaultValue="102"
android:entries="@array/widget_opacity_entries" android:entries="@array/widget_opacity_entries"
android:entryValues="@array/widget_opacity_values" android:entryValues="@array/widget_opacity_values"
android:key="pref_widget_opacity" android:key="pref_widget_opacity"
android:title="@string/widget_opacity_title"
android:summary="@string/widget_opacity_description" android:summary="@string/widget_opacity_description"
android:defaultValue="102" android:title="@string/widget_opacity_title"
/> app:iconSpaceReserved="false" />
</PreferenceCategory> </PreferenceCategory>
@ -65,28 +68,33 @@
android:entryValues="@array/snooze_interval_values" android:entryValues="@array/snooze_interval_values"
android:key="pref_snooze_interval" android:key="pref_snooze_interval"
android:summary="%s" android:summary="%s"
android:title="@string/pref_snooze_interval_title"/> android:title="@string/pref_snooze_interval_title"
app:iconSpaceReserved="false" />
<Preference <Preference
android:key="reminderSound" android:key="reminderSound"
android:title="@string/reminder_sound"/> android:title="@string/reminder_sound"
app:iconSpaceReserved="false" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="pref_sticky_notifications" android:key="pref_sticky_notifications"
android:summary="@string/sticky_notifications_description"
android:title="@string/sticky_notifications" android:title="@string/sticky_notifications"
android:summary="@string/sticky_notifications_description"/> app:iconSpaceReserved="false" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="pref_led_notifications" android:key="pref_led_notifications"
android:summary="@string/led_notifications_description"
android:title="@string/led_notifications" android:title="@string/led_notifications"
android:summary="@string/led_notifications_description"/> app:iconSpaceReserved="false" />
<Preference <Preference
android:key="reminderCustomize" android:key="reminderCustomize"
android:summary="@string/customize_notification_summary" android:summary="@string/customize_notification_summary"
android:title="@string/customize_notification"/> android:title="@string/customize_notification"
app:iconSpaceReserved="false" />
</PreferenceCategory> </PreferenceCategory>
@ -97,20 +105,20 @@
<Preference <Preference
android:key="exportDB" android:key="exportDB"
android:summary="@string/export_full_backup_summary" android:summary="@string/export_full_backup_summary"
android:title="@string/export_full_backup"> android:title="@string/export_full_backup"
</Preference> app:iconSpaceReserved="false" />
<Preference <Preference
android:key="exportCSV" android:key="exportCSV"
android:summary="@string/export_as_csv_summary" android:summary="@string/export_as_csv_summary"
android:title="@string/export_to_csv"> android:title="@string/export_to_csv"
</Preference> app:iconSpaceReserved="false" />
<Preference <Preference
android:key="importData" android:key="importData"
android:summary="@string/import_data_summary" android:summary="@string/import_data_summary"
android:title="@string/import_data"> android:title="@string/import_data"
</Preference> app:iconSpaceReserved="false" />
</PreferenceCategory> </PreferenceCategory>
@ -120,11 +128,13 @@
<Preference <Preference
android:key="bugReport" android:key="bugReport"
android:title="@string/generate_bug_report"/> android:title="@string/generate_bug_report"
app:iconSpaceReserved="false" />
<Preference <Preference
android:key="repairDB" android:key="repairDB"
android:title="@string/repair_database"/> android:title="@string/repair_database"
app:iconSpaceReserved="false" />
</PreferenceCategory> </PreferenceCategory>
@ -132,19 +142,25 @@
android:key="linksCategory" android:key="linksCategory"
android:title="@string/links"> android:title="@string/links">
<Preference android:title="@string/help"> <Preference
android:title="@string/help"
app:iconSpaceReserved="false">
<intent <intent
android:action="android.intent.action.VIEW" android:action="android.intent.action.VIEW"
android:data="@string/helpURL" /> android:data="@string/helpURL" />
</Preference> </Preference>
<Preference android:title="@string/pref_rate_this_app"> <Preference
android:title="@string/pref_rate_this_app"
app:iconSpaceReserved="false">
<intent <intent
android:action="android.intent.action.VIEW" android:action="android.intent.action.VIEW"
android:data="@string/playStoreURL" /> android:data="@string/playStoreURL" />
</Preference> </Preference>
<Preference android:title="@string/about"> <Preference
android:title="@string/about"
app:iconSpaceReserved="false">
<intent <intent
android:action="android.intent.action.VIEW" android:action="android.intent.action.VIEW"
android:targetClass="org.isoron.uhabits.activities.about.AboutActivity" android:targetClass="org.isoron.uhabits.activities.about.AboutActivity"
@ -160,25 +176,30 @@
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="pref_developer" android:key="pref_developer"
android:title="Enable developer mode"/> android:title="Enable developer mode"
app:iconSpaceReserved="false" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="pref_feature_widget_stack" android:key="pref_feature_widget_stack"
android:title="Enable widget stacks"/> android:title="Enable widget stacks"
app:iconSpaceReserved="false" />
<CheckBoxPreference <CheckBoxPreference
android:defaultValue="false" android:defaultValue="false"
android:key="pref_feature_sync" android:key="pref_feature_sync"
android:title="Enable cloud sync"/> android:title="Enable cloud sync"
app:iconSpaceReserved="false" />
<EditTextPreference <EditTextPreference
android:key="pref_sync_address" android:key="pref_sync_address"
android:title="Sync server address"/> android:title="Sync server address"
app:iconSpaceReserved="false" />
<EditTextPreference <EditTextPreference
android:key="pref_sync_key" android:key="pref_sync_key"
android:title="Sync key"/> android:title="Sync key"
app:iconSpaceReserved="false" />
</PreferenceCategory> </PreferenceCategory>

Loading…
Cancel
Save