104 lines
4.5 KiB
XML
104 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2019 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/app_entities_header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/block"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="33.33"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="vertical"
|
|
android:gravity="center">
|
|
|
|
<ImageButton
|
|
android:id="@+id/block_icon"
|
|
android:layout_width="@dimen/notification_importance_toggle_size"
|
|
android:layout_height="@dimen/notification_importance_toggle_size"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_notification_block"
|
|
android:contentDescription="@string/notification_block_title" />
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/notification_block_title"
|
|
android:layout_marginTop="@dimen/notification_importance_toggle_marginTop"
|
|
android:layout_marginBottom="@dimen/notification_importance_toggle_marginBottom"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/silence"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="33.33"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="vertical"
|
|
android:gravity="center">
|
|
|
|
<ImageButton
|
|
android:id="@+id/silence_icon"
|
|
android:layout_width="@dimen/notification_importance_toggle_size"
|
|
android:layout_height="@dimen/notification_importance_toggle_size"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_notification_silence"
|
|
android:contentDescription="@string/notification_silence_title" />
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/notification_silence_title"
|
|
android:layout_marginTop="@dimen/notification_importance_toggle_marginTop"
|
|
android:layout_marginBottom="@dimen/notification_importance_toggle_marginBottom"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/alert"
|
|
android:layout_width="0dp"
|
|
android:layout_weight="33.33"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:layout_marginTop="16dp"
|
|
android:orientation="vertical"
|
|
android:gravity="center">
|
|
|
|
<ImageButton
|
|
android:id="@+id/alert_icon"
|
|
android:layout_width="@dimen/notification_importance_toggle_size"
|
|
android:layout_height="@dimen/notification_importance_toggle_size"
|
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
|
android:src="@drawable/ic_notification_alert"
|
|
android:contentDescription="@string/notification_alert_title" />
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/notification_alert_title"
|
|
android:layout_marginTop="@dimen/notification_importance_toggle_marginTop"
|
|
android:layout_marginBottom="@dimen/notification_importance_toggle_marginBottom"
|
|
android:textAppearance="@*android:style/TextAppearance.DeviceDefault.Subhead" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |