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
This commit is contained in:
Doris Ling
2016-07-06 14:59:33 -07:00
parent a0eb2997a9
commit 41d06570a4
3 changed files with 7 additions and 1 deletions

View File

@@ -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">
<TextureView
android:id="@+id/gesture_video"

View File

@@ -34,4 +34,8 @@
<!-- Display, Screen zoom -->
<dimen name="screen_zoom_preview_height">160dp</dimen>
<!-- Gestures -->
<dimen name="gesture_animation_padding">35dp</dimen>
</resources>

View File

@@ -299,4 +299,5 @@
<!-- Padding for Gestures settings screen -->
<dimen name="gestures_settings_padding_top_bottom">20dp</dimen>
<dimen name="gestures_play_button_size">36dp</dimen>
<dimen name="gesture_animation_padding">0dp</dimen>
</resources>