am fb6e1186: Fix accessibility for account sync

* commit 'fb6e1186ab0b967acf0a041dc0d2d6ea96c672b9':
  Fix accessibility for account sync
This commit is contained in:
Jason Monk
2015-06-25 19:16:41 +00:00
committed by Android Git Automerger
4 changed files with 15 additions and 7 deletions

View File

@@ -97,6 +97,10 @@
<item name="android:layout">@layout/preference_material_settings</item>
</style>
<style name="SyncSwitchPreference" parent="Preference">
<item name="android:widgetLayout">@layout/preference_widget_sync_toggle</item>
</style>
<style name="PreferenceHeaderPanelSinglePane">
<item name="android:layout_marginStart">0dp</item>
<item name="android:layout_marginEnd">0dp</item>

View File

@@ -16,4 +16,9 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Needed so PreferenceGroupAdapter allows SyncStateSwitchPreference to be
recycled. Removed in onResume -->
<com.android.settings.accounts.SyncStateSwitchPreference
android:key="dummy" />
</PreferenceScreen>