limitations under the License.
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
- android:key="zen_mode_event_rule_settings" >
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:key="zen_mode_event_rule_settings"
+ android:title="@string/zen_mode_automatic_rule_settings_page_title">
- <!-- Rule name -->
- <Preference
- android:key="rule_name"
- android:title="@string/zen_mode_rule_name"
- android:persistent="false" />
+ <com.android.settings.applications.LayoutPreference
+ android:key="pref_app_header"
+ android:layout="@layout/settings_entity_header" />
+
+ <com.android.settings.applications.LayoutPreference
+ android:key="zen_automatic_rule_switch"
+ android:layout="@layout/styled_switch_bar" />
<!-- During events for -->
<DropDownPreference
android:title="@string/zen_mode_event_rule_reply"
android:summary="%s" />
- <!-- Zen mode -->
- <DropDownPreference
- android:key="zen_mode"
- android:title="@string/zen_mode_settings_title"
- android:summary="%s" />
-
</PreferenceScreen>