Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 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 | |
Aran Ink | be297a5 | 2020-05-15 18:58:13 -0400 | [diff] [blame] | 17 | <com.android.systemui.globalactions.GlobalActionsItem |
Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
Lucas Dupin | cb6726f | 2020-04-07 19:32:38 -0700 | [diff] [blame] | 19 | android:layout_width="0dp" |
| 20 | android:layout_weight="1" |
Aran Ink | dcb42fe | 2020-05-15 14:16:12 -0400 | [diff] [blame] | 21 | android:layout_height="98dp" |
| 22 | android:gravity="bottom|center_horizontal" |
| 23 | android:orientation="vertical" |
| 24 | android:paddingTop="12dp" |
| 25 | android:paddingBottom="12dp" |
Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 26 | android:paddingLeft="@dimen/global_actions_grid_item_side_margin" |
| 27 | android:paddingRight="@dimen/global_actions_grid_item_side_margin" |
Lucas Dupin | cb6726f | 2020-04-07 19:32:38 -0700 | [diff] [blame] | 28 | android:layout_marginRight="@dimen/control_base_item_margin" |
| 29 | android:layout_marginLeft="@dimen/control_base_item_margin" |
Lucas Dupin | 6843f57 | 2020-04-13 14:42:43 -0700 | [diff] [blame] | 30 | android:stateListAnimator="@anim/control_state_list_animator" |
Lucas Dupin | 3a8531e | 2020-04-06 17:18:09 -0700 | [diff] [blame] | 31 | android:background="@drawable/control_background"> |
Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 32 | <ImageView |
| 33 | android:id="@*android:id/icon" |
Aran Ink | dcb42fe | 2020-05-15 14:16:12 -0400 | [diff] [blame] | 34 | android:layout_width="20dp" |
| 35 | android:layout_height="20dp" |
| 36 | android:layout_marginBottom="14dp" |
Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 37 | android:scaleType="centerInside" |
Aran Ink | dcb42fe | 2020-05-15 14:16:12 -0400 | [diff] [blame] | 38 | android:tint="@color/control_primary_text" /> |
Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 39 | <TextView |
| 40 | android:id="@*android:id/message" |
| 41 | android:layout_width="match_parent" |
| 42 | android:layout_height="wrap_content" |
Aran Ink | be297a5 | 2020-05-15 18:58:13 -0400 | [diff] [blame] | 43 | android:ellipsize="end" |
Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 44 | android:marqueeRepeatLimit="marquee_forever" |
Aran Ink | dcb42fe | 2020-05-15 14:16:12 -0400 | [diff] [blame] | 45 | android:maxLines="2" |
| 46 | android:textSize="12sp" |
Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 47 | android:gravity="center" |
Aran Ink | dcb42fe | 2020-05-15 14:16:12 -0400 | [diff] [blame] | 48 | android:textColor="@color/control_primary_text" |
| 49 | android:breakStrategy="high_quality" |
| 50 | android:hyphenationFrequency="full" |
Matt Pietal | fd3b6cb | 2020-01-08 09:43:54 -0500 | [diff] [blame] | 51 | android:textAppearance="?android:attr/textAppearanceSmall" /> |
Aran Ink | be297a5 | 2020-05-15 18:58:13 -0400 | [diff] [blame] | 52 | </com.android.systemui.globalactions.GlobalActionsItem> |