diff --git a/android-app/app/src/main/java/com/echopen/asso/echopen/fragments/EchoFragment.java b/android-app/app/src/main/java/com/echopen/asso/echopen/fragments/EchoFragment.java
index db739e41..2f292a4b 100644
--- a/android-app/app/src/main/java/com/echopen/asso/echopen/fragments/EchoFragment.java
+++ b/android-app/app/src/main/java/com/echopen/asso/echopen/fragments/EchoFragment.java
@@ -5,10 +5,12 @@
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Point;
+import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.support.v4.app.Fragment;
+import android.support.v4.content.ContextCompat;
import android.util.Log;
import android.view.Display;
import android.view.LayoutInflater;
@@ -98,13 +100,14 @@ public void onClick(View v) {
if (mHandler != null) return true;
mHandler = new android.os.Handler();
mHandler.postDelayed(mAction, 250);
+ btn_capture.setBackgroundResource(R.drawable.capture_video);
break;
case MotionEvent.ACTION_UP:
if (mHandler == null) return true;
mHandler.removeCallbacks(mAction);
mHandler = null;
burstFireFolderCreated = false;
-
+ btn_capture.setBackgroundResource(R.drawable.capture);
break;
}
return false;
@@ -173,7 +176,7 @@ public void setPresenter(EchographyImageVisualisationContract.Presenter presente
}
});
- EchographyImageStreamingMode mode = new EchographyImageStreamingTCPMode("10.6.36.77", 7538);
+ EchographyImageStreamingMode mode = new EchographyImageStreamingTCPMode("192.168.1.41", 7538);
stream.connect(mode,activity);
presenter.start();
diff --git a/android-app/app/src/main/res/drawable-large-mdpi/background_help.png b/android-app/app/src/main/res/drawable-large-mdpi/background_help.png
new file mode 100644
index 00000000..8a5741c4
Binary files /dev/null and b/android-app/app/src/main/res/drawable-large-mdpi/background_help.png differ
diff --git a/android-app/app/src/main/res/drawable-large-mdpi/background_settings.png b/android-app/app/src/main/res/drawable-large-mdpi/background_settings.png
new file mode 100644
index 00000000..769bed4d
Binary files /dev/null and b/android-app/app/src/main/res/drawable-large-mdpi/background_settings.png differ
diff --git a/android-app/app/src/main/res/drawable-large-mdpi/capture.png b/android-app/app/src/main/res/drawable-large-mdpi/capture.png
new file mode 100644
index 00000000..6fa6ce58
Binary files /dev/null and b/android-app/app/src/main/res/drawable-large-mdpi/capture.png differ
diff --git a/android-app/app/src/main/res/drawable-large-mdpi/capture_video.png b/android-app/app/src/main/res/drawable-large-mdpi/capture_video.png
new file mode 100644
index 00000000..0abc57aa
Binary files /dev/null and b/android-app/app/src/main/res/drawable-large-mdpi/capture_video.png differ
diff --git a/android-app/app/src/main/res/drawable-mdpi/background_help.png b/android-app/app/src/main/res/drawable-mdpi/background_help.png
new file mode 100644
index 00000000..8a5741c4
Binary files /dev/null and b/android-app/app/src/main/res/drawable-mdpi/background_help.png differ
diff --git a/android-app/app/src/main/res/drawable-mdpi/background_settings.png b/android-app/app/src/main/res/drawable-mdpi/background_settings.png
new file mode 100644
index 00000000..769bed4d
Binary files /dev/null and b/android-app/app/src/main/res/drawable-mdpi/background_settings.png differ
diff --git a/android-app/app/src/main/res/drawable-mdpi/capture.png b/android-app/app/src/main/res/drawable-mdpi/capture.png
new file mode 100644
index 00000000..6fa6ce58
Binary files /dev/null and b/android-app/app/src/main/res/drawable-mdpi/capture.png differ
diff --git a/android-app/app/src/main/res/drawable-mdpi/capture_video.png b/android-app/app/src/main/res/drawable-mdpi/capture_video.png
new file mode 100644
index 00000000..0abc57aa
Binary files /dev/null and b/android-app/app/src/main/res/drawable-mdpi/capture_video.png differ
diff --git a/android-app/app/src/main/res/layout/fragment_echo.xml b/android-app/app/src/main/res/layout/fragment_echo.xml
index 61554608..de27ccf3 100644
--- a/android-app/app/src/main/res/layout/fragment_echo.xml
+++ b/android-app/app/src/main/res/layout/fragment_echo.xml
@@ -1,4 +1,5 @@
-
+
-
-
+
+
+
+
+
-
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ android:background="@color/white"
+ android:layout_gravity="bottom"
+ android:gravity="center"
+ android:weightSum="1">
+
+
+
+
diff --git a/android-app/app/src/main/res/layout/fragment_help.xml b/android-app/app/src/main/res/layout/fragment_help.xml
index ee6d064b..3e1a2312 100644
--- a/android-app/app/src/main/res/layout/fragment_help.xml
+++ b/android-app/app/src/main/res/layout/fragment_help.xml
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="#39DC62"
+ android:background="@drawable/background_help"
android:visibility="visible"
tools:context="com.echopen.asso.echopen.fragments.HelpFragment">
@@ -233,6 +233,15 @@
+
+
-
-
-
diff --git a/android-app/app/src/main/res/layout/fragment_settings.xml b/android-app/app/src/main/res/layout/fragment_settings.xml
index 183f55ec..7acf324c 100644
--- a/android-app/app/src/main/res/layout/fragment_settings.xml
+++ b/android-app/app/src/main/res/layout/fragment_settings.xml
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@android:color/holo_orange_light"
+ android:background="@drawable/background_settings"
android:visibility="visible"
android:id="@+id/settings_layer"
tools:context="com.echopen.asso.echopen.fragments.SettingsFragment">