2015-04-21 23:30:06 +10:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-11-02 16:50:01 +03:00
|
|
|
<RelativeLayout
|
2015-04-21 23:30:06 +10:00
|
|
|
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"
|
2015-11-02 16:50:01 +03:00
|
|
|
android:layout_height="48dp"
|
2015-10-29 17:38:04 +03:00
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginRight="8dp"
|
2015-11-02 16:50:01 +03:00
|
|
|
android:paddingBottom="1dp" />
|
2015-10-29 17:38:04 +03:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="2dp"
|
2015-11-02 16:50:01 +03:00
|
|
|
android:layout_alignBottom="@id/category_spinner"
|
2015-10-29 17:38:04 +03:00
|
|
|
android:background="@color/fdroid_green" />
|
2015-04-21 23:30:06 +10:00
|
|
|
|
2015-11-07 09:05:10 +11:00
|
|
|
<!-- The empty app list message gets shown on the parent of the @android:id/list.
|
|
|
|
For the update/installed lists, this is not a problem as it is attached to the linear
|
|
|
|
layout the list is in. However here, it will end up in the relative layout which
|
|
|
|
causes sadness. This FrameLayout is here so that the empty message will get shown here. -->
|
|
|
|
<FrameLayout
|
2015-04-21 23:30:06 +10:00
|
|
|
android:layout_width="match_parent"
|
2015-11-02 16:50:01 +03:00
|
|
|
android:layout_height="match_parent"
|
2015-11-07 09:05:10 +11:00
|
|
|
android:layout_below="@id/category_spinner">
|
|
|
|
|
|
|
|
<ListView
|
|
|
|
android:id="@android:id/list"
|
|
|
|
android:fastScrollEnabled="true"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
2015-04-21 23:30:06 +10:00
|
|
|
|
2015-11-02 16:50:01 +03:00
|
|
|
</RelativeLayout>
|