Newer
Older
CosmosClient / app / src / main / res / layout / activity_qrcode_reading.xml
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.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=".views.QRcodeReadingActivity">
  8.  
  9. <TextView
  10. android:id="@+id/textView7"
  11. android:layout_width="match_parent"
  12. android:layout_height="75dp"
  13. android:background="#e6eae3"
  14. android:gravity="center"
  15. android:text="QRコードでグループに入る"
  16. android:textSize="24sp"
  17. app:layout_constraintTop_toTopOf="parent"
  18. tools:layout_editor_absoluteX="16dp" />
  19. <TextView
  20. android:id="@+id/QRcodeResult"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_marginStart="8dp"
  24. android:layout_marginLeft="8dp"
  25. android:layout_marginTop="328dp"
  26. android:layout_marginEnd="8dp"
  27. android:layout_marginRight="8dp"
  28. android:textSize="24sp"
  29. app:layout_constraintEnd_toEndOf="parent"
  30. app:layout_constraintHorizontal_bias="0.498"
  31. app:layout_constraintStart_toStartOf="parent"
  32. app:layout_constraintTop_toTopOf="parent" />
  33.  
  34. <TextView
  35. android:id="@+id/result"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_marginTop="8dp"
  39. android:layout_marginBottom="8dp"
  40. app:layout_constraintBottom_toBottomOf="parent"
  41. app:layout_constraintEnd_toEndOf="parent"
  42. app:layout_constraintHorizontal_bias="0.5"
  43. app:layout_constraintStart_toStartOf="parent"
  44. app:layout_constraintTop_toBottomOf="@+id/QRcodeResult" />
  45.  
  46. <Button
  47. android:id="@+id/Addbutton"
  48. android:layout_width="wrap_content"
  49. android:layout_height="wrap_content"
  50. android:layout_marginTop="76dp"
  51. android:text="グループに入る"
  52. app:layout_constraintEnd_toEndOf="@+id/QRcodeResult"
  53. app:layout_constraintStart_toStartOf="@+id/QRcodeResult"
  54. app:layout_constraintTop_toBottomOf="@+id/QRcodeResult" />
  55.  
  56. </android.support.constraint.ConstraintLayout>