blob: 2538612db452c333a48bd60ca588fa20f5826e33 [file] [log] [blame]
Tony Wickhamfb63fe82018-01-16 12:14:06 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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
Tracy Zhou559d97c2018-04-07 23:54:46 -070017<LinearLayout
Tony Wickhamfb63fe82018-01-16 12:14:06 -080018 xmlns:android="http://schemas.android.com/apk/res/android"
Tracy Zhou559d97c2018-04-07 23:54:46 -070019 android:layout_height="wrap_content"
20 android:layout_width="wrap_content"
21 android:paddingBottom="13dp"
22 android:orientation="vertical">
23
24 <LinearLayout
Tony Wickhamfb63fe82018-01-16 12:14:06 -080025 android:layout_width="wrap_content"
Tracy Zhoue286c7c2018-05-24 10:56:38 -070026 android:layout_height="wrap_content"
Tracy Zhou559d97c2018-04-07 23:54:46 -070027 android:paddingStart="24dp"
28 android:paddingEnd="4dp"
29 android:background="@drawable/recents_onboarding_toast_rounded_background"
30 android:layout_gravity="center_horizontal"
31 android:elevation="2dp"
32 android:orientation="horizontal">
33
34 <TextView
35 android:id="@+id/onboarding_text"
Tracy Zhoue286c7c2018-05-24 10:56:38 -070036 android:layout_width="0dp"
Tracy Zhou559d97c2018-04-07 23:54:46 -070037 android:layout_height="wrap_content"
Tracy Zhoue286c7c2018-05-24 10:56:38 -070038 android:layout_weight="1"
Tracy Zhou559d97c2018-04-07 23:54:46 -070039 android:layout_gravity="center_vertical"
Tracy Zhou8b4bb862018-09-19 11:53:55 -070040 android:textColor="?attr/wallpaperTextColor"
Tracy Zhou559d97c2018-04-07 23:54:46 -070041 android:textSize="16sp"/>
42 <ImageView
43 android:id="@+id/dismiss"
44 android:layout_width="40dp"
45 android:layout_height="40dp"
46 android:layout_gravity="center_vertical"
47 android:padding="10dp"
48 android:layout_marginStart="2dp"
49 android:layout_marginEnd="2dp"
50 android:alpha="0.7"
51 android:src="@drawable/ic_close_white"
Tracy Zhou8b4bb862018-09-19 11:53:55 -070052 android:tint="?attr/wallpaperTextColor"
Tracy Zhou7b7f6fc2018-05-16 20:50:23 -070053 android:background="?android:attr/selectableItemBackgroundBorderless"
54 android:contentDescription="@string/accessibility_desc_close"/>
Tracy Zhou559d97c2018-04-07 23:54:46 -070055 </LinearLayout>
56
57 <View
58 android:id="@+id/arrow"
59 android:elevation="2dp"
60 android:layout_width="10dp"
61 android:layout_height="8dp"
62 android:layout_marginTop="-2dp"
63 android:layout_gravity="center_horizontal"/>
64</LinearLayout>