Update UI for gesture settings.

1. Add list divider between each gesture preference
2. Increase top-padding from 16dp to 24dp
3. Move fingerprint swipe preference to the top of the list
4. Change default value for fingerprint swipe to OFF.

Bug: 30416729
Change-Id: If0a6ee080defb2e3dbd36fbda6e047c23a1b1026
This commit is contained in:
Doris Ling
2016-07-28 13:54:14 -07:00
parent 3edc1645a5
commit d59fcc94be
4 changed files with 8 additions and 10 deletions

View File

@@ -197,7 +197,7 @@ public class GestureSettings extends SettingsPreferenceFragment implements
}
private static boolean isSystemUINavigationEnabled(Context context) {
return Secure.getInt(context.getContentResolver(), Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 1)
return Secure.getInt(context.getContentResolver(), Secure.SYSTEM_NAVIGATION_KEYS_ENABLED, 0)
== 1;
}