Peter_Liang | 72aa60a | 2020-03-06 22:54:00 +0800 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright (C) 2020 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 | |
| 17 | <ScrollView |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:gravity="center" |
| 22 | android:textDirection="locale" |
| 23 | android:scrollbarStyle="outsideOverlay"> |
| 24 | |
| 25 | <LinearLayout |
| 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:orientation="vertical" |
| 29 | android:padding="24dp"> |
| 30 | |
| 31 | <TextSwitcher |
| 32 | android:id="@+id/title" |
| 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="wrap_content" |
| 35 | android:measureAllChildren="false" /> |
| 36 | |
| 37 | <androidx.viewpager.widget.ViewPager |
| 38 | android:id="@+id/view_pager" |
| 39 | android:layout_width="match_parent" |
| 40 | android:layout_height="176dp" |
| 41 | android:paddingTop="16dp" |
| 42 | android:paddingBottom="16dp" /> |
| 43 | |
| 44 | <LinearLayout |
| 45 | android:id="@+id/indicator_container" |
| 46 | android:layout_width="wrap_content" |
| 47 | android:layout_height="10dp" |
| 48 | android:layout_gravity="center" /> |
| 49 | |
| 50 | <TextSwitcher |
| 51 | android:id="@+id/instruction" |
| 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:layout_marginTop="16dp" |
| 55 | android:measureAllChildren="false" /> |
| 56 | </LinearLayout> |
| 57 | |
| 58 | </ScrollView> |