diff options
Diffstat (limited to 'RotaryPlayground/res/layout/rotary_scroll.xml')
-rw-r--r-- | RotaryPlayground/res/layout/rotary_scroll.xml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/RotaryPlayground/res/layout/rotary_scroll.xml b/RotaryPlayground/res/layout/rotary_scroll.xml index 78c90c0..4153ca1 100644 --- a/RotaryPlayground/res/layout/rotary_scroll.xml +++ b/RotaryPlayground/res/layout/rotary_scroll.xml @@ -18,10 +18,23 @@ <com.android.car.ui.FocusArea xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:orientation="vertical"> + + <EditText + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:singleLine="true"/> <com.android.car.ui.recyclerview.CarUiRecyclerView android:id="@+id/rotary_scroll_view" android:layout_width="match_parent" - android:layout_height="match_parent"/> + android:layout_height="0dp" + android:layout_weight="1"/> + + <EditText + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:singleLine="true"/> + </com.android.car.ui.FocusArea> |