Newer
Older
IrisClient / app / src / main / res / layout / activity_main.xml
r-kuraoka on 21 Jun 2022 1 KB MainActivityの作成
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".MainActivity">
  8.  
  9. <Button
  10. android:id="@+id/create_room"
  11. android:layout_width="315dp"
  12. android:layout_height="77dp"
  13. android:text="ルームの作成"
  14. android:textSize="24sp"
  15. app:layout_constraintBottom_toBottomOf="parent"
  16. app:layout_constraintEnd_toEndOf="parent"
  17. app:layout_constraintStart_toStartOf="parent"
  18. app:layout_constraintTop_toTopOf="parent"
  19. app:layout_constraintVertical_bias="0.26" />
  20.  
  21. <Button
  22. android:id="@+id/entry_room"
  23. android:layout_width="315dp"
  24. android:layout_height="77dp"
  25. android:text="ルームに入る"
  26. android:textSize="24sp"
  27. app:layout_constraintBottom_toBottomOf="parent"
  28. app:layout_constraintEnd_toEndOf="parent"
  29. app:layout_constraintStart_toStartOf="parent"
  30. app:layout_constraintTop_toBottomOf="@+id/create_room"
  31. app:layout_constraintVertical_bias="0.513" />
  32. </androidx.constraintlayout.widget.ConstraintLayout>