1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 ~ Copyright (C) 2019 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:orientation="vertical" 20 android:layout_width="match_parent" 21 android:layout_height="match_parent"> 22 <ProgressBar 23 android:layout_width="match_parent" 24 android:layout_height="match_parent" 25 android:id="@+id/progress_bar" 26 android:minWidth="7dp" 27 android:maxWidth="10dp" 28 android:progressTint="#ff00ff" 29 style="@style/ExplicitStyle1" /> 30 31 <Switch android:layout_width="match_parent" 32 android:layout_height="match_parent" 33 android:id="@+id/switch_view" 34 android:switchPadding="5dp" 35 style="@style/ExplicitStyle2" /> 36 37 <Toolbar android:layout_width="match_parent" 38 android:layout_height="match_parent" 39 android:id="@+id/toolbar_view1" /> 40 <Toolbar android:layout_width="match_parent" 41 android:layout_height="match_parent" 42 android:id="@+id/toolbar_view2" 43 style="@style/ExplicitStyle1" /> 44 45 <TextView 46 android:id="@+id/textview1" 47 android:layout_width="wrap_content" 48 android:layout_height="wrap_content" 49 style="@style/ExplicitStyle1" /> 50 51 <ViewAnimator 52 android:id="@+id/viewAnimator" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:inAnimation="@android:anim/slide_in_left" 56 android:outAnimation="@android:anim/slide_out_right" /> 57</LinearLayout>