diff --git a/.DS_Store b/.DS_Store
index f6573c4..d3d4a66 100644
Binary files a/.DS_Store and b/.DS_Store differ
diff --git a/.gradle/5.4.1/executionHistory/executionHistory.bin b/.gradle/5.4.1/executionHistory/executionHistory.bin
index c67a9c5..4a048d3 100644
Binary files a/.gradle/5.4.1/executionHistory/executionHistory.bin and b/.gradle/5.4.1/executionHistory/executionHistory.bin differ
diff --git a/.gradle/5.4.1/executionHistory/executionHistory.lock b/.gradle/5.4.1/executionHistory/executionHistory.lock
index 054c6f7..1596e47 100644
Binary files a/.gradle/5.4.1/executionHistory/executionHistory.lock and b/.gradle/5.4.1/executionHistory/executionHistory.lock differ
diff --git a/.gradle/5.4.1/fileHashes/fileHashes.bin b/.gradle/5.4.1/fileHashes/fileHashes.bin
index 5fdd9af..d1c0227 100644
Binary files a/.gradle/5.4.1/fileHashes/fileHashes.bin and b/.gradle/5.4.1/fileHashes/fileHashes.bin differ
diff --git a/.gradle/5.4.1/fileHashes/fileHashes.lock b/.gradle/5.4.1/fileHashes/fileHashes.lock
index 28558c3..205f494 100644
Binary files a/.gradle/5.4.1/fileHashes/fileHashes.lock and b/.gradle/5.4.1/fileHashes/fileHashes.lock differ
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index 1565e24..c6d8395 100644
Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/.idea/caches/build_file_checksums.ser b/.idea/caches/build_file_checksums.ser
index c902174..01d9f3a 100644
Binary files a/.idea/caches/build_file_checksums.ser and b/.idea/caches/build_file_checksums.ser differ
diff --git a/.idea/caches/gradle_models.ser b/.idea/caches/gradle_models.ser
index 703bde3..14e8ace 100644
Binary files a/.idea/caches/gradle_models.ser and b/.idea/caches/gradle_models.ser differ
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 9670909..4a7f6db 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -10,22 +10,14 @@
-
-
-
-
-
-
-
-
@@ -45,12 +37,12 @@
-
-
+
+
-
-
+
+
@@ -73,8 +65,8 @@
-
-
+
+
@@ -84,9 +76,6 @@
-
-
-
@@ -100,20 +89,11 @@
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
@@ -121,8 +101,8 @@
-
-
+
+
@@ -176,7 +156,7 @@
-
+
@@ -185,6 +165,8 @@
+
+
@@ -197,32 +179,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -268,8 +224,6 @@
-
-
@@ -402,7 +356,7 @@
-
+
@@ -550,24 +504,42 @@
-
+
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
+
+
@@ -579,14 +551,12 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -602,46 +572,27 @@
-
-
-
-
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
+
+
diff --git a/README.md b/README.md
index 9f917be..3e4386e 100755
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ allprojects {
dependencies {
...
...
- implementation 'com.github.yellowmessenger:webviewsdk:0.0.7'
+ implementation 'com.github.yellowmessenger:webviewsdk:0.0.8'
}
diff --git a/app/src/main/java/com/yellowmessenger/dominossample/MainActivity.java b/app/src/main/java/com/yellowmessenger/dominossample/MainActivity.java
index 8f90f9e..97938b0 100755
--- a/app/src/main/java/com/yellowmessenger/dominossample/MainActivity.java
+++ b/app/src/main/java/com/yellowmessenger/dominossample/MainActivity.java
@@ -11,17 +11,16 @@
import androidx.appcompat.widget.Toolbar;
-import android.util.Log;
+
import android.view.Menu;
import android.view.MenuItem;
-import android.widget.Toast;
import java.util.HashMap;
public class MainActivity extends AppCompatActivity {
String configData = "{" +
"\"botName\": \"SomeBotName\"," +
- "\"botID\": \"\"" +
+ "\"botID\": \"x1569558732722\"" +
"}";
diff --git a/ymwebview/src/main/java/com/example/ymwebview/BotWebView.java b/ymwebview/src/main/java/com/example/ymwebview/BotWebView.java
index 11e72cd..d7aa1a5 100755
--- a/ymwebview/src/main/java/com/example/ymwebview/BotWebView.java
+++ b/ymwebview/src/main/java/com/example/ymwebview/BotWebView.java
@@ -12,6 +12,8 @@
import android.util.Log;
import android.view.View;
+import android.widget.Button;
+import android.widget.ImageButton;
import android.widget.RelativeLayout;
import android.widget.TextView;
import android.widget.Toast;
@@ -52,6 +54,11 @@ protected void onCreate(Bundle savedInstanceState) {
toggleBottomSheet();
});
}
+ ImageButton backButton = findViewById(R.id.backButton);
+ backButton.setOnClickListener(view->{
+ this.finish();
+ });
+
}
private void speechRecognition() {
diff --git a/ymwebview/src/main/res/drawable-hdpi/ic_back_button.png b/ymwebview/src/main/res/drawable-hdpi/ic_back_button.png
new file mode 100644
index 0000000..1230e92
Binary files /dev/null and b/ymwebview/src/main/res/drawable-hdpi/ic_back_button.png differ
diff --git a/ymwebview/src/main/res/drawable-mdpi/ic_back_button.png b/ymwebview/src/main/res/drawable-mdpi/ic_back_button.png
new file mode 100644
index 0000000..045eb40
Binary files /dev/null and b/ymwebview/src/main/res/drawable-mdpi/ic_back_button.png differ
diff --git a/ymwebview/src/main/res/drawable-xhdpi/ic_back_button.png b/ymwebview/src/main/res/drawable-xhdpi/ic_back_button.png
new file mode 100644
index 0000000..c97157f
Binary files /dev/null and b/ymwebview/src/main/res/drawable-xhdpi/ic_back_button.png differ
diff --git a/ymwebview/src/main/res/drawable-xxhdpi/ic_back_button.png b/ymwebview/src/main/res/drawable-xxhdpi/ic_back_button.png
new file mode 100644
index 0000000..86ef4ae
Binary files /dev/null and b/ymwebview/src/main/res/drawable-xxhdpi/ic_back_button.png differ
diff --git a/ymwebview/src/main/res/drawable-xxxhdpi/ic_back_button.png b/ymwebview/src/main/res/drawable-xxxhdpi/ic_back_button.png
new file mode 100644
index 0000000..984ae24
Binary files /dev/null and b/ymwebview/src/main/res/drawable-xxxhdpi/ic_back_button.png differ
diff --git a/ymwebview/src/main/res/layout/activity_bot_web_view.xml b/ymwebview/src/main/res/layout/activity_bot_web_view.xml
index 35d8ea7..85d795b 100755
--- a/ymwebview/src/main/res/layout/activity_bot_web_view.xml
+++ b/ymwebview/src/main/res/layout/activity_bot_web_view.xml
@@ -60,4 +60,15 @@
android:textSize="18sp" />
+
+
\ No newline at end of file
diff --git a/ymwebview/src/main/res/values/colors.xml b/ymwebview/src/main/res/values/colors.xml
index a9bb0e0..8b9f88e 100755
--- a/ymwebview/src/main/res/values/colors.xml
+++ b/ymwebview/src/main/res/values/colors.xml
@@ -5,6 +5,7 @@
#E31837
#FFFFFF
#2C2B2B
+ #00FFFFFF
#66000000