diff options
Diffstat (limited to 'remoting/resources/android/layout/main.xml')
-rw-r--r-- | remoting/resources/android/layout/main.xml | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/remoting/resources/android/layout/main.xml b/remoting/resources/android/layout/main.xml index b3a6754..975cd6b 100644 --- a/remoting/resources/android/layout/main.xml +++ b/remoting/resources/android/layout/main.xml @@ -11,11 +11,27 @@ <ListView android:id="@+id/hostList_chooser" android:layout_height="match_parent" android:layout_width="match_parent"/> - <TextView android:id="@+id/hostList_empty" + <LinearLayout android:id="@+id/hostList_empty" + android:gravity="center" android:layout_height="match_parent" android:layout_width="match_parent" - android:text="@string/host_list_empty_android" - android:visibility="gone"/> + android:orientation="vertical" + android:visibility="gone"> + <ImageView android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:src="@drawable/empty_host_list"/> + <TextView android:gravity="center" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:text="@string/host_list_empty_android" + style="@style/EmptyStateText"/> + <TextView android:id="@+id/host_setup_link_android" + android:gravity="center" + android:layout_height="wrap_content" + android:layout_width="match_parent" + android:text="@string/host_setup_link_android" + style="@style/EmptyStateText.Hyperlink"/> + </LinearLayout> <ProgressBar android:id="@+id/hostList_progress" android:layout_height="wrap_content" android:layout_width="wrap_content" |