From 389287e5f8a1fe137de959034de39608830878d1 Mon Sep 17 00:00:00 2001 From: Alan Viverette Date: Mon, 21 Jul 2014 16:48:13 -0700 Subject: Treat caption preview viewport as clipped 16:9 aspect Also adds standard start/end padding to preview frame. BUG: 16462107 Change-Id: I89001d1656cee0c2d8abd95eae09975307b1ff06 --- res/layout/captioning_preview.xml | 4 +++- .../android/settings/accessibility/CaptionPropertiesFragment.java | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/res/layout/captioning_preview.xml b/res/layout/captioning_preview.xml index b90c3a5..92824d5 100644 --- a/res/layout/captioning_preview.xml +++ b/res/layout/captioning_preview.xml @@ -23,7 +23,9 @@ + android:layout_height="@dimen/captioning_preview_height" + android:paddingStart="@dimen/settings_side_margin" + android:paddingEnd="@dimen/settings_side_margin" >