Newer
Older
org.ntlab.acanthus_client / app / src / main / res / layout / activity_paint.xml
  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. android:orientation="vertical"
  8. tools:context=".views.paint.PaintActivity">
  9.  
  10. <com.google.android.material.bottomnavigation.BottomNavigationView
  11. android:id="@+id/navPaint"
  12. android:layout_width="410dp"
  13. android:layout_height="54dp"
  14. android:background="#FFFFFF"
  15. app:labelVisibilityMode="labeled"
  16. app:layout_constraintBottom_toBottomOf="parent"
  17. app:layout_constraintEnd_toEndOf="parent"
  18. app:layout_constraintHorizontal_bias="1.0"
  19. app:layout_constraintStart_toStartOf="parent"
  20. app:menu="@menu/bottom_nav_paint" />
  21.  
  22. <org.ntlab.acanthus_client.views.paint.PaintCanvas
  23. android:id="@+id/myCanvas"
  24. android:layout_width="411dp"
  25. android:layout_height="674dp"
  26. android:layout_weight="1"
  27. app:layout_constraintBottom_toTopOf="@+id/navPaint"
  28. app:layout_constraintEnd_toEndOf="parent"
  29. app:layout_constraintHorizontal_bias="1.0"
  30. app:layout_constraintStart_toStartOf="parent"
  31. app:layout_constraintTop_toTopOf="parent"
  32. app:layout_constraintVertical_bias="1.0" />
  33.  
  34. <org.ntlab.acanthus_client.views.paint.PaintOnionCanvas
  35. android:id="@+id/paintOnionCanvas"
  36. android:layout_width="411dp"
  37. android:layout_height="674dp"
  38. app:layout_constraintBottom_toBottomOf="@+id/myCanvas"
  39. app:layout_constraintEnd_toEndOf="parent"
  40. app:layout_constraintStart_toStartOf="parent"
  41. app:layout_constraintTop_toTopOf="parent" />
  42.  
  43. <TextView
  44. android:id="@+id/textViewCurAid"
  45. android:layout_width="wrap_content"
  46. android:layout_height="wrap_content"
  47. android:text="aid"
  48. app:layout_constraintBottom_toBottomOf="parent"
  49. app:layout_constraintEnd_toEndOf="parent"
  50. app:layout_constraintHorizontal_bias="0.147"
  51. app:layout_constraintStart_toStartOf="parent"
  52. app:layout_constraintTop_toTopOf="parent"
  53. app:layout_constraintVertical_bias="0.213" />
  54.  
  55. <LinearLayout
  56. android:layout_width="match_parent"
  57. android:layout_height="match_parent"
  58. android:layout_margin="0dp"
  59. android:gravity="center|center_vertical"
  60. app:layout_constraintTop_toTopOf="parent"
  61. tools:layout_editor_absoluteX="0dp">
  62.  
  63. <FrameLayout
  64. android:id="@+id/dummyFragment"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. app:layout_constraintEnd_toEndOf="@+id/myCanvas"
  68. app:layout_constraintHorizontal_bias="0.619"
  69. app:layout_constraintStart_toStartOf="@+id/myCanvas"
  70. tools:layout_editor_absoluteY="242dp">
  71.  
  72. </FrameLayout>
  73.  
  74. </LinearLayout>
  75.  
  76.  
  77.  
  78. <!-- <Button-->
  79. <!-- android:id="@+id/button_keep"-->
  80. <!-- android:layout_width="50dp"-->
  81. <!-- android:layout_height="50dp"-->
  82. <!-- android:layout_marginTop="600dp"-->
  83. <!-- android:background="@android:drawable/presence_online"-->
  84. <!-- android:backgroundTint="#00bcd4"-->
  85. <!-- android:text="✓"-->
  86. <!-- android:textColor="#FFFFFF"-->
  87. <!-- android:textSize="24sp"-->
  88. <!-- app:layout_constraintEnd_toEndOf="parent"-->
  89. <!-- app:layout_constraintHorizontal_bias="1.0"-->
  90. <!-- app:layout_constraintStart_toStartOf="parent"-->
  91. <!-- app:layout_constraintTop_toTopOf="parent" />-->
  92.  
  93. <!-- <Button-->
  94. <!-- android:id="@+id/capture"-->
  95. <!-- android:layout_width="136dp"-->
  96. <!-- android:layout_height="52dp"-->
  97. <!-- android:padding="@dimen/activity_vertical_margin"-->
  98. <!-- android:text="capture"-->
  99. <!-- android:background="@android:drawable/presence_online"-->
  100. <!-- app:layout_constraintBottom_toBottomOf="parent"-->
  101. <!-- app:layout_constraintEnd_toEndOf="parent"-->
  102. <!-- app:layout_constraintHorizontal_bias="0.498"-->
  103. <!-- app:layout_constraintStart_toStartOf="parent"-->
  104. <!-- app:layout_constraintTop_toBottomOf="@+id/image"-->
  105. <!-- app:layout_constraintVertical_bias="0.247" />-->
  106.  
  107. <!-- <ImageView-->
  108. <!-- android:id="@+id/image"-->
  109. <!-- android:layout_width="269dp"-->
  110. <!-- android:layout_height="436dp"-->
  111. <!-- android:padding="@dimen/activity_vertical_margin"-->
  112. <!-- app:layout_constraintBottom_toBottomOf="parent"-->
  113. <!-- app:layout_constraintEnd_toEndOf="parent"-->
  114. <!-- app:layout_constraintHorizontal_bias="0.711"-->
  115. <!-- app:layout_constraintStart_toStartOf="parent"-->
  116. <!-- app:layout_constraintTop_toTopOf="parent"-->
  117. <!-- app:layout_constraintVertical_bias="0.233" />-->
  118.  
  119. <!-- <TextView-->
  120. <!-- android:id="@+id/textView3"-->
  121. <!-- android:layout_width="wrap_content"-->
  122. <!-- android:layout_height="wrap_content"-->
  123. <!-- android:text="心がスクショしたがってるんだ。"-->
  124. <!-- android:textColor="#03A9F4"-->
  125. <!-- android:textSize="20sp"-->
  126. <!-- app:layout_constraintBottom_toTopOf="@+id/capture"-->
  127. <!-- app:layout_constraintEnd_toEndOf="parent"-->
  128. <!-- app:layout_constraintStart_toStartOf="parent"-->
  129. <!-- app:layout_constraintTop_toBottomOf="@+id/image"-->
  130. <!-- app:layout_constraintVertical_bias="0.0" />-->
  131.  
  132.  
  133. </androidx.constraintlayout.widget.ConstraintLayout>