レイアウトにRecyclerViewを追加

This commit is contained in:
ろむねこ 2023-12-20 12:21:31 +09:00 committed by ろむねこ
parent 8e97dd6972
commit e3220910f5

View File

@ -8,6 +8,7 @@
tools:context=".ScannerDataManagerStubFragment" > tools:context=".ScannerDataManagerStubFragment" >
<LinearLayout <LinearLayout
android:id="@+id/action_button_container"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="horizontal" android:orientation="horizontal"
@ -25,4 +26,14 @@
android:text="Call camera" /> android:text="Call camera" />
</LinearLayout> </LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/action_button_container" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>