Garfield, Tan | 61f564b | 2016-08-16 13:36:15 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2016 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 | <LinearLayout |
| 19 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | android:id="@+id/dropdown_sort_widget" |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="@dimen/doc_header_height" |
| 23 | android:paddingEnd="@dimen/dropdown_sort_widget_margin" |
| 24 | android:background="@drawable/sort_widget_background" |
| 25 | android:gravity="center_vertical|end" |
| 26 | android:orientation="horizontal"> |
| 27 | |
| 28 | <TextView |
| 29 | android:id="@+id/sort_dimen_dropdown" |
| 30 | android:layout_width="wrap_content" |
| 31 | android:layout_height="match_parent" |
| 32 | android:gravity="center" |
Jon Mann | dea5491 | 2017-02-16 15:11:57 -0800 | [diff] [blame^] | 33 | android:fontFamily="sans-serif-medium" |
| 34 | android:textSize="14sp" |
| 35 | android:textColor="@color/sort_widget_text_color"/> |
Garfield, Tan | 61f564b | 2016-08-16 13:36:15 -0700 | [diff] [blame] | 36 | |
| 37 | <ImageView |
| 38 | android:id="@+id/sort_arrow" |
| 39 | android:layout_width="@dimen/dropdown_sort_widget_icon_size" |
| 40 | android:layout_height="@dimen/dropdown_sort_widget_icon_size" |
| 41 | android:layout_marginStart="10dp" |
| 42 | android:padding="3dp" |
Garfield Tan | 7c43d31 | 2016-10-20 12:05:33 -0700 | [diff] [blame] | 43 | android:src="@drawable/ic_sort_arrow" |
| 44 | android:accessibilityTraversalAfter="@id/sort_dimen_dropdown"/> |
Garfield, Tan | 61f564b | 2016-08-16 13:36:15 -0700 | [diff] [blame] | 45 | |
| 46 | </LinearLayout> |