@@ -23,7 +23,7 @@ android {
|
||
| 23 | 23 |
targetSdkVersion 24 |
| 24 | 24 |
versionCode 1 |
| 25 | 25 |
versionName "1.0" |
| 26 |
- buildConfigField "boolean", "isTestMode", "false" |
|
| 26 |
+ buildConfigField "boolean", "isTestMode", "true" |
|
| 27 | 27 |
} |
| 28 | 28 |
signingConfigs {
|
| 29 | 29 |
releaseConfig {
|
@@ -53,6 +53,7 @@ public class SessionInteractor {
|
||
| 53 | 53 |
|
| 54 | 54 |
public void startSession(){
|
| 55 | 55 |
if(BuildConfig.isTestMode){
|
| 56 |
+ isWorking = true; |
|
| 56 | 57 |
listener.onSessionStartSuccess(sessionBean.sessionId); |
| 57 | 58 |
startCapture(); |
| 58 | 59 |
return; |
@@ -1,12 +1,14 @@ |
||
| 1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 | 2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | 3 |
android:layout_width="wrap_content" |
| 4 |
- android:layout_height="wrap_content"> |
|
| 4 |
+ android:layout_height="wrap_content" |
|
| 5 |
+ android:padding="2dp"> |
|
| 5 | 6 |
|
| 6 | 7 |
<ImageView |
| 7 | 8 |
android:id="@+id/iv_session_photo_item" |
| 8 | 9 |
android:layout_width="wrap_content" |
| 9 | 10 |
android:layout_height="wrap_content" |
| 11 |
+ android:background="@color/image_bg_white" |
|
| 10 | 12 |
android:scaleType="centerCrop"/> |
| 11 | 13 |
|
| 12 | 14 |
<RelativeLayout |
@@ -16,6 +16,7 @@ |
||
| 16 | 16 |
|
| 17 | 17 |
<color name="pop_bg_color">#F7F7F7</color> |
| 18 | 18 |
<color name="dark_grey">#333333</color> |
| 19 |
+ <color name="image_bg_white">#F5F5F5</color> |
|
| 19 | 20 |
|
| 20 | 21 |
<color name="text_hint_grey_color">#CCCCCC</color> |
| 21 | 22 |
<color name="wx_login_btn_stroke">#25CA47</color> |
@@ -10,9 +10,9 @@ |
||
| 10 | 10 |
# Specifies the JVM arguments used for the daemon process. |
| 11 | 11 |
# The setting is particularly useful for tweaking memory settings. |
| 12 | 12 |
# Default value: -Xmx10248m -XX:MaxPermSize=256m |
| 13 |
-# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 |
|
| 13 |
+org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 |
|
| 14 | 14 |
|
| 15 | 15 |
# When configured, Gradle will run in incubating parallel mode. |
| 16 | 16 |
# This option should only be used with decoupled projects. More details, visit |
| 17 | 17 |
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects |
| 18 |
-# org.gradle.parallel=true |
|
| 18 |
+org.gradle.parallel=true |