blob: ffe2eee804475171af5b0de783f516f39785827c [file] [log] [blame]
Mady Mellor04d7a0f2017-01-25 13:16:03 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright 2017, 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
Rohan Shah20790b82018-07-02 17:21:04 -070018<com.android.systemui.statusbar.notification.row.NotificationSnooze
Mady Mellor04d7a0f2017-01-25 13:16:03 -080019 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
21 android:layout_height="wrap_content"
Mady Mellore09fb702017-03-30 13:23:29 -070022 android:orientation="vertical"
Mady Mellor920fd892017-06-06 09:35:03 -070023 android:clickable="true"
Mady Mellore09fb702017-03-30 13:23:29 -070024 android:background="@color/notification_guts_bg_color"
Lucas Dupincfc19df2018-08-20 16:34:50 -070025 android:theme="@style/Theme.SystemUI">
Mady Mellore09fb702017-03-30 13:23:29 -070026
27 <RelativeLayout
Mady Mellore09fb702017-03-30 13:23:29 -070028 android:id="@+id/notification_snooze"
Mady Mellor920fd892017-06-06 09:35:03 -070029 android:layout_width="match_parent"
Mady Mellore09fb702017-03-30 13:23:29 -070030 android:layout_height="@dimen/snooze_snackbar_min_height">
31
32 <TextView
33 android:id="@+id/snooze_option_default"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_alignParentStart="true"
37 android:layout_centerVertical="true"
Selim Cinek515b2032017-11-15 10:20:19 -080038 android:paddingStart="@*android:dimen/notification_content_margin_start"
Lucas Dupincfc19df2018-08-20 16:34:50 -070039 android:textColor="?android:attr/textColorPrimary"
Mady Mellore09fb702017-03-30 13:23:29 -070040 android:paddingEnd="4dp"/>
41
42 <ImageView
43 android:id="@+id/expand_button"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_toEndOf="@+id/snooze_option_default"
47 android:layout_centerVertical="true"
48 android:paddingTop="1dp"
49 android:tint="#9E9E9E" />
50
51 <TextView
52 android:id="@+id/undo"
Mady Mellore09fb702017-03-30 13:23:29 -070053 android:layout_width="wrap_content"
Rohan Shahc032ac92018-05-03 16:58:37 -070054 android:layout_height="48dp"
55 android:layout_marginEnd="@dimen/notification_guts_button_side_margin"
Mady Mellore09fb702017-03-30 13:23:29 -070056 android:layout_alignParentEnd="true"
57 android:layout_centerVertical="true"
Rohan Shahc032ac92018-05-03 16:58:37 -070058 android:text="@string/snooze_undo"
59 style="@style/TextAppearance.NotificationInfo.Button" />
Mady Mellore09fb702017-03-30 13:23:29 -070060 </RelativeLayout>
61
62 <View
63 android:id="@+id/divider"
64 android:layout_width="match_parent"
65 android:layout_height="0.5dp"
66 android:background="#9E9E9E" />
67
Mady Mellor04d7a0f2017-01-25 13:16:03 -080068 <LinearLayout
69 android:id="@+id/snooze_options"
70 android:layout_width="match_parent"
71 android:layout_height="wrap_content"
Mady Mellor04d7a0f2017-01-25 13:16:03 -080072 android:paddingBottom="8dp"
Mady Mellore09fb702017-03-30 13:23:29 -070073 android:orientation="vertical" />
74
Rohan Shah20790b82018-07-02 17:21:04 -070075</com.android.systemui.statusbar.notification.row.NotificationSnooze>