レイアウト修正

This commit is contained in:
r-ca 2024-01-07 17:52:17 +09:00
parent 14837f83cc
commit 78c36df105
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -20,12 +20,34 @@
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/button_call_camera" android:id="@+id/button_call_camera"
style="@style/Widget.Material3.Button.IconButton.Filled" style="@style/Widget.Material3.Button.IconButton.Filled"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="16px" android:layout_margin="16px"
android:layout_weight="1" android:layout_weight="1"
android:text="Call camera" /> android:text="Call camera" />
</LinearLayout>
<LinearLayout
android:id="@+id/init_button_container"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal"
android:weightSum="2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/action_button_container">
<com.google.android.material.button.MaterialButton
android:id="@+id/button_create_documnent"
style="@style/Widget.Material3.Button.IconButton.Filled"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16px"
android:layout_weight="1"
android:text="Create Doc Obj" />
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/button_init_document_processor" android:id="@+id/button_init_document_processor"
style="@style/Widget.Material3.Button.IconButton.Filled" style="@style/Widget.Material3.Button.IconButton.Filled"
@ -33,7 +55,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="16px" android:layout_margin="16px"
android:layout_weight="1" android:layout_weight="1"
android:text="Init proc" /> android:text="Init Processor" />
</LinearLayout> </LinearLayout>
@ -45,6 +67,6 @@
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/action_button_container" /> app:layout_constraintTop_toBottomOf="@id/init_button_container" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>