Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2015 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
Anna Galusza | d658c0f | 2016-03-09 14:50:27 -0800 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="0dp" |
| 20 | android:layout_weight="1" |
Anna Galusza | d658c0f | 2016-03-09 14:50:27 -0800 | [diff] [blame] | 21 | android:orientation="vertical" |
| 22 | android:padding="@dimen/preview_pager_padding" |
| 23 | android:background="@drawable/preview_seek_bar_outline" > |
Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 24 | |
Aurimas Liutikas | e0069d3 | 2018-04-17 11:22:43 -0700 | [diff] [blame] | 25 | <androidx.viewpager.widget.ViewPager |
Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 26 | android:id="@+id/preview_pager" |
| 27 | android:layout_width="match_parent" |
Anna Galusza | 798b35a | 2016-07-14 17:10:35 -0700 | [diff] [blame] | 28 | android:layout_height="100dp" |
Anna Galusza | d658c0f | 2016-03-09 14:50:27 -0800 | [diff] [blame] | 29 | android:layout_weight="1" |
Noah Wang | a8ef32b | 2016-03-29 21:32:18 -0700 | [diff] [blame] | 30 | android:background="?android:attr/colorBackgroundFloating" |
| 31 | android:contentDescription="@string/preview_pager_content_description" /> |
Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 32 | |
Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 33 | <TextView |
Anna Galusza | d658c0f | 2016-03-09 14:50:27 -0800 | [diff] [blame] | 34 | android:layout_width="match_parent" |
Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 35 | android:layout_height="?android:attr/actionBarSize" |
Anna Galusza | d658c0f | 2016-03-09 14:50:27 -0800 | [diff] [blame] | 36 | android:paddingStart="32dp" |
| 37 | android:gravity="start|center" |
Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 38 | android:text="@string/screen_zoom_preview_title" |
Amin Shaikh | a5e8bdd | 2018-12-19 14:42:59 -0500 | [diff] [blame] | 39 | android:textAppearance="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title" |
Noah Wang | 9faec56 | 2016-04-09 23:24:47 -0700 | [diff] [blame] | 40 | android:importantForAccessibility="no" /> |
Anna Galusza | d658c0f | 2016-03-09 14:50:27 -0800 | [diff] [blame] | 41 | </LinearLayout> |
Anna Galusza | 132e078 | 2016-02-05 17:52:49 -0800 | [diff] [blame] | 42 | |