diff options
author | Kyle Horimoto <khorimoto@gmail.com> | 2015-09-04 13:22:36 -0700 |
---|---|---|
committer | Kyle Horimoto <khorimoto@gmail.com> | 2015-09-14 12:03:50 -0700 |
commit | b3e2dc01b9dc4045151a9040b3276ce5f6845a6b (patch) | |
tree | 62d39a1cdbffd351712ceebbb7abcb21d0545457 /app/src/main/res/layout | |
parent | 95591dd552e8878e333aee439f128e28f7fd522b (diff) | |
download | connectbot-b3e2dc01b9dc4045151a9040b3276ce5f6845a6b.tar.gz connectbot-b3e2dc01b9dc4045151a9040b3276ce5f6845a6b.tar.bz2 connectbot-b3e2dc01b9dc4045151a9040b3276ce5f6845a6b.zip |
Convert to using RecyclerView.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/act_hostlist.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/item_host.xml | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/res/layout/act_hostlist.xml b/app/src/main/res/layout/act_hostlist.xml index 647563c..bf80b1d 100644 --- a/app/src/main/res/layout/act_hostlist.xml +++ b/app/src/main/res/layout/act_hostlist.xml @@ -53,16 +53,15 @@ android:singleLine="true"/> </LinearLayout> - - <ListView - android:id="@android:id/list" + <android.support.v7.widget.RecyclerView + android:id="@+id/list" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@+id/quickconnect" /> <TextView - android:id="@android:id/empty" + android:id="@+id/empty" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@+id/quickconnect" diff --git a/app/src/main/res/layout/item_host.xml b/app/src/main/res/layout/item_host.xml index 8c9f9fc..e8f81bc 100644 --- a/app/src/main/res/layout/item_host.xml +++ b/app/src/main/res/layout/item_host.xml @@ -23,6 +23,7 @@ android:layout_width="fill_parent" android:layout_height="wrap_content" android:minHeight="72dp" + android:background="?android:attr/selectableItemBackground" > <ImageView |