mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-18 05:49:19 +01:00
e2cae74425
Any `RecyclerView`s with an app bar in a `CoordinatorLayout` would end up going off-screen due to the layout behavior implementing an offset by using a transform which would not correctly handle focusing on off-screen objects. This has now been fixed by manually adjusting height to be clipped to what is visible on the screen.
21 lines
857 B
XML
21 lines
857 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/coordinator_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
tools:context=".input.ControllerActivity">
|
|
|
|
<include
|
|
android:id="@+id/titlebar"
|
|
layout="@layout/titlebar" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/controller_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|