Added ProgressBar and better text to AddContactsActivity.

This commit is contained in:
Felix Ableitner 2015-06-24 10:42:28 +02:00
parent 71791c252f
commit a06884f204
2 changed files with 18 additions and 4 deletions

View file

@ -9,12 +9,26 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<TextView
<LinearLayout
android:id="@android:id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/no_devices_nearby"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true" />
android:layout_centerVertical="true"
android:gravity="center"
android:orientation="vertical" >
<ProgressBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:indeterminate="true" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/devices_empty"
android:gravity="center" />
</LinearLayout>
</RelativeLayout>

View file

@ -31,7 +31,7 @@
<string name="add_contacts">Add Contacts</string>
<!-- Empty text for devices list -->
<string name="no_devices_nearby">No nearby devices found</string>
<string name="devices_empty">Searching for Users\nRange: ~10m</string>
<!-- ConfirmAddContactDialog -->