
Previously, a few people have been confused by an empty list when they first open F-Droid (e.g. if they are not connected to the internet, and repos didn't update). This provides some feedback so that there is never a blank screen. Fixes Issue #34.
19 lines
765 B
XML
19 lines
765 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:padding="20dp"
|
|
android:gravity="center_vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/text"
|
|
android:layout_gravity="center_horizontal"
|
|
android:textAlignment="center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:textSize="20sp"
|
|
tools:text="No apps in this category.\n\nTry selecting a different category or updating your repositories to get a fresh list of apps." />
|
|
|
|
</LinearLayout> |