mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Switch from hiding the "skip" text after looking up cats, to hiding it initially and showing it after doing the local search for recent cats.
63 lines
No EOL
2.1 KiB
XML
63 lines
No EOL
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="#AA000000"
|
|
android:paddingBottom="8dip"
|
|
android:paddingLeft="16dip"
|
|
android:paddingRight="16dip"
|
|
android:paddingTop="8dip"
|
|
>
|
|
|
|
<FrameLayout
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
>
|
|
<EditText
|
|
android:id="@+id/categoriesSearchBox"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:hint="@string/categories_search_text_hint"
|
|
android:singleLine="true"
|
|
/>
|
|
<ProgressBar
|
|
android:id="@+id/categoriesSearchInProgress"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:indeterminate="true"
|
|
android:indeterminateOnly="true"
|
|
android:layout_marginRight="4dp"
|
|
android:layout_gravity="center_vertical|right"
|
|
style="?android:progressBarStyleSmall"
|
|
android:visibility="gone"
|
|
/>
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/categoriesNotFound"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:visibility="gone"
|
|
android:gravity="center"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/categoriesExplanation"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_marginTop="48dp"
|
|
android:gravity="center"
|
|
android:focusable="true"
|
|
android:text="@string/categories_skip_explanation"
|
|
android:visibility="gone"
|
|
/>
|
|
|
|
<ListView
|
|
android:id="@+id/categoriesListBox"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="match_parent"
|
|
android:fadingEdge="none"
|
|
/>
|
|
</LinearLayout> |