Alan Viverette | cc0e782 | 2013-08-06 13:53:58 -0700 | [diff] [blame] | 1 | <?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 Viverette | a83a532 | 2014-06-05 13:51:14 -0700 | [diff] [blame] | 24 | android:id="@+id/preview_viewport" |
Alan Viverette | cc0e782 | 2013-08-06 13:53:58 -0700 | [diff] [blame] | 25 | android:layout_width="match_parent" |
Alan Viverette | 389287e | 2014-07-21 16:48:13 -0700 | [diff] [blame] | 26 | android:layout_height="@dimen/captioning_preview_height" |
| 27 | android:paddingStart="@dimen/settings_side_margin" |
| 28 | android:paddingEnd="@dimen/settings_side_margin" > |
Alan Viverette | cc0e782 | 2013-08-06 13:53:58 -0700 | [diff] [blame] | 29 | |
| 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 Viverette | d07c161 | 2013-12-19 11:31:36 -0800 | [diff] [blame] | 37 | <FrameLayout |
| 38 | android:id="@+id/preview_window" |
| 39 | android:layout_width="match_parent" |
Alan Viverette | cc0e782 | 2013-08-06 13:53:58 -0700 | [diff] [blame] | 40 | android:layout_height="wrap_content" |
| 41 | android:layout_gravity="bottom|start" |
Alan Viverette | d07c161 | 2013-12-19 11:31:36 -0800 | [diff] [blame] | 42 | 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 Viverette | cc0e782 | 2013-08-06 13:53:58 -0700 | [diff] [blame] | 50 | </FrameLayout> |
| 51 | |
Alan Viverette | 4098dba | 2013-12-04 17:19:24 -0800 | [diff] [blame] | 52 | <FrameLayout |
Alan Viverette | cc0e782 | 2013-08-06 13:53:58 -0700 | [diff] [blame] | 53 | android:id="@+id/properties_fragment" |
Alan Viverette | cc0e782 | 2013-08-06 13:53:58 -0700 | [diff] [blame] | 54 | android:layout_width="match_parent" |
| 55 | android:layout_height="match_parent" /> |
| 56 | |
| 57 | </LinearLayout> |