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:
@@ -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"
|
||||
|
@@ -34,4 +34,8 @@
|
||||
|
||||
<!-- Display, Screen zoom -->
|
||||
<dimen name="screen_zoom_preview_height">160dp</dimen>
|
||||
|
||||
<!-- Gestures -->
|
||||
<dimen name="gesture_animation_padding">35dp</dimen>
|
||||
|
||||
</resources>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user