diff options
-rw-r--r-- | res/layout/act_hostlist.xml | 22 | ||||
-rw-r--r-- | res/values/strings.xml | 1 |
2 files changed, 19 insertions, 4 deletions
diff --git a/res/layout/act_hostlist.xml b/res/layout/act_hostlist.xml index 36d2235..6959dfb 100644 --- a/res/layout/act_hostlist.xml +++ b/res/layout/act_hostlist.xml @@ -23,13 +23,27 @@ android:layout_height="fill_parent" > - <ListView android:id="@android:id/list" + <RelativeLayout android:layout_width="fill_parent" android:layout_height="0dip" android:layout_weight="1" - /> - - + > + + <ListView android:id="@android:id/list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + /> + + <TextView android:id="@android:id/empty" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:text="@string/list_host_empty" + android:textAppearance="?android:attr/textAppearanceMedium" + android:gravity="center" + /> + + </RelativeLayout> + <FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content" diff --git a/res/values/strings.xml b/res/values/strings.xml index b12dfda..0285880 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -139,6 +139,7 @@ <string name="list_host_edit">Edit host</string> <string name="list_host_portforwards">Edit port forwards</string> <string name="list_host_delete">Delete host</string> + <string name="list_host_empty">Use the quick-connect box\nbelow to connect to a host.</string> <string name="list_rotation_land">Force landscape</string> <string name="list_rotation_port">Force portrait</string> |