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 @@ - + - -