Debian Codegraph @

libs/WindowManager/Shell/res/layout/one_handed_tutorial.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4 ~ Copyright (C) 2020 The Android Open Source Project
5 ~
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License
17 -->
18 <LinearLayout
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:id="@+id/one_handed_tutorial_layout"
21 android:layout_width="match_parent"
22 android:layout_height="wrap_content"
23 android:orientation="vertical"
24 android:gravity="center_horizontal | center_vertical"
25 android:background="@android:color/transparent">
26
27 <ImageView
28 android:id="@+id/one_handed_tutorial_image"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:layout_marginTop="6dp"
32 android:layout_marginBottom="0dp"
33 android:gravity="center_horizontal"
34 android:src="@drawable/one_handed_tutorial_icon"
35 android:scaleType="centerInside" />
36
37 <TextView
38 android:id="@+id/one_handed_tutorial_title"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:layout_marginTop="6dp"
42 android:layout_marginBottom="0dp"
43 android:gravity="center_horizontal"
44 android:textAlignment="center"
45 android:fontFamily="google-sans-medium"
46 android:text="@string/one_handed_tutorial_title"
47 android:textSize="16sp"
48 android:textColor="@android:color/white"/>
49
50 <TextView
51 android:id="@+id/one_handed_tutorial_description"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_marginTop="6dp"
55 android:layout_marginBottom="0dp"
56 android:layout_marginStart="60dp"
57 android:layout_marginEnd="60dp"
58 android:gravity="center_horizontal"
59 android:fontFamily="roboto-regular"
60 android:text="@string/one_handed_tutorial_description"
61 android:textAlignment="center"
62 android:textSize="14sp"
63 android:textStyle="normal"
64 android:alpha="0.7"
65 android:textColor="@android:color/white"/>
66 </LinearLayout>