Tony Wickham | fb63fe8 | 2018-01-16 12:14:06 -0800 | [diff] [blame] | 1 | <?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 | |
| 17 | <FrameLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_height="48dp" |
| 20 | android:layout_width="match_parent" |
| 21 | android:background="@android:color/black" |
| 22 | android:layout_gravity="center"> |
Tony Wickham | 0239d5f | 2018-01-22 18:40:05 -0800 | [diff] [blame] | 23 | <View |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="1dp" |
| 26 | android:background="?android:attr/listDivider" |
| 27 | android:gravity="top"/> |
Tony Wickham | fb63fe8 | 2018-01-16 12:14:06 -0800 | [diff] [blame] | 28 | <TextView |
Tony Wickham | 0239d5f | 2018-01-22 18:40:05 -0800 | [diff] [blame] | 29 | android:id="@+id/onboarding_text" |
Tony Wickham | fb63fe8 | 2018-01-16 12:14:06 -0800 | [diff] [blame] | 30 | android:layout_width="wrap_content" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:layout_gravity="center" |
| 33 | android:text="@string/recents_swipe_up_onboarding" |
| 34 | android:textColor="@android:color/white" |
Tony Wickham | 0239d5f | 2018-01-22 18:40:05 -0800 | [diff] [blame] | 35 | android:textSize="16sp" |
Tony Wickham | fb63fe8 | 2018-01-16 12:14:06 -0800 | [diff] [blame] | 36 | android:drawableBottom="@drawable/ic_chevron_up"/> |
| 37 | <ImageView |
| 38 | android:id="@+id/dismiss" |
| 39 | android:layout_width="48dp" |
| 40 | android:layout_height="48dp" |
Tony Wickham | 0239d5f | 2018-01-22 18:40:05 -0800 | [diff] [blame] | 41 | android:padding="12dp" |
| 42 | android:layout_marginEnd="6dp" |
Tony Wickham | fb63fe8 | 2018-01-16 12:14:06 -0800 | [diff] [blame] | 43 | android:src="@drawable/ic_close_white" |
Tony Wickham | 0239d5f | 2018-01-22 18:40:05 -0800 | [diff] [blame] | 44 | android:background="?android:attr/selectableItemBackgroundBorderless" |
Tony Wickham | fb63fe8 | 2018-01-16 12:14:06 -0800 | [diff] [blame] | 45 | android:layout_gravity="center_vertical|end"/> |
| 46 | </FrameLayout> |