OsmAnd/OsmAnd/res/xml/screen_alerts.xml

48 lines
1.5 KiB
XML
Raw Normal View History

2019-08-07 17:45:59 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-08-30 14:58:36 +02:00
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
2019-08-07 17:45:59 +02:00
<SwitchPreference
android:key="show_routing_alarms"
2019-08-30 14:58:36 +02:00
android:layout="@layout/preference_top_switch"
2019-09-04 18:06:37 +02:00
android:summaryOff="@string/shared_string_off"
android:summaryOn="@string/shared_string_on" />
2019-08-07 17:45:59 +02:00
<Preference
android:key="screen_alerts_image"
android:layout="@layout/settings_device_image_screen"
android:persistent="false"
android:selectable="false" />
2019-08-07 17:45:59 +02:00
<Preference
2019-08-30 14:58:36 +02:00
android:key="show_routing_alarms_info"
android:layout="@layout/preference_info"
2019-09-04 18:06:37 +02:00
android:selectable="false"
android:title="@string/screen_alerts_descr"
tools:icon="@drawable/ic_action_info_dark" />
2019-08-07 17:45:59 +02:00
<SwitchPreference
2019-09-04 18:06:37 +02:00
android:dependency="show_routing_alarms"
2019-08-07 17:45:59 +02:00
android:key="show_traffic_warnings"
2019-09-08 15:20:22 +02:00
android:layout="@layout/preference_switch"
2019-08-07 17:45:59 +02:00
android:title="@string/show_traffic_warnings" />
<SwitchPreference
2019-09-04 18:06:37 +02:00
android:dependency="show_routing_alarms"
2019-08-07 17:45:59 +02:00
android:key="show_pedestrian"
2019-09-08 15:20:22 +02:00
android:layout="@layout/preference_switch"
2019-08-07 17:45:59 +02:00
android:title="@string/show_pedestrian_warnings" />
<SwitchPreference
2019-09-04 18:06:37 +02:00
android:dependency="show_routing_alarms"
2019-08-07 17:45:59 +02:00
android:key="show_cameras"
2019-09-08 15:20:22 +02:00
android:layout="@layout/preference_switch"
2019-08-07 17:45:59 +02:00
android:title="@string/show_cameras" />
<SwitchPreference
2019-09-04 18:06:37 +02:00
android:dependency="show_routing_alarms"
2019-08-07 17:45:59 +02:00
android:key="show_tunnels"
2019-09-08 15:20:22 +02:00
android:layout="@layout/preference_switch"
2019-08-07 17:45:59 +02:00
android:title="@string/show_tunnels" />
</PreferenceScreen>