diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/room_fragment.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/layout/watch_code_fragment.xml | 10 |
2 files changed, 11 insertions, 7 deletions
diff --git a/app/src/main/res/layout/room_fragment.xml b/app/src/main/res/layout/room_fragment.xml index 81f8419..bf49aa1 100644 --- a/app/src/main/res/layout/room_fragment.xml +++ b/app/src/main/res/layout/room_fragment.xml @@ -1,10 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout 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:layout_width="match_parent" android:layout_height="match_parent" - android:foregroundTint="@color/white"> + android:foregroundTint="@color/white" + + > <TextView android:id="@+id/room_header_text" @@ -20,7 +21,8 @@ android:layout_width="match_parent" android:layout_height="0dp" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintTop_toBottomOf="@+id/room_header_text" > + app:layout_constraintTop_toBottomOf="@+id/room_header_text" + android:fitsSystemWindows="true"> </androidx.recyclerview.widget.RecyclerView> diff --git a/app/src/main/res/layout/watch_code_fragment.xml b/app/src/main/res/layout/watch_code_fragment.xml index 7bfe60a..ab93298 100644 --- a/app/src/main/res/layout/watch_code_fragment.xml +++ b/app/src/main/res/layout/watch_code_fragment.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout 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/watch_code_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" - android:padding="15dp"> + android:padding="15dp" + android:focusable="true" android:focusableInTouchMode="true"> <ProgressBar android:id="@+id/progressBar1" style="?android:attr/progressBarStyleLarge" @@ -56,12 +56,14 @@ <ScrollView android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:layout_marginBottom="?android:attr/actionBarSize"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical"> + android:orientation="vertical" + android:layout_marginBottom="?android:attr/actionBarSize"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/recent_friend_codes_recycler_view" |