Commit 7ae3cd1c authored by vvb2060's avatar vvb2060 Committed by John Wu

Fix D-pad navigation on android 8-

parent edfd4dcd
...@@ -147,6 +147,7 @@ ...@@ -147,6 +147,7 @@
android:enabled="@{viewModel.grantEnabled}" android:enabled="@{viewModel.grantEnabled}"
android:text="@string/grant" /> android:text="@string/grant" />
<requestFocus />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
......
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?selectableItemBackground" android:background="?selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:nextFocusRight="@id/hide_expand_icon" android:nextFocusRight="@id/hide_expand_icon"
android:onClick="@{item::toggleExpand}"> android:onClick="@{item::toggleExpand}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment