Antony Sargent | 59adc31 | 2019-01-28 16:10:58 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2019 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 | |
| 18 | <ImageView |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | android:id="@+id/add_preference_widget" |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent" |
| 23 | android:layout_gravity="center" |
Andrew Sapperstein | d851643 | 2019-04-04 17:22:10 -0700 | [diff] [blame] | 24 | android:minWidth="@dimen/two_target_min_width" |
Antony Sargent | 59adc31 | 2019-01-28 16:10:58 -0800 | [diff] [blame] | 25 | android:paddingStart="?android:attr/listPreferredItemPaddingEnd" |
| 26 | android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" |
| 27 | android:background="?android:attr/selectableItemBackground" |
| 28 | android:scaleType="center" |
| 29 | android:src="@drawable/ic_add_24dp" |
Andrew Sapperstein | d851643 | 2019-04-04 17:22:10 -0700 | [diff] [blame] | 30 | android:tint="?android:attr/colorAccent" |
Antony Sargent | 59adc31 | 2019-01-28 16:10:58 -0800 | [diff] [blame] | 31 | android:contentDescription="@string/add" /> |
| 32 | |