diff --git a/app/src/main/java/org/ntlab/amaryllis/client/fragment/MapsFragment.java b/app/src/main/java/org/ntlab/amaryllis/client/fragment/MapsFragment.java
index 39e521a..9730e67 100644
--- a/app/src/main/java/org/ntlab/amaryllis/client/fragment/MapsFragment.java
+++ b/app/src/main/java/org/ntlab/amaryllis/client/fragment/MapsFragment.java
@@ -134,6 +134,8 @@
//録音開始&録音終了
private void startRecord(){
File wavFile = new File(filePath);
+ final ImageView R_Stoping = getView().findViewById(R.id.R_Stoping);
+ final ImageView R_Playing = getView().findViewById(R.id.R_Playing);
if(StartChange == 0) {
try {
TextView textView1 = (TextView)getView().findViewById(R.id.Notice);
@@ -142,6 +144,8 @@
mr.reset();
mr.release();
StartChange = 1;
+ R_Stoping.setAlpha(1.0f);
+ R_Playing.setAlpha(0.0f);
} catch (Exception e) {
e.printStackTrace();
}
@@ -159,6 +163,8 @@
mr.prepare();
mr.start();
StartChange = 0;
+ R_Stoping.setAlpha(0.0f);
+ R_Playing.setAlpha(1.0f);
} catch (Exception e) {
e.printStackTrace();
}
diff --git a/app/src/main/res/layout/fragment_maps.xml b/app/src/main/res/layout/fragment_maps.xml
index 208186b..cee3274 100644
--- a/app/src/main/res/layout/fragment_maps.xml
+++ b/app/src/main/res/layout/fragment_maps.xml
@@ -16,26 +16,16 @@
tools:layout_editor_absoluteX="0dp"
tools:layout_editor_absoluteY="0dp" />
-
-
+ app:layout_constraintVertical_bias="0.902">
@@ -85,5 +75,35 @@
app:layout_constraintTop_toTopOf="@+id/map"
app:layout_constraintVertical_bias="0.934" />
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file