Jason Monk | 5b3aa36 | 2015-03-18 16:03:57 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2015 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 | |
tmfang | 0d07dd1 | 2018-10-04 17:59:03 +0800 | [diff] [blame] | 18 | <RelativeLayout |
Fan Zhang | 3ca5e45 | 2017-03-02 16:53:15 -0800 | [diff] [blame] | 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
Jason Monk | 5b3aa36 | 2015-03-18 16:03:57 -0400 | [diff] [blame] | 20 | android:layout_width="match_parent" |
tmfang | 7fb266f | 2019-02-18 11:08:24 +0800 | [diff] [blame] | 21 | android:layout_height="wrap_content" |
| 22 | android:background="@android:color/transparent"> |
Jason Monk | 5b3aa36 | 2015-03-18 16:03:57 -0400 | [diff] [blame] | 23 | |
tmfang | 0d07dd1 | 2018-10-04 17:59:03 +0800 | [diff] [blame] | 24 | <com.android.settingslib.widget.settingsspinner.SettingsSpinner |
Jason Monk | 5b3aa36 | 2015-03-18 16:03:57 -0400 | [diff] [blame] | 25 | android:id="@+id/filter_spinner" |
| 26 | android:layout_height="wrap_content" |
tmfang | 0d07dd1 | 2018-10-04 17:59:03 +0800 | [diff] [blame] | 27 | android:layout_width="wrap_content" |
| 28 | android:layout_centerHorizontal="true" |
tmfang | ca46ea6 | 2019-04-24 16:52:00 +0800 | [diff] [blame] | 29 | android:layout_marginTop="16dp" |
tmfang | c0b2d06 | 2019-06-13 15:29:45 +0800 | [diff] [blame] | 30 | android:layout_marginBottom="8dp" |
| 31 | android:theme="@style/Widget.PopupWindow.Settings"/> |
Jason Monk | 5b3aa36 | 2015-03-18 16:03:57 -0400 | [diff] [blame] | 32 | |
Jason Monk | b37e288 | 2016-01-11 14:27:20 -0500 | [diff] [blame] | 33 | <ImageView |
| 34 | android:id="@+id/filter_settings" |
Fan Zhang | 3ca5e45 | 2017-03-02 16:53:15 -0800 | [diff] [blame] | 35 | style="?android:attr/borderlessButtonStyle" |
Jason Monk | b37e288 | 2016-01-11 14:27:20 -0500 | [diff] [blame] | 36 | android:layout_width="56dp" |
| 37 | android:layout_height="56dp" |
tmfang | 0d07dd1 | 2018-10-04 17:59:03 +0800 | [diff] [blame] | 38 | android:layout_marginTop="12dp" |
| 39 | android:layout_toRightOf="@id/filter_spinner" |
Jason Monk | b37e288 | 2016-01-11 14:27:20 -0500 | [diff] [blame] | 40 | android:contentDescription="@string/configure" |
| 41 | android:scaleType="center" |
tmfang | 6e16b69 | 2018-10-11 16:20:15 +0800 | [diff] [blame] | 42 | android:src="@drawable/ic_apps_filter_settings_24dp" |
tmfang | 0d07dd1 | 2018-10-04 17:59:03 +0800 | [diff] [blame] | 43 | android:visibility="gone"/> |
Jason Monk | b37e288 | 2016-01-11 14:27:20 -0500 | [diff] [blame] | 44 | |
tmfang | 0d07dd1 | 2018-10-04 17:59:03 +0800 | [diff] [blame] | 45 | </RelativeLayout> |
Jason Monk | 5b3aa36 | 2015-03-18 16:03:57 -0400 | [diff] [blame] | 46 | |