John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright (C) 2014 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 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | android:layout_width="match_parent" |
| 18 | android:layout_height="wrap_content" > |
| 19 | |
| 20 | <ImageView |
| 21 | android:id="@android:id/icon" |
| 22 | android:layout_width="@dimen/notification_app_icon_size" |
| 23 | android:layout_height="@dimen/notification_app_icon_size" |
| 24 | android:contentDescription="@null" |
| 25 | android:scaleType="center" /> |
| 26 | |
| 27 | <TextView |
| 28 | android:id="@android:id/title" |
| 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="@dimen/notification_app_icon_size" |
| 31 | android:layout_toEndOf="@android:id/icon" |
| 32 | android:ellipsize="end" |
| 33 | android:gravity="center_vertical" |
| 34 | android:singleLine="true" |
| 35 | android:textAlignment="viewStart" |
| 36 | android:textAppearance="?android:attr/textAppearanceLarge" /> |
| 37 | |
| 38 | <CheckBox |
| 39 | android:id="@android:id/button1" |
| 40 | android:layout_width="match_parent" |
| 41 | android:layout_height="@dimen/notification_app_icon_size" |
| 42 | android:layout_below="@android:id/icon" |
| 43 | android:layout_marginStart="@dimen/content_margin_left" |
| 44 | android:text="@string/app_notifications_dialog_show" |
| 45 | android:textAppearance="?android:attr/textAppearanceListItem" /> |
| 46 | |
John Spurlock | 81bef1d7 | 2014-05-16 15:50:13 -0400 | [diff] [blame] | 47 | <CheckBox |
| 48 | android:id="@android:id/button2" |
| 49 | android:layout_width="match_parent" |
| 50 | android:layout_height="@dimen/notification_app_icon_size" |
| 51 | android:layout_below="@android:id/button1" |
| 52 | android:layout_marginStart="@dimen/content_margin_left" |
| 53 | android:text="@string/app_notifications_dialog_priority" |
| 54 | android:textAppearance="?android:attr/textAppearanceListItem" /> |
| 55 | |
| 56 | <CheckBox |
| 57 | android:id="@android:id/button3" |
| 58 | android:layout_width="match_parent" |
| 59 | android:layout_height="@dimen/notification_app_icon_size" |
| 60 | android:layout_below="@android:id/button2" |
| 61 | android:layout_marginStart="@dimen/content_margin_left" |
| 62 | android:text="@string/app_notifications_dialog_visibility" |
| 63 | android:textAppearance="?android:attr/textAppearanceListItem" /> |
| 64 | |
John Spurlock | 4a35051 | 2014-04-08 14:08:21 -0400 | [diff] [blame] | 65 | </RelativeLayout> |