Commit cbb8aa8d authored by wanglei's avatar wanglei

...

parent 63a52f51
...@@ -49,6 +49,7 @@ object LocationShareUtils { ...@@ -49,6 +49,7 @@ object LocationShareUtils {
.toString() .toString()
val paramJson = AESHelper.encrypt(body) val paramJson = AESHelper.encrypt(body)
LogEx.logDebug(TAG, "paramJson=$paramJson")
runCatching { runCatching {
val result = ReportUtils.doPost(url, HashMap(), paramJson) val result = ReportUtils.doPost(url, HashMap(), paramJson)
val responseData = extractData(result) val responseData = extractData(result)
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#01B787" />
<corners android:radius="10dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#5D7DEE" />
<corners android:radius="18dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_ffffff_10"
android:orientation="vertical"
android:paddingVertical="20dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="24dp"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:src="@mipmap/tu" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="8dp"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/copy_my_code_to_a_friend_to_view_his_her_location"
android:textColor="#010101"
android:textStyle="bold" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="Click to view!"
android:textColor="#01B787"
android:textSize="14sp"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_marginHorizontal="20dp"
android:layout_marginTop="10dp"
android:background="@drawable/bg_01b787_10"
android:gravity="center"
android:text="@string/open"
android:textColor="@color/white"
android:textSize="16sp" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_ffffff_10"
android:paddingVertical="20dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginHorizontal="16dp"
android:layout_weight="1"
android:text="@string/location_sharing_not_enabled_yet"
android:textColor="#010101"
android:textSize="14sp"
android:textStyle="bold" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="16dp"
android:src="@mipmap/gongxiang" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="16dp"
android:src="@mipmap/lv_shezhi" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_ffffff_10"
android:paddingVertical="20dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginHorizontal="16dp"
android:layout_weight="1"
android:text="@string/sharing_location_with_1_people"
android:textColor="#010101"
android:textSize="14sp"
android:textStyle="bold" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="12dp"
android:background="@drawable/bg_5d7dee_18"
android:paddingHorizontal="30dp"
android:paddingVertical="8dp"
android:text="@string/view"
android:textColor="@color/white"
android:textSize="14sp" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="16dp"
android:src="@mipmap/lan_shezhi" />
</LinearLayout>
\ No newline at end of file
...@@ -60,4 +60,9 @@ ...@@ -60,4 +60,9 @@
<string name="share">Share</string> <string name="share">Share</string>
<string name="preparing_advertisement"><![CDATA[Preparing advertisement&#8230;]]></string> <string name="preparing_advertisement"><![CDATA[Preparing advertisement&#8230;]]></string>
<string name="enter_friend_nickname">Enter friend nickname</string> <string name="enter_friend_nickname">Enter friend nickname</string>
<string name="view">View</string>
<string name="sharing_location_with_1_people">Sharing location with 1 people</string>
<string name="location_sharing_not_enabled_yet">Location sharing not enabled yet</string>
<string name="copy_my_code_to_a_friend_to_view_his_her_location">Copy my code to a friend to view his/her location!</string>
<string name="open">Open</string>
</resources> </resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment