Commit 9f152b01 authored by wanglei's avatar wanglei

...

parent 78a9eb1e
......@@ -5,6 +5,7 @@ import androidx.activity.addCallback
import androidx.core.view.updatePadding
import com.base.locationsharewhite.databinding.ActivityLocationShareBinding
import com.base.locationsharewhite.helper.BaseActivity
import com.base.locationsharewhite.location.LocationRequestUtils
import com.base.locationsharewhite.utils.BarUtils
class LocationShareActivity : BaseActivity<ActivityLocationShareBinding>() {
......@@ -18,6 +19,8 @@ class LocationShareActivity : BaseActivity<ActivityLocationShareBinding>() {
BarUtils.setStatusBarLightMode(this, true)
BarUtils.setStatusBarColor(this, Color.WHITE)
binding.root.updatePadding(top = BarUtils.getStatusBarHeight())
binding.tvCode.text = LocationRequestUtils.invitationCodeSp
}
override fun initListener() {
......
......@@ -68,14 +68,14 @@
android:layout_marginTop="30dp"
android:background="@drawable/bg_stroke_dash_03b988_15">
<EditText
<TextView
android:id="@+id/tv_code"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginHorizontal="40dp"
android:background="@null"
android:gravity="center"
android:hint="@string/enter_others_location_code"
android:maxLength="8"
android:maxLines="2"
android:textColor="#3C93E2"
......@@ -85,6 +85,7 @@
tools:ignore="Autofill,TextFields" />
<ImageView
android:id="@+id/iv_copy"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
......
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