From 41d06570a434d3dbb2d8d5d776ddfd274e380051 Mon Sep 17 00:00:00 2001 From: Doris Ling Date: Wed, 6 Jul 2016 14:59:33 -0700 Subject: [PATCH] Add padding for the animation in the gestures settings. Add padding around the animation video in landscape mode to make it look more proportional. Bug: 29792743 Change-Id: I52cfcecd680a118741d8ced18afd9fc811a33d94 --- res/layout/gesture_preference.xml | 3 ++- res/values-land/dimens.xml | 4 ++++ res/values/dimens.xml | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/res/layout/gesture_preference.xml b/res/layout/gesture_preference.xml index 71fe86fbbeb..2ad625cb5a3 100644 --- a/res/layout/gesture_preference.xml +++ b/res/layout/gesture_preference.xml @@ -61,7 +61,8 @@ android:id="@+id/gesture_animation_frame" android:layout_width="0dp" android:layout_height="match_parent" - android:layout_weight="1"> + android:layout_weight="1" + android:padding="@dimen/gesture_animation_padding"> 160dp + + + 35dp + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 9a97d30b72f..09cd8f0347d 100755 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -299,4 +299,5 @@ 20dp 36dp + 0dp