diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-09-22 22:37:39 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-22 23:54:26 +0200 |
commit | 6da6f7886a0370a6caeb6a7538c6174abeabcdd1 (patch) | |
tree | 5b2985e3ee27e1b4dfeb59804f808e4467a172d0 /ui/src/main/res/layout | |
parent | 8c2029870f53ecae8834f73d85f6a04ab79f8050 (diff) |
tv: set layout manager from XML
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res/layout')
-rw-r--r-- | ui/src/main/res/layout/tv_activity.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/main/res/layout/tv_activity.xml b/ui/src/main/res/layout/tv_activity.xml index 62c04076..75fe6490 100644 --- a/ui/src/main/res/layout/tv_activity.xml +++ b/ui/src/main/res/layout/tv_activity.xml @@ -57,9 +57,11 @@ app:configurationHandler="@{rowConfigurationHandler}" app:items="@{tunnels}" app:layout="@{@layout/tv_tunnel_list_item}" + app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" app:layout_constraintBottom_toTopOf="@id/delete_button" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/banner_logo" + app:spanCount="3" tools:itemCount="10" tools:listitem="@layout/tv_tunnel_list_item" /> |