Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_flowbox
Commits
0a426bc5
Commit
0a426bc5
authored
Jul 27, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化布局
parent
aafd69a6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
MobileLoginActivity.kt
...ava/com/mints/flowbox/ui/activitys/MobileLoginActivity.kt
+2
-1
WxLoginActivity.kt
...in/java/com/mints/flowbox/ui/activitys/WxLoginActivity.kt
+1
-1
activity_mobile_login.xml
app/src/main/res/layout/activity_mobile_login.xml
+2
-1
activity_wx_login.xml
app/src/main/res/layout/activity_wx_login.xml
+2
-1
No files found.
app/src/main/java/com/mints/flowbox/ui/activitys/MobileLoginActivity.kt
View file @
0a426bc5
...
...
@@ -153,7 +153,8 @@ class MobileLoginActivity : BaseActivity(), LoginView, View.OnClickListener {
etLoginMobile
.
setSelection
(
mobile
!!
.
length
+
2
)
}
SpanUtils
.
with
(
tvLoginAgreement
)
tvLoginAgreement
.
text
=
SpanUtils
()
.
append
(
"《用户注册协议》"
).
setClickSpan
(
object
:
ClickableSpan
()
{
override
fun
onClick
(
widget
:
View
)
{
val
bundle
=
Bundle
()
...
...
app/src/main/java/com/mints/flowbox/ui/activitys/WxLoginActivity.kt
View file @
0a426bc5
...
...
@@ -172,7 +172,7 @@ class WxLoginActivity : BaseActivity(), LoginView, View.OnClickListener, OnLogin
private
fun
initView
()
{
SpanUtils
.
with
(
tvLoginAgreement
)
tvLoginAgreement
.
text
=
SpanUtils
(
)
.
append
(
"《用户注册协议》"
).
setClickSpan
(
object
:
ClickableSpan
()
{
override
fun
onClick
(
widget
:
View
)
{
val
bundle
=
Bundle
()
...
...
app/src/main/res/layout/activity_mobile_login.xml
View file @
0a426bc5
...
...
@@ -120,9 +120,10 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginLeft=
"
2
0dp"
android:layout_marginLeft=
"
1
0dp"
android:layout_marginTop=
"20dp"
android:layout_marginRight=
"20dp"
android:paddingStart=
"10dp"
android:textColor=
"@color/color_707A8D"
android:textSize=
"12sp"
/>
...
...
app/src/main/res/layout/activity_wx_login.xml
View file @
0a426bc5
...
...
@@ -72,8 +72,9 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginLeft=
"
3
0dp"
android:layout_marginLeft=
"
2
0dp"
android:layout_marginRight=
"30dp"
android:paddingStart=
"10dp"
android:textColor=
"@color/color_707A8D"
android:textSize=
"12sp"
/>
</LinearLayout>
...
...
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