blob: d837bf7c50fe482ca21d10781babcc531fac002b [file] [log] [blame]
Garfield, Tan61f564b2016-08-16 13:36:15 -07001<?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 Manndea54912017-02-16 15:11:57 -080033 android:fontFamily="sans-serif-medium"
34 android:textSize="14sp"
35 android:textColor="@color/sort_widget_text_color"/>
Garfield, Tan61f564b2016-08-16 13:36:15 -070036
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 Tan7c43d312016-10-20 12:05:33 -070043 android:src="@drawable/ic_sort_arrow"
44 android:accessibilityTraversalAfter="@id/sort_dimen_dropdown"/>
Garfield, Tan61f564b2016-08-16 13:36:15 -070045
46</LinearLayout>