
This improves usability of the category spinner. Divider is now behind it. This makes the layout visually more compact while keeping actual touch target 48dp. See http://www.google.com/design/spec/layout/metrics-keylines.html#metrics-keylines-touch-target-size
30 lines
951 B
XML
30 lines
951 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<Spinner
|
|
android:id="@+id/category_spinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:layout_marginLeft="8dp"
|
|
android:layout_marginRight="8dp"
|
|
android:paddingBottom="1dp" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="2dp"
|
|
android:layout_alignBottom="@id/category_spinner"
|
|
android:background="@color/fdroid_green" />
|
|
|
|
<ListView
|
|
android:id="@android:id/list"
|
|
android:fastScrollEnabled="true"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/category_spinner" />
|
|
|
|
</RelativeLayout>
|