blob: 92824d5606d1016ecc1ec8d61de86ba3a9b19fac [file] [log] [blame]
Alan Viverettecc0e7822013-08-06 13:53:58 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2013 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:orientation="vertical" >
22
23 <FrameLayout
Alan Viverettea83a5322014-06-05 13:51:14 -070024 android:id="@+id/preview_viewport"
Alan Viverettecc0e7822013-08-06 13:53:58 -070025 android:layout_width="match_parent"
Alan Viverette389287e2014-07-21 16:48:13 -070026 android:layout_height="@dimen/captioning_preview_height"
27 android:paddingStart="@dimen/settings_side_margin"
28 android:paddingEnd="@dimen/settings_side_margin" >
Alan Viverettecc0e7822013-08-06 13:53:58 -070029
30 <ImageView
31 android:layout_width="match_parent"
32 android:layout_height="match_parent"
33 android:contentDescription="@null"
34 android:scaleType="centerCrop"
35 android:src="@drawable/caption_background" />
36
Alan Viveretted07c1612013-12-19 11:31:36 -080037 <FrameLayout
38 android:id="@+id/preview_window"
39 android:layout_width="match_parent"
Alan Viverettecc0e7822013-08-06 13:53:58 -070040 android:layout_height="wrap_content"
41 android:layout_gravity="bottom|start"
Alan Viveretted07c1612013-12-19 11:31:36 -080042 android:padding="16dp" >
43
44 <com.android.internal.widget.SubtitleView
45 android:id="@+id/preview_text"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:text="@string/captioning_preview_text" />
49 </FrameLayout>
Alan Viverettecc0e7822013-08-06 13:53:58 -070050 </FrameLayout>
51
Alan Viverette4098dba2013-12-04 17:19:24 -080052 <FrameLayout
Alan Viverettecc0e7822013-08-06 13:53:58 -070053 android:id="@+id/properties_fragment"
Alan Viverettecc0e7822013-08-06 13:53:58 -070054 android:layout_width="match_parent"
55 android:layout_height="match_parent" />
56
57</LinearLayout>