Newer
Older
org.ntlab.amaryllis.client / app / src / main / res / layout / fragment_maps.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. tools:context=".fragment.MapsFragment">
  8.  
  9.  
  10. <fragment
  11. android:id="@+id/map"
  12. android:name="com.google.android.gms.maps.SupportMapFragment"
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent"
  15. tools:context=".fragment.MapsFragment"
  16. tools:layout_editor_absoluteX="0dp"
  17. tools:layout_editor_absoluteY="94dp" />
  18.  
  19. <TextView
  20. android:id="@+id/Notice"
  21. android:layout_width="wrap_content"
  22. android:layout_height="30dp"
  23. android:layout_marginStart="16dp"
  24. android:text="ここにボタンを押した時の挙動が表示されます。"
  25. android:textSize="18sp"
  26. app:layout_constraintBottom_toBottomOf="parent"
  27. app:layout_constraintStart_toStartOf="@+id/map"
  28. app:layout_constraintTop_toTopOf="@+id/map"
  29. app:layout_constraintVertical_bias="0.763" />
  30.  
  31. <TextView
  32. android:id="@+id/VoiceTime"
  33. android:layout_width="296dp"
  34. android:layout_height="30dp"
  35. android:layout_marginStart="15dp"
  36. android:text="ここに再生時間が表示されます。"
  37. android:textSize="18sp"
  38. app:layout_constraintBottom_toBottomOf="parent"
  39. app:layout_constraintEnd_toEndOf="parent"
  40. app:layout_constraintHorizontal_bias="0.01"
  41. app:layout_constraintStart_toStartOf="@+id/map"
  42. app:layout_constraintTop_toTopOf="@+id/map"
  43. app:layout_constraintVertical_bias="0.72" />
  44.  
  45. <FrameLayout
  46. android:layout_width="83dp"
  47. android:layout_height="65dp"
  48. android:layout_marginStart="16dp"
  49. app:layout_constraintBottom_toBottomOf="@+id/map"
  50. app:layout_constraintStart_toStartOf="@+id/map"
  51. app:layout_constraintTop_toTopOf="@+id/map">
  52.  
  53. <Button
  54. android:id="@+id/button"
  55. android:layout_width="52dp"
  56. android:layout_height="45dp"
  57. android:alpha="0"
  58. android:text="録音" />
  59.  
  60. <ImageView
  61. android:id="@+id/R_Stoping"
  62. android:layout_width="52dp"
  63. android:layout_height="52dp"
  64. app:srcCompat="@android:drawable/stat_notify_call_mute" />
  65.  
  66. <ImageView
  67. android:id="@+id/R_Playing"
  68. android:layout_width="52dp"
  69. android:layout_height="52dp"
  70. android:alpha="0"
  71. app:srcCompat="@android:drawable/ic_btn_speak_now" />
  72.  
  73. </FrameLayout>
  74.  
  75. <LinearLayout
  76. android:layout_width="250dp"
  77. android:layout_height="246dp"
  78. android:layout_marginStart="60dp"
  79. android:orientation="vertical"
  80. app:layout_constraintBottom_toBottomOf="@+id/map"
  81. app:layout_constraintStart_toStartOf="parent"
  82. app:layout_constraintTop_toTopOf="@+id/map"
  83. app:layout_constraintVertical_bias="0.336">
  84.  
  85. <TextView
  86. android:id="@+id/VoiceTitle"
  87. android:layout_width="match_parent"
  88. android:layout_height="38dp"
  89. android:text="TextView" />
  90.  
  91. <TextView
  92. android:id="@+id/VoiceOverview"
  93. android:layout_width="match_parent"
  94. android:layout_height="46dp"
  95. android:text="TextView" />
  96.  
  97. <Button
  98. android:id="@+id/btnDispDialog"
  99. android:layout_width="wrap_content"
  100. android:layout_height="wrap_content"
  101. android:text="Button" />
  102.  
  103. </LinearLayout>
  104.  
  105. <FrameLayout
  106. android:id="@+id/frameLayout"
  107. android:layout_width="83dp"
  108. android:layout_height="65dp"
  109. android:layout_marginStart="16dp"
  110. app:layout_constraintBottom_toBottomOf="parent"
  111. app:layout_constraintStart_toStartOf="parent"
  112. app:layout_constraintTop_toTopOf="parent"
  113. app:layout_constraintVertical_bias="0.63">
  114.  
  115. <Button
  116. android:id="@+id/button2"
  117. android:layout_width="52dp"
  118. android:layout_height="48dp"
  119. android:alpha="0"
  120. android:text="再生" />
  121.  
  122. <ImageView
  123. android:id="@+id/Stoping"
  124. android:layout_width="52dp"
  125. android:layout_height="52dp"
  126. android:src="@android:drawable/ic_media_play" />
  127.  
  128. <ImageView
  129. android:id="@+id/Playing"
  130. android:layout_width="52dp"
  131. android:layout_height="52dp"
  132. android:alpha="0"
  133. android:src="@android:drawable/ic_media_pause" />
  134.  
  135. </FrameLayout>
  136.  
  137.  
  138. </androidx.constraintlayout.widget.ConstraintLayout>