Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
location share white
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
location share white
Commits
9f152b01
Commit
9f152b01
authored
Oct 22, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
78a9eb1e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
LocationShareActivity.kt
.../base/locationsharewhite/ui/main/LocationShareActivity.kt
+3
-0
activity_location_share.xml
app/src/main/res/layout/activity_location_share.xml
+3
-2
No files found.
app/src/main/java/com/base/locationsharewhite/ui/main/LocationShareActivity.kt
View file @
9f152b01
...
...
@@ -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
()
{
...
...
app/src/main/res/layout/activity_location_share.xml
View file @
9f152b01
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment