|
1 | | -<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> |
| 1 | +<androidx.preference.PreferenceScreen |
| 2 | + xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | + > |
2 | 5 | <PreferenceCategory |
3 | 6 | android:key="pref_cat_general" |
4 | | - android:title="@string/pref_header_general"> |
| 7 | + android:title="@string/pref_header_general" |
| 8 | + app:iconSpaceReserved="false"> |
5 | 9 |
|
6 | 10 | <ListPreference |
7 | 11 | android:defaultValue="10" |
|
11 | 15 | android:negativeButtonText="@null" |
12 | 16 | android:positiveButtonText="@null" |
13 | 17 | android:summary="%s" |
14 | | - android:title="@string/pref_startup_screen"/> |
| 18 | + android:title="@string/pref_startup_screen" |
| 19 | + app:iconSpaceReserved="false"/> |
15 | 20 |
|
16 | 21 | <ListPreference |
17 | 22 | android:entries="@array/pref_list_languages" |
|
20 | 25 | android:negativeButtonText="@null" |
21 | 26 | android:positiveButtonText="@null" |
22 | 27 | android:summary="%s" |
23 | | - android:title="@string/pref_stations_language"/> |
| 28 | + android:title="@string/pref_stations_language" |
| 29 | + app:iconSpaceReserved="false"/> |
24 | 30 |
|
25 | 31 | <SwitchPreference |
26 | 32 | android:defaultValue="false" |
27 | 33 | android:key="use_card_layout" |
28 | 34 | android:summary="@string/pref_description_cards" |
29 | | - android:title="@string/pref_title_cards"/> |
| 35 | + android:title="@string/pref_title_cards" |
| 36 | + app:iconSpaceReserved="false"/> |
30 | 37 | </PreferenceCategory> |
31 | 38 |
|
32 | 39 | <PreferenceCategory |
33 | 40 | android:key="pref_cat_stations" |
34 | | - android:title="@string/pref_header_stations"> |
| 41 | + android:title="@string/pref_header_stations" |
| 42 | + app:iconSpaceReserved="false"> |
35 | 43 |
|
36 | 44 | <ListPreference |
37 | 45 | android:defaultValue="3" |
|
41 | 49 | android:negativeButtonText="@null" |
42 | 50 | android:positiveButtonText="@null" |
43 | 51 | android:summary="%s" |
44 | | - android:title="@string/number_recent_searches"/> |
| 52 | + android:title="@string/number_recent_searches" |
| 53 | + app:iconSpaceReserved="false"/> |
45 | 54 |
|
46 | 55 | <SwitchPreference |
47 | 56 | android:defaultValue="true" |
48 | 57 | android:key="stations_enable_nearby" |
49 | | - android:title="@string/show_nearby_stations"/> |
| 58 | + android:title="@string/show_nearby_stations" |
| 59 | + app:iconSpaceReserved="false"/> |
50 | 60 |
|
51 | 61 | <ListPreference |
52 | 62 | android:defaultValue="3" |
|
57 | 67 | android:negativeButtonText="@null" |
58 | 68 | android:positiveButtonText="@null" |
59 | 69 | android:summary="%s" |
60 | | - android:title="@string/number_nearby_stations"/> |
| 70 | + android:title="@string/number_nearby_stations" |
| 71 | + app:iconSpaceReserved="false"/> |
61 | 72 |
|
62 | 73 | <ListPreference |
63 | 74 | android:defaultValue="0" |
|
67 | 78 | android:negativeButtonText="@null" |
68 | 79 | android:positiveButtonText="@null" |
69 | 80 | android:summary="%s" |
70 | | - android:title="@string/order_of_stations"/> |
| 81 | + android:title="@string/order_of_stations" |
| 82 | + app:iconSpaceReserved="false"/> |
71 | 83 |
|
72 | 84 | </PreferenceCategory> |
73 | 85 |
|
74 | 86 | <PreferenceCategory |
75 | 87 | android:key="pref_cat_routes" |
76 | | - android:title="@string/pref_header_routes"> |
| 88 | + android:title="@string/pref_header_routes" |
| 89 | + app:iconSpaceReserved="false"> |
77 | 90 |
|
78 | 91 | <ListPreference |
79 | 92 | android:defaultValue="3" |
|
83 | 96 | android:negativeButtonText="@null" |
84 | 97 | android:positiveButtonText="@null" |
85 | 98 | android:summary="%s" |
86 | | - android:title="@string/number_recent_searches"/> |
| 99 | + android:title="@string/number_recent_searches" |
| 100 | + app:iconSpaceReserved="false"/> |
87 | 101 |
|
88 | 102 | <ListPreference |
89 | 103 | android:defaultValue="0" |
|
93 | 107 | android:negativeButtonText="@null" |
94 | 108 | android:positiveButtonText="@null" |
95 | 109 | android:summary="%s" |
96 | | - android:title="@string/order_of_routes"/> |
| 110 | + android:title="@string/order_of_routes" |
| 111 | + app:iconSpaceReserved="false"/> |
97 | 112 |
|
98 | 113 | <SwitchPreference |
99 | 114 | android:defaultValue="false" |
100 | 115 | android:key="routes_always_new_activity" |
101 | 116 | android:summary="@string/pref_short_tap_route_detail_summary" |
102 | | - android:title="@string/pref_short_tap_route_detail"/> |
| 117 | + android:title="@string/pref_short_tap_route_detail" |
| 118 | + app:iconSpaceReserved="false"/> |
103 | 119 |
|
104 | 120 | </PreferenceCategory> |
105 | 121 |
|
106 | 122 | <PreferenceCategory |
107 | 123 | android:key="pref_cat_vehicles" |
108 | | - android:title="@string/pref_header_trains"> |
| 124 | + android:title="@string/pref_header_trains" |
| 125 | + app:iconSpaceReserved="false"> |
109 | 126 |
|
110 | 127 | <ListPreference |
111 | 128 | android:defaultValue="3" |
|
115 | 132 | android:negativeButtonText="@null" |
116 | 133 | android:positiveButtonText="@null" |
117 | 134 | android:summary="%s" |
118 | | - android:title="@string/number_recent_searches"/> |
| 135 | + android:title="@string/number_recent_searches" |
| 136 | + app:iconSpaceReserved="false"/> |
119 | 137 |
|
120 | 138 | <ListPreference |
121 | 139 | android:defaultValue="0" |
|
125 | 143 | android:negativeButtonText="@null" |
126 | 144 | android:positiveButtonText="@null" |
127 | 145 | android:summary="%s" |
128 | | - android:title="@string/order_of_trains"/> |
| 146 | + android:title="@string/order_of_trains" |
| 147 | + app:iconSpaceReserved="false"/> |
129 | 148 |
|
130 | 149 | <SwitchPreference |
131 | 150 | android:defaultValue="true" |
132 | 151 | android:key="trains_map" |
133 | 152 | android:summary="@string/pref_display_vehicle_on_map_summary" |
134 | | - android:title="@string/pref_display_vehicle_on_map"/> |
| 153 | + android:title="@string/pref_display_vehicle_on_map" |
| 154 | + app:iconSpaceReserved="false"/> |
135 | 155 |
|
136 | 156 | <SwitchPreference |
137 | 157 | android:defaultValue="true" |
138 | 158 | android:key="vehicle_composition" |
139 | 159 | android:summary="@string/pref_display_vehicle_composition_summary" |
140 | | - android:title="@string/pref_display_vehicle_composition"/> |
| 160 | + android:title="@string/pref_display_vehicle_composition" |
| 161 | + app:iconSpaceReserved="false"/> |
141 | 162 |
|
142 | 163 | <SwitchPreference |
143 | 164 | android:defaultValue="true" |
144 | 165 | android:key="vehicle_composition_show_type" |
145 | 166 | android:summary="@string/pref_vehicle_composition_display_type_summary" |
146 | | - android:title="@string/pref_vehicle_composition_display_type"/> |
| 167 | + android:title="@string/pref_vehicle_composition_display_type" |
| 168 | + app:iconSpaceReserved="false"/> |
147 | 169 |
|
148 | 170 | <SwitchPreference |
149 | 171 | android:defaultValue="false" |
150 | 172 | android:key="vehicle_composition_show_number" |
151 | 173 | android:summary="@string/pref_vehicle_composition_display_number_summary" |
152 | | - android:title="@string/pref_vehicle_composition_display_number"/> |
| 174 | + android:title="@string/pref_vehicle_composition_display_number" |
| 175 | + app:iconSpaceReserved="false"/> |
153 | 176 |
|
154 | 177 | </PreferenceCategory> |
155 | 178 |
|
156 | 179 | <PreferenceCategory |
157 | 180 | android:key="pref_links" |
158 | | - android:title="@string/pref_header_links"> |
| 181 | + android:title="@string/pref_header_links" |
| 182 | + app:iconSpaceReserved="false"> |
159 | 183 |
|
160 | 184 | <Preference android:title="@string/pref_github"> |
161 | 185 | <intent |
162 | 186 | android:action="android.intent.action.VIEW" |
163 | | - android:data="https://www.github.com/hyperrail/hyperrail-for-android/"/> |
| 187 | + android:data="https://www.github.com/hyperrail/hyperrail-for-android/" |
| 188 | + app:iconSpaceReserved="false"/> |
164 | 189 | </Preference> |
165 | 190 |
|
166 | 191 | <Preference android:title="@string/pref_mlgtraffic"> |
167 | 192 | <intent |
168 | 193 | android:action="android.intent.action.VIEW" |
169 | | - android:data="http://www.mlgtraffic.net/"/> |
| 194 | + android:data="http://www.mlgtraffic.net/" |
| 195 | + app:iconSpaceReserved="false"/> |
170 | 196 | </Preference> |
171 | 197 | </PreferenceCategory> |
172 | | -</PreferenceScreen> |
| 198 | +</androidx.preference.PreferenceScreen> |
0 commit comments