Layout changes for new animation assets

The animation videos are changing to have a white background, so we want to
match that in the background color to avoid horizontal bands of the current
grey background color on the edges of the new videos. We're also adding a
divider between the video and the content beneath it.

This CL also includes the new illustration video for the launcher gesture.

Fixes: 77861241
Fixes: 77474484
Test: manual (visit all entries in Settings->System->Gestures, as well as
Settings->Display->Adaptive brightness)

Change-Id: I976782645c9431d40e005960b80353a7da2b89b8
This commit is contained in:
Antony Sargent
2018-04-23 15:34:32 -07:00
parent f6e2c19fcc
commit d762ff23a6
12 changed files with 19 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

View File

@@ -95,7 +95,7 @@
<color name="usage_graph_dots">#B0BEC5</color> <color name="usage_graph_dots">#B0BEC5</color>
<!-- Gestures settings --> <!-- Gestures settings -->
<color name="gestures_setting_background_color">#f4f4f4</color> <color name="gestures_setting_background_color">#ffffff</color>
<color name="status_bar_color">#3c3c3c</color> <color name="status_bar_color">#3c3c3c</color>

View File

@@ -30,6 +30,7 @@
android:key="gesture_assist" android:key="gesture_assist"
android:title="@string/assist_gesture_title" android:title="@string/assist_gesture_title"
app:keywords="@string/keywords_assist_gesture_launch" app:keywords="@string/keywords_assist_gesture_launch"
app:controller="com.android.settings.gestures.AssistGestureSettingsPreferenceController" /> app:controller="com.android.settings.gestures.AssistGestureSettingsPreferenceController"
app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -33,6 +33,7 @@
settings:keywords="@string/keywords_display_auto_brightness" settings:keywords="@string/keywords_display_auto_brightness"
settings:controller="com.android.settings.display.AutoBrightnessPreferenceController" settings:controller="com.android.settings.display.AutoBrightnessPreferenceController"
settings:useAdminDisabledSummary="true" settings:useAdminDisabledSummary="true"
settings:userRestriction="no_config_brightness" /> settings:userRestriction="no_config_brightness"
settings:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -31,6 +31,7 @@
android:title="@string/double_tap_power_for_camera_title" android:title="@string/double_tap_power_for_camera_title"
android:summary="@string/double_tap_power_for_camera_summary" android:summary="@string/double_tap_power_for_camera_summary"
app:keywords="@string/keywords_gesture" app:keywords="@string/keywords_gesture"
app:controller="com.android.settings.gestures.DoubleTapPowerPreferenceController" /> app:controller="com.android.settings.gestures.DoubleTapPowerPreferenceController"
app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -31,6 +31,7 @@
android:title="@string/ambient_display_title" android:title="@string/ambient_display_title"
android:summary="@string/ambient_display_summary" android:summary="@string/ambient_display_summary"
app:keywords="@string/keywords_gesture" app:keywords="@string/keywords_gesture"
app:controller="com.android.settings.gestures.DoubleTapScreenPreferenceController" /> app:controller="com.android.settings.gestures.DoubleTapScreenPreferenceController"
app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -31,6 +31,7 @@
android:title="@string/double_twist_for_camera_mode_title" android:title="@string/double_twist_for_camera_mode_title"
android:summary="@string/double_twist_for_camera_mode_summary" android:summary="@string/double_twist_for_camera_mode_summary"
app:keywords="@string/keywords_gesture" app:keywords="@string/keywords_gesture"
app:controller="com.android.settings.gestures.DoubleTwistPreferenceController" /> app:controller="com.android.settings.gestures.DoubleTwistPreferenceController"
app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -31,6 +31,7 @@
android:title="@string/ambient_display_pickup_title" android:title="@string/ambient_display_pickup_title"
android:summary="@string/ambient_display_pickup_summary" android:summary="@string/ambient_display_pickup_summary"
app:keywords="@string/keywords_gesture" app:keywords="@string/keywords_gesture"
app:controller="com.android.settings.gestures.PickupGesturePreferenceController" /> app:controller="com.android.settings.gestures.PickupGesturePreferenceController"
app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -32,6 +32,7 @@
android:entries="@array/gesture_prevent_ringing_entries" android:entries="@array/gesture_prevent_ringing_entries"
android:entryValues="@array/gesture_prevent_ringing_values" android:entryValues="@array/gesture_prevent_ringing_values"
app:controller="com.android.settings.gestures.PreventRingingPreferenceController" app:controller="com.android.settings.gestures.PreventRingingPreferenceController"
app:keywords="@string/keywords_gesture" /> app:keywords="@string/keywords_gesture"
app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -30,6 +30,7 @@
android:title="@string/fingerprint_swipe_for_notifications_title" android:title="@string/fingerprint_swipe_for_notifications_title"
android:summary="@string/fingerprint_swipe_for_notifications_summary" android:summary="@string/fingerprint_swipe_for_notifications_summary"
app:keywords="@string/keywords_gesture" app:keywords="@string/keywords_gesture"
app:controller="com.android.settings.gestures.SwipeToNotificationPreferenceController" /> app:controller="com.android.settings.gestures.SwipeToNotificationPreferenceController"
app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>

View File

@@ -31,6 +31,7 @@
android:title="@string/swipe_up_to_switch_apps_title" android:title="@string/swipe_up_to_switch_apps_title"
android:summary="@string/swipe_up_to_switch_apps_summary" android:summary="@string/swipe_up_to_switch_apps_summary"
app:keywords="@string/keywords_gesture" app:keywords="@string/keywords_gesture"
app:controller="com.android.settings.gestures.SwipeUpPreferenceController" /> app:controller="com.android.settings.gestures.SwipeUpPreferenceController"
app:allowDividerAbove="true" />
</PreferenceScreen> </PreferenceScreen>