Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
3e843120
Commit
3e843120
authored
Nov 04, 2019
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user业务模块 - 资源前缀重命名
parent
82571fb0
Show whitespace changes
Inline
Side-by-side
Showing
90 changed files
with
213 additions
and
230 deletions
+213
-230
build.gradle
m-user/build.gradle
+8
-8
CheckPasswordActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/CheckPasswordActivity.kt
+2
-2
FingerPrintCheckActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/FingerPrintCheckActivity.kt
+3
-3
HandUnlockCheckActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/HandUnlockCheckActivity.kt
+2
-2
PrivacyActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/PrivacyActivity.kt
+1
-1
SetFingerPrintActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/SetFingerPrintActivity.kt
+2
-2
SetHandUnLockActivity.kt
m-user/src/main/java/com/yidianling/user/safePrivate/SetHandUnLockActivity.kt
+2
-2
AliAuthDemoActivity.java
m-user/src/main/java/com/yidianling/user/ui/AliAuthDemoActivity.java
+1
-1
CountryListActivity.java
m-user/src/main/java/com/yidianling/user/ui/CountryListActivity.java
+2
-2
FillInfoActivity.java
m-user/src/main/java/com/yidianling/user/ui/FillInfoActivity.java
+4
-4
GetIdentifyingCodeActivity.java
m-user/src/main/java/com/yidianling/user/ui/GetIdentifyingCodeActivity.java
+1
-1
InputPhoneActivity.java
m-user/src/main/java/com/yidianling/user/ui/InputPhoneActivity.java
+1
-1
LoginActivity.java
m-user/src/main/java/com/yidianling/user/ui/LoginActivity.java
+1
-1
SmsLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/SmsLoginActivity.kt
+2
-2
H5Activity.java
m-user/src/main/java/com/yidianling/user/ui/login/H5Activity.java
+1
-1
InputPassWordActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/InputPassWordActivity.kt
+5
-5
RegisterAndLoginActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
+17
-17
VerificationCodeActivity.kt
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
+3
-3
PhoneCode.java
m-user/src/main/java/com/yidianling/user/widget/PhoneCode.java
+2
-2
PrivacyDialog.kt
m-user/src/main/java/com/yidianling/user/widget/PrivacyDialog.kt
+3
-3
user_cycle_input.xml
m-user/src/main/res/anim/user_cycle_input.xml
+0
-0
user_shake_input.xml
m-user/src/main/res/anim/user_shake_input.xml
+1
-1
user_slide_null.xml
m-user/src/main/res/anim/user_slide_null.xml
+0
-0
user_bg_login.png
m-user/src/main/res/drawable-xhdpi/user_bg_login.png
+0
-0
user_card_login.png
m-user/src/main/res/drawable-xhdpi/user_card_login.png
+0
-0
user_country_australia.png
m-user/src/main/res/drawable-xhdpi/user_country_australia.png
+0
-0
user_country_hk.png
m-user/src/main/res/drawable-xhdpi/user_country_hk.png
+0
-0
user_country_japan.png
m-user/src/main/res/drawable-xhdpi/user_country_japan.png
+0
-0
user_country_malaysia.png
m-user/src/main/res/drawable-xhdpi/user_country_malaysia.png
+0
-0
user_country_nz.png
m-user/src/main/res/drawable-xhdpi/user_country_nz.png
+0
-0
user_country_sk.png
m-user/src/main/res/drawable-xhdpi/user_country_sk.png
+0
-0
user_country_uk.png
m-user/src/main/res/drawable-xhdpi/user_country_uk.png
+0
-0
user_country_usa.png
m-user/src/main/res/drawable-xhdpi/user_country_usa.png
+0
-0
user_default_img.png
m-user/src/main/res/drawable-xhdpi/user_default_img.png
+0
-0
user_ic_back_grey.png
m-user/src/main/res/drawable-xhdpi/user_ic_back_grey.png
+0
-0
user_ic_china.png
m-user/src/main/res/drawable-xhdpi/user_ic_china.png
+0
-0
user_ic_del.png
m-user/src/main/res/drawable-xhdpi/user_ic_del.png
+0
-0
user_ic_invisibility.png
m-user/src/main/res/drawable-xhdpi/user_ic_invisibility.png
+0
-0
user_ic_log_succee.png
m-user/src/main/res/drawable-xhdpi/user_ic_log_succee.png
+0
-0
user_ic_next.png
m-user/src/main/res/drawable-xhdpi/user_ic_next.png
+0
-0
user_ic_visibility.png
m-user/src/main/res/drawable-xhdpi/user_ic_visibility.png
+0
-0
user_ico_hb_s.png
m-user/src/main/res/drawable-xhdpi/user_ico_hb_s.png
+0
-0
user_img_privacy.png
m-user/src/main/res/drawable-xhdpi/user_img_privacy.png
+0
-0
user_loading2.gif
m-user/src/main/res/drawable-xhdpi/user_loading2.gif
+0
-0
user_lock.png
m-user/src/main/res/drawable-xhdpi/user_lock.png
+0
-0
user_login_qq.png
m-user/src/main/res/drawable-xhdpi/user_login_qq.png
+0
-0
user_login_weixin.png
m-user/src/main/res/drawable-xhdpi/user_login_weixin.png
+0
-0
user_nim_arrow_right.png
m-user/src/main/res/drawable-xhdpi/user_nim_arrow_right.png
+0
-0
user_phone.png
m-user/src/main/res/drawable-xhdpi/user_phone.png
+0
-0
user_regist_photo.png
m-user/src/main/res/drawable-xhdpi/user_regist_photo.png
+0
-0
user_bg__choose_country_radius.xml
m-user/src/main/res/drawable/user_bg__choose_country_radius.xml
+0
-0
user_bg_radius_bule.xml
m-user/src/main/res/drawable/user_bg_radius_bule.xml
+0
-0
user_bg_radius_green_20.xml
m-user/src/main/res/drawable/user_bg_radius_green_20.xml
+3
-2
user_bg_radius_transparent.xml
m-user/src/main/res/drawable/user_bg_radius_transparent.xml
+0
-0
user_country_list_item_select.xml
m-user/src/main/res/drawable/user_country_list_item_select.xml
+0
-0
user_next_border.9.png
m-user/src/main/res/drawable/user_next_border.9.png
+0
-0
user_user_privacy_agree_background.xml
m-user/src/main/res/drawable/user_user_privacy_agree_background.xml
+0
-0
user_user_privacy_disagree_background.xml
m-user/src/main/res/drawable/user_user_privacy_disagree_background.xml
+0
-0
user_activity_ali_auth_demo.xml
m-user/src/main/res/layout/user_activity_ali_auth_demo.xml
+0
-0
user_activity_check_password.xml
m-user/src/main/res/layout/user_activity_check_password.xml
+1
-1
user_activity_country_list.xml
m-user/src/main/res/layout/user_activity_country_list.xml
+1
-1
user_activity_fill_info.xml
m-user/src/main/res/layout/user_activity_fill_info.xml
+5
-5
user_activity_finger_print_check.xml
m-user/src/main/res/layout/user_activity_finger_print_check.xml
+3
-3
user_activity_finger_print_set.xml
m-user/src/main/res/layout/user_activity_finger_print_set.xml
+2
-2
user_activity_get_identifying_code.xml
m-user/src/main/res/layout/user_activity_get_identifying_code.xml
+5
-5
user_activity_h5.xml
m-user/src/main/res/layout/user_activity_h5.xml
+1
-1
user_activity_hand_unlock.xml
m-user/src/main/res/layout/user_activity_hand_unlock.xml
+5
-5
user_activity_hand_unlock_set.xml
m-user/src/main/res/layout/user_activity_hand_unlock_set.xml
+3
-3
user_activity_input_password.xml
m-user/src/main/res/layout/user_activity_input_password.xml
+10
-10
user_activity_input_phone.xml
m-user/src/main/res/layout/user_activity_input_phone.xml
+8
-8
user_activity_login.xml
m-user/src/main/res/layout/user_activity_login.xml
+9
-9
user_activity_me_privacy.xml
m-user/src/main/res/layout/user_activity_me_privacy.xml
+1
-1
user_activity_register_and_login.xml
m-user/src/main/res/layout/user_activity_register_and_login.xml
+12
-12
user_activity_verification_code.xml
m-user/src/main/res/layout/user_activity_verification_code.xml
+6
-6
user_dialog_privacy.xml
m-user/src/main/res/layout/user_dialog_privacy.xml
+3
-3
user_item_country_phone_code.xml
m-user/src/main/res/layout/user_item_country_phone_code.xml
+2
-2
user_phone_code.xml
m-user/src/main/res/layout/user_phone_code.xml
+1
-1
dimens.xml
m-user/src/main/res/values-hdpi/dimens.xml
+11
-11
colors.xml
m-user/src/main/res/values/colors.xml
+17
-17
dimens.xml
m-user/src/main/res/values/dimens.xml
+2
-2
strings.xml
m-user/src/main/res/values/strings.xml
+25
-25
user_lock_btn_shoushi.png
m-user/src/xlzx/res/drawable-xhdpi/user_lock_btn_shoushi.png
+0
-0
user_lock_btn_shoushi_pre.png
m-user/src/xlzx/res/drawable-xhdpi/user_lock_btn_shoushi_pre.png
+0
-0
user_lock_ico_zhiwen.png
m-user/src/xlzx/res/drawable-xhdpi/user_lock_ico_zhiwen.png
+0
-0
colors.xml
m-user/src/xlzx/res/values/colors.xml
+3
-12
user_lock_btn_shoushi.png
m-user/src/ydl/res/drawable-xhdpi/user_lock_btn_shoushi.png
+0
-0
user_lock_btn_shoushi_pre.png
m-user/src/ydl/res/drawable-xhdpi/user_lock_btn_shoushi_pre.png
+0
-0
user_lock_ico_zhiwen.png
m-user/src/ydl/res/drawable-xhdpi/user_lock_ico_zhiwen.png
+0
-0
colors.xml
m-user/src/ydl/res/values/colors.xml
+3
-12
HttpConfig.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/base/config/HttpConfig.kt
+7
-7
No files found.
m-user/build.gradle
View file @
3e843120
...
...
@@ -2,13 +2,13 @@ apply plugin: 'com.android.library'
apply
plugin:
'kotlin-android'
apply
plugin:
'kotlin-android-extensions'
apply
plugin:
'kotlin-kapt'
//
apply plugin: 'plugin.resTools' // 资源重命名插件
//
//
//
配置资源重命名插件
//
resConfig {
//
new_prefix = 'user_' // 资源前缀
//
old_prefix = '' // 老前缀,可为''空字符串
//
}
apply
plugin:
'plugin.resTools'
// 资源重命名插件
// 配置资源重命名插件
resConfig
{
new_prefix
=
'user_'
// 资源前缀
old_prefix
=
''
// 老前缀,可为''空字符串
}
kapt
{
arguments
{
...
...
@@ -45,7 +45,7 @@ android {
}
//前缀的名字
//
resourcePrefix "user_"
resourcePrefix
"user_"
//Flavor 信息
publishNonDefault
true
...
...
m-user/src/main/java/com/yidianling/user/safePrivate/CheckPasswordActivity.kt
View file @
3e843120
...
...
@@ -20,13 +20,13 @@ import com.yidianling.user.http.UserHttpImpl
import
com.yidianling.user.route.UserIn
import
io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.schedulers.Schedulers
import
kotlinx.android.synthetic.main.activity_check_password.*
import
kotlinx.android.synthetic.main.
user_
activity_check_password.*
/**
* 验证登录密码
*/
class
CheckPasswordActivity
:
BaseActivity
()
{
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_check_password
return
R
.
layout
.
user_
activity_check_password
}
override
fun
getStatusViewOptions
():
StatusBarOptions
{
...
...
m-user/src/main/java/com/yidianling/user/safePrivate/FingerPrintCheckActivity.kt
View file @
3e843120
...
...
@@ -25,7 +25,7 @@ class FingerPrintCheckActivity : BaseActivity(), View.OnClickListener {
}
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_finger_print_check
return
R
.
layout
.
user_
activity_finger_print_check
}
override
fun
getStatusViewOptions
():
StatusBarOptions
{
...
...
@@ -113,7 +113,7 @@ class FingerPrintCheckActivity : BaseActivity(), View.OnClickListener {
//判断系统指纹是否被暂时禁止
if
(!
FingerPrintUtil
.
getFingerPrintIsAviable
())
{
CommonDialog
(
mContext
)
.
setImageCenter
(
R
.
drawable
.
lock_ico_zhiwen
)
.
setImageCenter
(
R
.
drawable
.
user_
lock_ico_zhiwen
)
.
setMessage
(
FingerPrintUtil
.
errorMoreMessage
)
.
setMessageColor
(
R
.
color
.
platform_price_color
)
.
setRightClick
(
"取消"
)
{
...
...
@@ -125,7 +125,7 @@ class FingerPrintCheckActivity : BaseActivity(), View.OnClickListener {
}
var
dia
=
CommonDialog
(
mContext
)
.
setImageCenter
(
R
.
drawable
.
lock_ico_zhiwen
)
.
setImageCenter
(
R
.
drawable
.
user_
lock_ico_zhiwen
)
.
setMessage
(
"验证已有手机指纹"
)
.
setRightClick
(
"取消"
)
{
}
...
...
m-user/src/main/java/com/yidianling/user/safePrivate/HandUnlockCheckActivity.kt
View file @
3e843120
...
...
@@ -21,7 +21,7 @@ import com.yidianling.user.ui.login.RegisterAndLoginActivity
*/
class
HandUnlockCheckActivity
:
BaseActivity
(),
android
.
view
.
View
.
OnClickListener
{
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_hand_unlock
return
R
.
layout
.
user_
activity_hand_unlock
}
override
fun
getStatusViewOptions
():
StatusBarOptions
{
...
...
@@ -187,7 +187,7 @@ class HandUnlockCheckActivity : BaseActivity(), android.view.View.OnClickListene
}
var
dia
=
CommonDialog
(
mContext
)
.
setImageCenter
(
R
.
drawable
.
lock_ico_zhiwen
)
.
setImageCenter
(
R
.
drawable
.
user_
lock_ico_zhiwen
)
.
setMessage
(
"验证手机已有指纹"
)
.
setLeftOnclick
(
"取消"
)
{
//停止指纹监听
...
...
m-user/src/main/java/com/yidianling/user/safePrivate/PrivacyActivity.kt
View file @
3e843120
...
...
@@ -21,7 +21,7 @@ import com.yidianling.user.ui.InputPhoneActivity
class
PrivacyActivity
:
BaseActivity
()
{
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_me_privacy
return
R
.
layout
.
user_
activity_me_privacy
}
override
fun
initDataAndEvent
()
{
...
...
m-user/src/main/java/com/yidianling/user/safePrivate/SetFingerPrintActivity.kt
View file @
3e843120
...
...
@@ -16,7 +16,7 @@ import com.yidianling.user.ui.login.RegisterAndLoginActivity
*/
class
SetFingerPrintActivity
:
BaseActivity
(),
View
.
OnClickListener
{
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_finger_print_set
return
R
.
layout
.
user_
activity_finger_print_set
}
override
fun
initDataAndEvent
()
{
...
...
@@ -56,7 +56,7 @@ class SetFingerPrintActivity : BaseActivity(), View.OnClickListener {
fun
checkFinger
()
{
var
dia
=
CommonDialog
(
mContext
)
.
setImageCenter
(
R
.
drawable
.
lock_ico_zhiwen
)
.
setImageCenter
(
R
.
drawable
.
user_
lock_ico_zhiwen
)
.
setMessage
(
"验证已有手机指纹"
)
.
setRightClick
(
"取消"
)
{
...
...
m-user/src/main/java/com/yidianling/user/safePrivate/SetHandUnLockActivity.kt
View file @
3e843120
...
...
@@ -19,7 +19,7 @@ import com.yidianling.user.UserHelper
*/
class
SetHandUnLockActivity
:
BaseActivity
()
{
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_hand_unlock_set
return
R
.
layout
.
user_
activity_hand_unlock_set
}
override
fun
initDataAndEvent
()
{
...
...
@@ -43,7 +43,7 @@ class SetHandUnLockActivity : BaseActivity() {
tipText
=
findViewById
<
TextView
>(
R
.
id
.
text_tip
)
as
TextView
lock9
=
findViewById
<
Lock9View
>(
R
.
id
.
lock9View
)
as
Lock9View
titleBar
?.
setRightTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
main_theme
))
titleBar
?.
setRightTextColor
(
ContextCompat
.
getColor
(
this
,
R
.
color
.
user_
main_theme
))
titleBar
?.
setRightTextVisiable
(
View
.
GONE
)
titleBar
?.
setLeftImageListener
{
...
...
m-user/src/main/java/com/yidianling/user/ui/AliAuthDemoActivity.java
View file @
3e843120
...
...
@@ -44,7 +44,7 @@ public class AliAuthDemoActivity extends Activity {
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_ali_auth_demo
);
setContentView
(
R
.
layout
.
user_
activity_ali_auth_demo
);
mVaildBtn
=
(
Button
)
findViewById
(
R
.
id
.
vaild_button
);
mLoginBtn
=
(
Button
)
findViewById
(
R
.
id
.
login_button
);
mRetTV
=
(
TextView
)
findViewById
(
R
.
id
.
operator_name_tv
);
...
...
m-user/src/main/java/com/yidianling/user/ui/CountryListActivity.java
View file @
3e843120
...
...
@@ -42,7 +42,7 @@ public class CountryListActivity extends BaseActivity {
@Override
protected
int
layoutResId
()
{
return
R
.
layout
.
activity_country_list
;
return
R
.
layout
.
user_
activity_country_list
;
}
@NotNull
...
...
@@ -120,7 +120,7 @@ public class CountryListActivity extends BaseActivity {
@Override
public
View
getView
(
int
position
,
View
convertView
,
ViewGroup
parent
)
{
View
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
item_country_phone_code
,
parent
,
false
);
View
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
user_
item_country_phone_code
,
parent
,
false
);
TextView
nameTv
=
view
.
findViewById
(
R
.
id
.
tv_name
);
TextView
codeTv
=
view
.
findViewById
(
R
.
id
.
tv_code
);
final
Country
c
=
list
.
get
(
position
);
...
...
m-user/src/main/java/com/yidianling/user/ui/FillInfoActivity.java
View file @
3e843120
...
...
@@ -94,7 +94,7 @@ public class FillInfoActivity extends BaseActivity implements View.OnClickListen
@Override
protected
int
layoutResId
()
{
return
R
.
layout
.
activity_fill_info
;
return
R
.
layout
.
user_
activity_fill_info
;
}
@NotNull
...
...
@@ -142,7 +142,7 @@ public class FillInfoActivity extends BaseActivity implements View.OnClickListen
GlideApp
.
with
(
FillInfoActivity
.
this
)
.
load
(
icon
)
.
fitCenter
()
.
error
(
R
.
drawable
.
regist_photo
)
.
error
(
R
.
drawable
.
user_
regist_photo
)
.
into
(
sdv_head
);
}
...
...
@@ -496,7 +496,7 @@ public class FillInfoActivity extends BaseActivity implements View.OnClickListen
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
doOnSubscribe
(
disposable
->
{
dismissProgressDialog
();
GlideApp
.
with
(
FillInfoActivity
.
this
).
load
(
R
.
drawable
.
loading2
).
into
(
sdv_head
);
GlideApp
.
with
(
FillInfoActivity
.
this
).
load
(
R
.
drawable
.
user_
loading2
).
into
(
sdv_head
);
})
.
subscribe
(
o
->
{
Map
map
=
(
Map
)
o
;
...
...
@@ -505,7 +505,7 @@ public class FillInfoActivity extends BaseActivity implements View.OnClickListen
GlideApp
.
with
(
FillInfoActivity
.
this
)
.
load
(
path
)
.
fitCenter
()
.
error
(
R
.
drawable
.
regist_photo
)
.
error
(
R
.
drawable
.
user_
regist_photo
)
.
into
(
sdv_head
);
head
=
head_url
;
},
new
ThrowableConsumer
()
{
...
...
m-user/src/main/java/com/yidianling/user/ui/GetIdentifyingCodeActivity.java
View file @
3e843120
...
...
@@ -80,7 +80,7 @@ public class GetIdentifyingCodeActivity extends BaseActivity implements View.OnC
@Override
protected
int
layoutResId
()
{
return
R
.
layout
.
activity_get_identifying_code
;
return
R
.
layout
.
user_
activity_get_identifying_code
;
}
@NotNull
...
...
m-user/src/main/java/com/yidianling/user/ui/InputPhoneActivity.java
View file @
3e843120
...
...
@@ -103,7 +103,7 @@ public class InputPhoneActivity extends BaseActivity implements View.OnClickList
@Override
protected
int
layoutResId
()
{
return
R
.
layout
.
activity_input_phone
;
return
R
.
layout
.
user_
activity_input_phone
;
}
@Override
...
...
m-user/src/main/java/com/yidianling/user/ui/LoginActivity.java
View file @
3e843120
...
...
@@ -56,7 +56,7 @@ public class LoginActivity extends BaseMvpActivity<LoginContract.View,LoginContr
@Override
protected
int
layoutResId
()
{
return
R
.
layout
.
activity_login
;
return
R
.
layout
.
user_
activity_login
;
}
@Override
...
...
m-user/src/main/java/com/yidianling/user/ui/SmsLoginActivity.kt
View file @
3e843120
...
...
@@ -34,7 +34,7 @@ import io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.disposables.Disposable
import
io.reactivex.functions.Consumer
import
io.reactivex.schedulers.Schedulers
import
kotlinx.android.synthetic.main.activity_get_identifying_code.*
import
kotlinx.android.synthetic.main.
user_
activity_get_identifying_code.*
import
java.util.concurrent.TimeUnit
...
...
@@ -69,7 +69,7 @@ class SmsLoginActivity : BaseActivity() {
override
fun
layoutResId
():
Int
{
return
com
.
yidianling
.
user
.
R
.
layout
.
activity_get_identifying_code
return
com
.
yidianling
.
user
.
R
.
layout
.
user_
activity_get_identifying_code
}
override
fun
initDataAndEvent
()
{
...
...
m-user/src/main/java/com/yidianling/user/ui/login/H5Activity.java
View file @
3e843120
...
...
@@ -31,7 +31,7 @@ public class H5Activity extends Activity {
@Override
protected
void
onCreate
(
@Nullable
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_h5
);
setContentView
(
R
.
layout
.
user_
activity_h5
);
StatusBarUtils
.
Companion
.
setWindowStatusBarColor
(
this
,
R
.
color
.
platform_white
);
WebView
web_view
=
findViewById
(
R
.
id
.
web_view
);
...
...
m-user/src/main/java/com/yidianling/user/ui/login/InputPassWordActivity.kt
View file @
3e843120
...
...
@@ -21,7 +21,7 @@ import com.yidianling.user.constants.UserBIConstants
import
com.yidianling.user.route.UserIn
import
com.yidianling.user.ui.login.contract.IInputPassWordContract
import
com.yidianling.user.ui.login.presenter.InputPassWordPresenterImpl
import
kotlinx.android.synthetic.main.activity_input_password.*
import
kotlinx.android.synthetic.main.
user_
activity_input_password.*
/**
* @author jiucheng
...
...
@@ -77,7 +77,7 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
}
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_input_password
return
R
.
layout
.
user_
activity_input_password
}
override
fun
initDataAndEvent
()
{
...
...
@@ -217,11 +217,11 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
*/
private
fun
switchPwdShowType
()
{
if
(
iv_visibility
.
isSelected
)
{
iv_visibility
.
setImageResource
(
R
.
drawable
.
ic_visibility
)
iv_visibility
.
setImageResource
(
R
.
drawable
.
user_
ic_visibility
)
et_input_password
.
transformationMethod
=
HideReturnsTransformationMethod
.
getInstance
()
et_input_password
.
hint
=
"当前密码可见"
}
else
{
iv_visibility
.
setImageResource
(
R
.
drawable
.
ic_invisibility
)
iv_visibility
.
setImageResource
(
R
.
drawable
.
user_
ic_invisibility
)
et_input_password
.
transformationMethod
=
PasswordTransformationMethod
.
getInstance
()
et_input_password
.
hint
=
"当前密码不可见"
}
...
...
@@ -264,7 +264,7 @@ class InputPassWordActivity : BaseMvpActivity<IInputPassWordContract.View,IInput
}
override
fun
startAnim
()
{
val
shake
=
AnimationUtils
.
loadAnimation
(
this
,
R
.
anim
.
shake_input
)
//加载动画资源文件
val
shake
=
AnimationUtils
.
loadAnimation
(
this
,
R
.
anim
.
user_
shake_input
)
//加载动画资源文件
et_input_password
.
startAnimation
(
shake
)
view_input_lin
.
startAnimation
(
shake
)
view_input_lin
.
setBackgroundColor
(
Color
.
parseColor
(
"#FB6761"
))
...
...
m-user/src/main/java/com/yidianling/user/ui/login/RegisterAndLoginActivity.kt
View file @
3e843120
...
...
@@ -49,7 +49,7 @@ import com.yidianling.user.route.UserIn
import
com.yidianling.user.ui.CountryListActivity
import
com.yidianling.user.ui.login.contract.ILoginContract
import
com.yidianling.user.ui.login.presenter.LoginPresenterImpl
import
kotlinx.android.synthetic.main.activity_register_and_login.*
import
kotlinx.android.synthetic.main.
user_
activity_register_and_login.*
/**
* @author jiucheng
...
...
@@ -113,7 +113,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
}
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_register_and_login
return
R
.
layout
.
user_
activity_register_and_login
}
override
fun
initDataAndEvent
()
{
...
...
@@ -264,7 +264,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
override
fun
onClick
(
widget
:
View
)
{
if
(!
isUmengLoginState
)
{
H5Activity
.
start
(
this
@RegisterAndLoginActivity
,
false
)
overridePendingTransition
(
R
.
anim
.
platform_slide_in_from_bottom
,
R
.
anim
.
slide_null
)
overridePendingTransition
(
R
.
anim
.
platform_slide_in_from_bottom
,
R
.
anim
.
user_
slide_null
)
}
}
},
3
,
9
,
Spannable
.
SPAN_EXCLUSIVE_EXCLUSIVE
)
...
...
@@ -278,7 +278,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
override
fun
onClick
(
widget
:
View
)
{
if
(!
isUmengLoginState
)
{
H5Activity
.
start
(
this
@RegisterAndLoginActivity
,
true
)
overridePendingTransition
(
R
.
anim
.
platform_slide_in_from_bottom
,
R
.
anim
.
slide_null
)
overridePendingTransition
(
R
.
anim
.
platform_slide_in_from_bottom
,
R
.
anim
.
user_
slide_null
)
}
}
},
10
,
str
.
length
,
Spannable
.
SPAN_EXCLUSIVE_EXCLUSIVE
)
...
...
@@ -333,7 +333,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
}
private
fun
setHint
()
{
val
hintStr
=
SpannableString
(
resources
.
getString
(
R
.
string
.
edittext_hint
))
// 定义hint的值
val
hintStr
=
SpannableString
(
resources
.
getString
(
R
.
string
.
user_
edittext_hint
))
// 定义hint的值
val
ass
=
AbsoluteSizeSpan
(
16
,
true
)
// 设置字体大小 true表示单位是SP
hintStr
.
setSpan
(
ass
,
0
,
hintStr
.
length
,
Spanned
.
SPAN_EXCLUSIVE_EXCLUSIVE
)
et_phone_number
.
hint
=
SpannedString
(
hintStr
)
...
...
@@ -371,7 +371,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
val
intent
=
Intent
(
this
,
CountryListActivity
::
class
.
java
)
intent
.
putExtra
(
"userCountryCode"
,
countryCode
)
startActivityForResult
(
intent
,
REQUEST_CODE_COUNTRY
)
overridePendingTransition
(
R
.
anim
.
platform_slide_in_from_bottom
,
R
.
anim
.
slide_null
)
overridePendingTransition
(
R
.
anim
.
platform_slide_in_from_bottom
,
R
.
anim
.
user_
slide_null
)
}
//下一步
iv_next
.
setOnClickListener
{
...
...
@@ -439,7 +439,7 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
* 动画
*/
private
fun
startAnim
()
{
val
shake
=
AnimationUtils
.
loadAnimation
(
this
,
R
.
anim
.
shake_input
)
//加载动画资源文件
val
shake
=
AnimationUtils
.
loadAnimation
(
this
,
R
.
anim
.
user_
shake_input
)
//加载动画资源文件
et_phone_number
.
startAnimation
(
shake
)
}
...
...
@@ -628,16 +628,16 @@ class RegisterAndLoginActivity : BaseMvpActivity<ILoginContract.View, ILoginCont
*/
private
fun
setCountryIcon
(
code
:
String
?)
{
when
(
code
)
{
"0086"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
ic_china
)
"001"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
country_usa
)
"00886"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
ic_china
)
"0081"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
country_japan
)
"00852"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
country_hk
)
"0061"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
country_australia
)
"0064"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
country_nz
)
"0082"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
country_sk
)
"0060"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
country_malaysia
)
"0044"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
country_uk
)
"0086"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
ic_china
)
"001"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
country_usa
)
"00886"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
ic_china
)
"0081"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
country_japan
)
"00852"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
country_hk
)
"0061"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
country_australia
)
"0064"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
country_nz
)
"0082"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
country_sk
)
"0060"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
country_malaysia
)
"0044"
->
iv_country_icon
.
setImageResource
(
R
.
drawable
.
user_
country_uk
)
else
->
iv_country_icon
.
visibility
=
View
.
VISIBLE
}
}
...
...
m-user/src/main/java/com/yidianling/user/ui/login/VerificationCodeActivity.kt
View file @
3e843120
...
...
@@ -27,7 +27,7 @@ import io.reactivex.Observable
import
io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.disposables.Disposable
import
io.reactivex.schedulers.Schedulers
import
kotlinx.android.synthetic.main.activity_verification_code.*
import
kotlinx.android.synthetic.main.
user_
activity_verification_code.*
import
java.util.concurrent.TimeUnit
/**
...
...
@@ -100,7 +100,7 @@ class VerificationCodeActivity : BaseMvpActivity<IVerificationCodeContract.View,
}
override
fun
layoutResId
():
Int
{
return
R
.
layout
.
activity_verification_code
return
R
.
layout
.
user_
activity_verification_code
}
override
fun
initDataAndEvent
()
{
...
...
@@ -359,7 +359,7 @@ class VerificationCodeActivity : BaseMvpActivity<IVerificationCodeContract.View,
* 动画
*/
override
fun
startAnim
()
{
// val shake = AnimationUtils.loadAnimation(this, R.anim.shake_input)//加载动画资源文件
// val shake = AnimationUtils.loadAnimation(this, R.anim.
user_
shake_input)//加载动画资源文件
// pc_1.startAnimation(shake)
//设置红色边框
pc_1
.
setErrorColor
()
...
...
m-user/src/main/java/com/yidianling/user/widget/PhoneCode.java
View file @
3e843120
...
...
@@ -54,7 +54,7 @@ public class PhoneCode extends RelativeLayout {
}
private
void
loadView
()
{
View
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
phone_code
,
this
);
View
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
user_
phone_code
,
this
);
initView
(
view
);
initEvent
();
}
...
...
@@ -162,7 +162,7 @@ public class PhoneCode extends RelativeLayout {
}
public
void
setErrorColor
()
{
Animation
shake
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
shake_input
);
Animation
shake
=
AnimationUtils
.
loadAnimation
(
getContext
(),
R
.
anim
.
user_
shake_input
);
v1
.
startAnimation
(
shake
);
v2
.
startAnimation
(
shake
);
...
...
m-user/src/main/java/com/yidianling/user/widget/PrivacyDialog.kt
View file @
3e843120
...
...
@@ -26,7 +26,7 @@ import com.yidianling.user.ui.login.RegisterAndLoginActivity
import
de.greenrobot.event.EventBus
import
io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.schedulers.Schedulers
import
kotlinx.android.synthetic.main.dialog_privacy.*
import
kotlinx.android.synthetic.main.
user_
dialog_privacy.*
/**
* @author jiucheng
...
...
@@ -48,7 +48,7 @@ class PrivacyDialog : Dialog {
override
fun
onCreate
(
savedInstanceState
:
Bundle
?)
{
super
.
onCreate
(
savedInstanceState
)
setContentView
(
R
.
layout
.
dialog_privacy
)
setContentView
(
R
.
layout
.
user_
dialog_privacy
)
setCanceledOnTouchOutside
(
false
)
window
.
setBackgroundDrawable
(
ColorDrawable
())
...
...
@@ -65,7 +65,7 @@ class PrivacyDialog : Dialog {
override
fun
onClick
(
widget
:
View
)
{
H5Activity
.
start
(
activity
,
true
)
activity
!!
.
overridePendingTransition
(
R
.
anim
.
platform_slide_in_from_bottom
,
R
.
anim
.
slide_null
)
activity
!!
.
overridePendingTransition
(
R
.
anim
.
platform_slide_in_from_bottom
,
R
.
anim
.
user_
slide_null
)
}
},
index
,
index
+
9
,
Spannable
.
SPAN_EXCLUSIVE_EXCLUSIVE
)
...
...
m-user/src/main/res/anim/cycle_input.xml
→
m-user/src/main/res/anim/
user_
cycle_input.xml
View file @
3e843120
File moved
m-user/src/main/res/anim/shake_input.xml
→
m-user/src/main/res/anim/
user_
shake_input.xml
View file @
3e843120
...
...
@@ -2,6 +2,6 @@
<translate
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:duration=
"400"
android:fromXDelta=
"0"
android:interpolator=
"@anim/
cycle_input"
android:interpolator=
"@anim/
user_cycle_input"
android:toXDelta=
"20"
/>
m-user/src/main/res/anim/slide_null.xml
→
m-user/src/main/res/anim/
user_
slide_null.xml
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/bg_login.png
→
m-user/src/main/res/drawable-xhdpi/
user_
bg_login.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/card_login.png
→
m-user/src/main/res/drawable-xhdpi/
user_
card_login.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/country_australia.png
→
m-user/src/main/res/drawable-xhdpi/
user_
country_australia.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/country_hk.png
→
m-user/src/main/res/drawable-xhdpi/
user_
country_hk.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/country_japan.png
→
m-user/src/main/res/drawable-xhdpi/
user_
country_japan.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/country_malaysia.png
→
m-user/src/main/res/drawable-xhdpi/
user_
country_malaysia.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/country_nz.png
→
m-user/src/main/res/drawable-xhdpi/
user_
country_nz.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/country_sk.png
→
m-user/src/main/res/drawable-xhdpi/
user_
country_sk.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/country_uk.png
→
m-user/src/main/res/drawable-xhdpi/
user_
country_uk.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/country_usa.png
→
m-user/src/main/res/drawable-xhdpi/
user_
country_usa.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/default_img.png
→
m-user/src/main/res/drawable-xhdpi/
user_
default_img.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/ic_back_grey.png
→
m-user/src/main/res/drawable-xhdpi/
user_
ic_back_grey.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/ic_china.png
→
m-user/src/main/res/drawable-xhdpi/
user_
ic_china.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/ic_del.png
→
m-user/src/main/res/drawable-xhdpi/
user_
ic_del.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/ic_invisibility.png
→
m-user/src/main/res/drawable-xhdpi/
user_
ic_invisibility.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/ic_log_succee.png
→
m-user/src/main/res/drawable-xhdpi/
user_
ic_log_succee.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/ic_next.png
→
m-user/src/main/res/drawable-xhdpi/
user_
ic_next.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/ic_visibility.png
→
m-user/src/main/res/drawable-xhdpi/
user_
ic_visibility.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/ico_hb_s.png
→
m-user/src/main/res/drawable-xhdpi/
user_
ico_hb_s.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/img_privacy.png
→
m-user/src/main/res/drawable-xhdpi/
user_
img_privacy.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/loading2.gif
→
m-user/src/main/res/drawable-xhdpi/
user_
loading2.gif
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/lock.png
→
m-user/src/main/res/drawable-xhdpi/
user_
lock.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/login_qq.png
→
m-user/src/main/res/drawable-xhdpi/
user_
login_qq.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/login_weixin.png
→
m-user/src/main/res/drawable-xhdpi/
user_
login_weixin.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/nim_arrow_right.png
→
m-user/src/main/res/drawable-xhdpi/
user_
nim_arrow_right.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/phone.png
→
m-user/src/main/res/drawable-xhdpi/
user_
phone.png
View file @
3e843120
File moved
m-user/src/main/res/drawable-xhdpi/regist_photo.png
→
m-user/src/main/res/drawable-xhdpi/
user_
regist_photo.png
View file @
3e843120
File moved
m-user/src/main/res/drawable/bg__choose_country_radius.xml
→
m-user/src/main/res/drawable/
user_
bg__choose_country_radius.xml
View file @
3e843120
File moved
m-user/src/main/res/drawable/bg_radius_bule.xml
→
m-user/src/main/res/drawable/
user_
bg_radius_bule.xml
View file @
3e843120
File moved
m-user/src/main/res/drawable/bg_radius_green_20.xml
→
m-user/src/main/res/drawable/
user_
bg_radius_green_20.xml
View file @
3e843120
...
...
@@ -2,7 +2,7 @@
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<corners
android:radius=
"20dp"
></corners>
<solid
android:color=
"@color/main_theme"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/main_theme"
/>
<solid
android:color=
"@color/
user_
main_theme"
/>
<stroke
android:width=
"1dp"
android:color=
"@color/
user_
main_theme"
/>
</shape>
\ No newline at end of file
m-user/src/main/res/drawable/bg_radius_transparent.xml
→
m-user/src/main/res/drawable/
user_
bg_radius_transparent.xml
View file @
3e843120
File moved
m-user/src/main/res/drawable/country_list_item_select.xml
→
m-user/src/main/res/drawable/
user_
country_list_item_select.xml
View file @
3e843120
File moved
m-user/src/main/res/drawable/next_border.9.png
→
m-user/src/main/res/drawable/
user_
next_border.9.png
View file @
3e843120
File moved
m-user/src/main/res/drawable/user_privacy_agree_background.xml
→
m-user/src/main/res/drawable/user_
user_
privacy_agree_background.xml
View file @
3e843120
File moved
m-user/src/main/res/drawable/user_privacy_disagree_background.xml
→
m-user/src/main/res/drawable/user_
user_
privacy_disagree_background.xml
View file @
3e843120
File moved
m-user/src/main/res/layout/activity_ali_auth_demo.xml
→
m-user/src/main/res/layout/
user_
activity_ali_auth_demo.xml
View file @
3e843120
File moved
m-user/src/main/res/layout/activity_check_password.xml
→
m-user/src/main/res/layout/
user_
activity_check_password.xml
View file @
3e843120
...
...
@@ -44,7 +44,7 @@
android:layout_marginLeft=
"20dp"
android:layout_marginRight=
"20dp"
android:layout_marginTop=
"30dp"
android:background=
"@drawable/
bg_radius_green_20"
android:background=
"@drawable/
user_bg_radius_green_20"
android:gravity=
"center"
android:text=
"下一步"
android:textColor=
"@color/platform_white"
/>
...
...
m-user/src/main/res/layout/activity_country_list.xml
→
m-user/src/main/res/layout/
user_
activity_country_list.xml
View file @
3e843120
...
...
@@ -12,7 +12,7 @@
android:layout_marginLeft=
"14dp"
android:layout_marginTop=
"24dp"
android:padding=
"3dp"
android:src=
"@drawable/
ic_del"
/>
android:src=
"@drawable/
user_ic_del"
/>
<TextView
android:layout_width=
"wrap_content"
...
...
m-user/src/main/res/layout/activity_fill_info.xml
→
m-user/src/main/res/layout/
user_
activity_fill_info.xml
View file @
3e843120
...
...
@@ -18,12 +18,12 @@
android:layout_width=
"60dp"
android:layout_height=
"60dp"
android:layout_marginTop=
"30dp"
android:src=
"@drawable/
regist_photo"
/>
android:src=
"@drawable/
user_regist_photo"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:layout_marginTop=
"36dp"
android:background=
"@color/platform_divide_color"
/>
...
...
@@ -39,7 +39,7 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<EditText
...
...
@@ -56,7 +56,7 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<com.ydl.ydlcommon.view.RoundCornerButton
...
...
@@ -71,7 +71,7 @@
android:textColor=
"@color/platform_white"
android:textSize=
"@dimen/platform_default_text_size_big"
app:pa_round_btn_active_bg=
"@color/platform_white"
app:pa_round_btn_bg=
"@color/
main_theme"
app:pa_round_btn_bg=
"@color/
user_main_theme"
app:pa_round_btn_radio_size=
"5dp"
/>
</LinearLayout>
m-user/src/main/res/layout/activity_finger_print_check.xml
→
m-user/src/main/res/layout/
user_
activity_finger_print_check.xml
View file @
3e843120
...
...
@@ -27,10 +27,10 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"点击进入指纹解锁"
android:textColor=
"@color/main_theme"
android:textColor=
"@color/
user_
main_theme"
android:gravity=
"center"
android:drawablePadding=
"20dp"
android:drawableTop=
"@drawable/lock_ico_zhiwen"
android:drawableTop=
"@drawable/
user_
lock_ico_zhiwen"
android:layout_centerInParent=
"true"
/>
<TextView
...
...
@@ -41,7 +41,7 @@
android:gravity=
"center"
android:padding=
"5dp"
android:layout_marginBottom=
"10dp"
android:textColor=
"@color/main_theme"
android:textColor=
"@color/
user_
main_theme"
android:layout_centerHorizontal=
"true"
android:layout_alignParentBottom=
"true"
/>
</RelativeLayout>
m-user/src/main/res/layout/activity_finger_print_set.xml
→
m-user/src/main/res/layout/
user_
activity_finger_print_set.xml
View file @
3e843120
...
...
@@ -19,10 +19,10 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"点击进入指纹解锁"
android:textColor=
"@color/main_theme"
android:textColor=
"@color/
user_
main_theme"
android:gravity=
"center"
android:drawablePadding=
"20dp"
android:drawableTop=
"@drawable/lock_ico_zhiwen"
android:drawableTop=
"@drawable/
user_
lock_ico_zhiwen"
android:layout_centerInParent=
"true"
/>
</RelativeLayout>
m-user/src/main/res/layout/activity_get_identifying_code.xml
→
m-user/src/main/res/layout/
user_
activity_get_identifying_code.xml
View file @
3e843120
...
...
@@ -39,7 +39,7 @@
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<LinearLayout
...
...
@@ -72,12 +72,12 @@
android:background=
"?android:attr/selectableItemBackground"
android:padding=
"@dimen/platform_default_dis_size"
android:text=
"重新发送"
android:textColor=
"@color/
main_theme"
/>
android:textColor=
"@color/
user_main_theme"
/>
</LinearLayout>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<LinearLayout
...
...
@@ -106,7 +106,7 @@
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
...
...
@@ -131,7 +131,7 @@
android:textColor=
"@color/platform_white"
android:textSize=
"@dimen/platform_default_text_size_big"
app:pa_round_btn_active_bg=
"@color/platform_white"
app:pa_round_btn_bg=
"@color/
main_theme"
app:pa_round_btn_bg=
"@color/
user_main_theme"
app:pa_round_btn_radio_size=
"5dp"
/>
...
...
m-user/src/main/res/layout/activity_h5.xml
→
m-user/src/main/res/layout/
user_
activity_h5.xml
View file @
3e843120
...
...
@@ -13,7 +13,7 @@
android:layout_marginLeft=
"21dp"
android:layout_marginTop=
"24dp"
android:padding=
"4dp"
android:src=
"@drawable/
ic_del"
/>
android:src=
"@drawable/
user_ic_del"
/>
<WebView
android:id=
"@+id/web_view"
...
...
m-user/src/main/res/layout/activity_hand_unlock.xml
→
m-user/src/main/res/layout/
user_
activity_hand_unlock.xml
View file @
3e843120
...
...
@@ -41,11 +41,11 @@
android:layout_width=
"300dp"
android:layout_gravity=
"center_horizontal"
android:layout_height=
"wrap_content"
app:pa_lock9_nodeSrc=
"@drawable/lock_btn_shoushi"
app:pa_lock9_nodeOnSrc=
"@drawable/lock_btn_shoushi_pre"
app:pa_lock9_nodeSrc=
"@drawable/
user_
lock_btn_shoushi"
app:pa_lock9_nodeOnSrc=
"@drawable/
user_
lock_btn_shoushi_pre"
app:pa_lock9_padding=
"20dp"
app:pa_lock9_spacing=
"40dp"
app:pa_lock9_lineColor=
"@color/main_theme"
app:pa_lock9_lineColor=
"@color/
user_
main_theme"
app:pa_lock9_lineWidth=
"5dp"
app:pa_lock9_autoLink=
"false"
app:pa_lock9_enableVibrate=
"true"
...
...
@@ -62,14 +62,14 @@
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:gravity=
"center"
android:textColor=
"@color/main_theme"
android:textColor=
"@color/
user_
main_theme"
android:text=
"忘记手势密码"
/>
<TextView
android:id=
"@+id/text_login"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:textColor=
"@color/main_theme"
android:textColor=
"@color/
user_
main_theme"
android:gravity=
"center"
android:text=
"切换登录方式"
/>
</LinearLayout>
...
...
m-user/src/main/res/layout/activity_hand_unlock_set.xml
→
m-user/src/main/res/layout/
user_
activity_hand_unlock_set.xml
View file @
3e843120
...
...
@@ -40,11 +40,11 @@
android:id=
"@+id/lock9View"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:pa_lock9_nodeSrc=
"@drawable/lock_btn_shoushi"
app:pa_lock9_nodeOnSrc=
"@drawable/lock_btn_shoushi_pre"
app:pa_lock9_nodeSrc=
"@drawable/
user_
lock_btn_shoushi"
app:pa_lock9_nodeOnSrc=
"@drawable/
user_
lock_btn_shoushi_pre"
app:pa_lock9_padding=
"28dp"
app:pa_lock9_spacing=
"28dp"
app:pa_lock9_lineColor=
"@color/main_theme"
app:pa_lock9_lineColor=
"@color/
user_
main_theme"
app:pa_lock9_lineWidth=
"5dp"
app:pa_lock9_autoLink=
"false"
app:pa_lock9_enableVibrate=
"true"
...
...
m-user/src/main/res/layout/activity_input_password.xml
→
m-user/src/main/res/layout/
user_
activity_input_password.xml
View file @
3e843120
...
...
@@ -4,14 +4,14 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<!--android:src="@drawable/
bg_login"-->
<!--android:src="@drawable/
user_bg_login"-->
<ImageView
android:id=
"@+id/iv_input_bg"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
bg_login"
/>
android:src=
"@drawable/
user_bg_login"
/>
<ImageView
android:id=
"@+id/input_img_back"
...
...
@@ -20,7 +20,7 @@
android:layout_marginLeft=
"20dp"
android:layout_marginTop=
"20dp"
android:scaleType=
"fitXY"
android:src=
"@drawable/
ic_back_grey"
/>
android:src=
"@drawable/
user_ic_back_grey"
/>
<TextView
android:id=
"@+id/tv_setPass2"
...
...
@@ -93,7 +93,7 @@
android:layout_marginLeft=
"28dp"
android:layout_marginTop=
"30dp"
android:layout_marginRight=
"28dp"
android:background=
"@drawable/
card_login"
android:background=
"@drawable/
user_card_login"
android:orientation=
"vertical"
>
<LinearLayout
...
...
@@ -121,7 +121,7 @@
android:layout_gravity=
"center_vertical"
android:padding=
"12dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
ic_invisibility"
/>
android:src=
"@drawable/
user_ic_invisibility"
/>
</FrameLayout>
<EditText
...
...
@@ -146,7 +146,7 @@
android:layout_gravity=
"center_vertical"
android:padding=
"8dp"
android:scaleType=
"fitCenter"
android:src=
"@drawable/
ic_del"
/>
android:src=
"@drawable/
user_ic_del"
/>
</LinearLayout>
...
...
@@ -166,7 +166,7 @@
android:layout_alignParentBottom=
"true"
android:layout_centerInParent=
"true"
android:layout_marginBottom=
"13dp"
android:background=
"@drawable/
bg_radius_bule"
android:background=
"@drawable/
user_bg_radius_bule"
android:elevation=
"10dp"
android:gravity=
"center"
>
...
...
@@ -179,7 +179,7 @@
android:layout_centerInParent=
"true"
android:padding=
"10dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
ic_next"
/>
android:src=
"@drawable/
user_ic_next"
/>
<ProgressBar
android:id=
"@+id/input_progressBarNormal"
...
...
@@ -195,7 +195,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:background=
"@drawable/
bg_radius_transparent"
android:background=
"@drawable/
user_bg_radius_transparent"
android:gravity=
"center"
android:paddingLeft=
"10dp"
android:paddingTop=
"3dp"
...
...
@@ -224,7 +224,7 @@
<ImageView
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:src=
"@drawable/
ic_log_succee"
/>
android:src=
"@drawable/
user_ic_log_succee"
/>
<TextView
android:layout_width=
"match_parent"
...
...
m-user/src/main/res/layout/activity_input_phone.xml
→
m-user/src/main/res/layout/
user_
activity_input_phone.xml
View file @
3e843120
...
...
@@ -16,20 +16,20 @@
android:id=
"@+id/tv_free_packet_hint"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:drawableLeft=
"@drawable/
ico_hb_s"
android:drawableLeft=
"@drawable/
user_ico_hb_s"
android:drawablePadding=
"5dp"
android:paddingBottom=
"8dp"
android:paddingLeft=
"15dp"
android:paddingTop=
"25dp"
android:text=
"注册即可领取218元新人大礼包"
android:textColor=
"#666666"
android:textSize=
"@dimen/
text_size_15"
android:textSize=
"@dimen/
user_text_size_15"
android:visibility=
"gone"
tools:visibility=
"visible"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:layout_marginTop=
"@dimen/platform_default_dis_size_huge"
android:background=
"@color/platform_divide_color"
/>
...
...
@@ -44,12 +44,12 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:layout_marginTop=
"@dimen/platform_default_dis_size_huge"
android:background=
"@color/platform_divide_color"
/>
...
...
@@ -76,7 +76,7 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<LinearLayout
...
...
@@ -105,7 +105,7 @@
android:paddingBottom=
"@dimen/platform_default_dis_size_micro"
android:paddingTop=
"@dimen/platform_default_dis_size_micro"
android:text=
"@string/platform_user_protocol"
android:textColor=
"@color/
main_theme"
android:textColor=
"@color/
user_main_theme"
android:textSize=
"@dimen/platform_default_text_size_small"
/>
</LinearLayout>
...
...
@@ -121,7 +121,7 @@
android:textColor=
"@color/platform_white"
android:textSize=
"@dimen/platform_default_text_size_big"
app:pa_round_btn_active_bg=
"@color/platform_white"
app:pa_round_btn_bg=
"@color/
main_theme"
app:pa_round_btn_bg=
"@color/
user_main_theme"
app:pa_round_btn_radio_size=
"5dp"
/>
</LinearLayout>
m-user/src/main/res/layout/activity_login.xml
→
m-user/src/main/res/layout/
user_
activity_login.xml
View file @
3e843120
...
...
@@ -20,7 +20,7 @@
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:layout_marginTop=
"@dimen/platform_default_dis_size_huge"
android:background=
"@color/platform_divide_color"
/>
...
...
@@ -35,7 +35,7 @@
app:pa_jump_tv_left_icon_hight=
"20dp"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<android.support.v4.widget.Space
android:layout_width=
"match_parent"
...
...
@@ -45,7 +45,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/platform_white"
android:drawableLeft=
"@drawable/
phone"
android:drawableLeft=
"@drawable/
user_phone"
android:drawablePadding=
"@dimen/platform_default_dis_size_small"
android:hint=
"手机号"
android:inputType=
"number"
...
...
@@ -58,7 +58,7 @@
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<com.ydl.ydlcommon.view.DeleteEditTextView
...
...
@@ -66,7 +66,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@color/platform_white"
android:drawableLeft=
"@drawable/
lock"
android:drawableLeft=
"@drawable/
user_lock"
android:drawablePadding=
"@dimen/platform_default_dis_size_small"
android:hint=
"密码"
android:inputType=
"textPassword"
...
...
@@ -79,7 +79,7 @@
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/
divide_line_stroke_width"
android:layout_height=
"@dimen/
user_divide_line_stroke_width"
android:background=
"@color/platform_divide_color"
/>
<com.ydl.ydlcommon.view.RoundCornerButton
...
...
@@ -94,7 +94,7 @@
android:textColor=
"@color/platform_white"
android:textSize=
"@dimen/platform_default_text_size_big"
app:pa_round_btn_active_bg=
"@color/platform_white"
app:pa_round_btn_bg=
"@color/
main_theme"
app:pa_round_btn_bg=
"@color/
user_main_theme"
app:pa_round_btn_radio_size=
"5dp"
/>
</LinearLayout>
...
...
@@ -116,7 +116,7 @@
android:paddingRight=
"@dimen/platform_default_dis_size_big"
android:paddingTop=
"@dimen/platform_default_dis_size_huge"
android:text=
"新手注册"
android:textColor=
"@color/
main_theme"
android:textColor=
"@color/
user_main_theme"
android:textSize=
"17sp"
/>
<TextView
...
...
@@ -129,7 +129,7 @@
android:paddingRight=
"@dimen/platform_default_dis_size_big"
android:paddingTop=
"@dimen/platform_default_dis_size_huge"
android:text=
"短信快捷登录"
android:textColor=
"@color/
main_theme"
android:textColor=
"@color/
user_main_theme"
android:textSize=
"17sp"
/>
</RelativeLayout>
...
...
m-user/src/main/res/layout/activity_me_privacy.xml
→
m-user/src/main/res/layout/
user_
activity_me_privacy.xml
View file @
3e843120
...
...
@@ -101,7 +101,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:drawableRight=
"@drawable/
nim_arrow_right"
/>
android:drawableRight=
"@drawable/
user_nim_arrow_right"
/>
</LinearLayout>
</LinearLayout>
m-user/src/main/res/layout/activity_register_and_login.xml
→
m-user/src/main/res/layout/
user_
activity_register_and_login.xml
View file @
3e843120
...
...
@@ -10,7 +10,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
bg_login"
/>
android:src=
"@drawable/
user_bg_login"
/>
<ImageView
android:id=
"@+id/img_reg_back"
...
...
@@ -19,7 +19,7 @@
android:layout_marginLeft=
"20dp"
android:layout_marginTop=
"20dp"
android:scaleType=
"fitXY"
android:src=
"@drawable/
ic_back_grey"
/>
android:src=
"@drawable/
user_ic_back_grey"
/>
<TextView
android:id=
"@+id/tv_skip"
...
...
@@ -78,7 +78,7 @@
android:layout_marginLeft=
"28dp"
android:layout_marginTop=
"30dp"
android:layout_marginRight=
"28dp"
android:background=
"@drawable/
card_login"
android:background=
"@drawable/
user_card_login"
android:orientation=
"vertical"
>
<LinearLayout
...
...
@@ -96,7 +96,7 @@
android:id=
"@+id/ll_country"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/
bg__choose_country_radius"
android:background=
"@drawable/
user_bg__choose_country_radius"
android:gravity=
"center_vertical"
android:paddingLeft=
"7dp"
android:paddingTop=
"4dp"
...
...
@@ -109,7 +109,7 @@
android:layout_height=
"16dp"
android:layout_gravity=
"center_vertical"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
ic_china"
/>
android:src=
"@drawable/
user_ic_china"
/>
<TextView
android:id=
"@+id/tv_country_code"
...
...
@@ -147,7 +147,7 @@
android:layout_gravity=
"center_vertical"
android:padding=
"5dp"
android:scaleType=
"fitXY"
android:src=
"@drawable/
ic_del"
android:src=
"@drawable/
user_ic_del"
android:visibility=
"invisible"
/>
</LinearLayout>
...
...
@@ -167,7 +167,7 @@
android:layout_alignParentBottom=
"true"
android:layout_centerInParent=
"true"
android:layout_marginBottom=
"13dp"
android:src=
"@drawable/
next_border"
/>
android:src=
"@drawable/
user_next_border"
/>
<RelativeLayout
android:layout_width=
"60dp"
...
...
@@ -175,7 +175,7 @@
android:layout_alignParentBottom=
"true"
android:layout_centerInParent=
"true"
android:layout_marginBottom=
"13dp"
android:background=
"@drawable/
bg_radius_bule"
android:background=
"@drawable/
user_bg_radius_bule"
android:elevation=
"10dp"
android:gravity=
"center"
>
...
...
@@ -187,7 +187,7 @@
android:layout_centerInParent=
"true"
android:padding=
"18sp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
ic_next"
/>
android:src=
"@drawable/
user_ic_next"
/>
<ProgressBar
android:id=
"@+id/pb_Normal"
...
...
@@ -213,7 +213,7 @@
android:layout_height=
"45dp"
android:contentDescription=
"@null"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
login_weixin"
/>
android:src=
"@drawable/
user_login_weixin"
/>
<ImageView
android:id=
"@+id/iv_qq"
...
...
@@ -222,7 +222,7 @@
android:layout_marginLeft=
"30dp"
android:contentDescription=
"@null"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
login_qq"
android:src=
"@drawable/
user_login_qq"
android:visibility=
"visible"
/>
</LinearLayout>
...
...
@@ -243,7 +243,7 @@
<ImageView
android:layout_width=
"16dp"
android:layout_height=
"16dp"
android:src=
"@drawable/
ic_log_succee"
/>
android:src=
"@drawable/
user_ic_log_succee"
/>
<TextView
android:layout_width=
"match_parent"
...
...
m-user/src/main/res/layout/activity_verification_code.xml
→
m-user/src/main/res/layout/
user_
activity_verification_code.xml
View file @
3e843120
...
...
@@ -12,7 +12,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
bg_login"
/>
android:src=
"@drawable/
user_bg_login"
/>
<ImageView
android:id=
"@+id/img_goback"
...
...
@@ -21,7 +21,7 @@
android:layout_marginLeft=
"20dp"
android:layout_marginTop=
"20dp"
android:scaleType=
"fitXY"
android:src=
"@drawable/
ic_back_grey"
/>
android:src=
"@drawable/
user_ic_back_grey"
/>
<TextView
android:id=
"@+id/tv_first"
...
...
@@ -98,7 +98,7 @@
android:layout_marginLeft=
"28dp"
android:layout_marginTop=
"30dp"
android:layout_marginRight=
"28dp"
android:background=
"@drawable/
card_login"
android:background=
"@drawable/
user_card_login"
android:orientation=
"vertical"
>
<LinearLayout
...
...
@@ -124,7 +124,7 @@
android:layout_alignParentBottom=
"true"
android:layout_centerInParent=
"true"
android:layout_marginBottom=
"13dp"
android:background=
"@drawable/
bg_radius_bule"
android:background=
"@drawable/
user_bg_radius_bule"
android:elevation=
"10dp"
android:gravity=
"center"
>
...
...
@@ -136,7 +136,7 @@
android:layout_centerInParent=
"true"
android:padding=
"10dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/
ic_next"
/>
android:src=
"@drawable/
user_ic_next"
/>
<ProgressBar
android:id=
"@+id/pb_load"
...
...
@@ -153,7 +153,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:background=
"@drawable/
bg_radius_transparent"
android:background=
"@drawable/
user_bg_radius_transparent"
android:gravity=
"center"
android:paddingLeft=
"10dp"
android:paddingTop=
"3dp"
...
...
m-user/src/main/res/layout/dialog_privacy.xml
→
m-user/src/main/res/layout/
user_
dialog_privacy.xml
View file @
3e843120
...
...
@@ -17,7 +17,7 @@
android:layout_width=
"match_parent"
android:layout_height=
"120dp"
android:scaleType=
"fitXY"
android:src=
"@drawable/
img_privacy"
/>
android:src=
"@drawable/
user_img_privacy"
/>
<TextView
android:id=
"@+id/title"
...
...
@@ -73,7 +73,7 @@
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"20dp"
android:layout_marginBottom=
"25dp"
android:background=
"@drawable/user_
privacy_disagree_background"
android:background=
"@drawable/user_
user_privacy_disagree_background"
android:gravity=
"center"
android:text=
"不同意"
android:textColor=
"@color/platform_color_999999"
...
...
@@ -88,7 +88,7 @@
android:layout_alignParentBottom=
"true"
android:layout_marginRight=
"20dp"
android:layout_marginBottom=
"25dp"
android:background=
"@drawable/user_
privacy_agree_background"
android:background=
"@drawable/user_
user_privacy_agree_background"
android:gravity=
"center"
android:text=
"同意"
android:textColor=
"@color/platform_white"
...
...
m-user/src/main/res/layout/item_country_phone_code.xml
→
m-user/src/main/res/layout/
user_
item_country_phone_code.xml
View file @
3e843120
...
...
@@ -13,7 +13,7 @@
android:layout_centerInParent=
"true"
android:drawablePadding=
"@dimen/platform_default_dis_size_small"
android:text=
"中国"
android:textColor=
"@drawable/
country_list_item_select"
android:textColor=
"@drawable/
user_country_list_item_select"
android:textSize=
"18dp"
/>
<TextView
...
...
@@ -27,7 +27,7 @@
android:gravity=
"end"
android:singleLine=
"true"
android:text=
"+86"
android:textColor=
"@drawable/
country_list_item_select"
android:textColor=
"@drawable/
user_country_list_item_select"
android:textSize=
"12dp"
/>
<View
...
...
m-user/src/main/res/layout/phone_code.xml
→
m-user/src/main/res/layout/
user_
phone_code.xml
View file @
3e843120
...
...
@@ -31,7 +31,7 @@
android:layout_height=
"2dp"
android:layout_marginLeft=
"4dp"
android:layout_marginRight=
"4dp"
android:background=
"@color/main_theme_light"
/>
android:background=
"@color/
user_
main_theme_light"
/>
</LinearLayout>
<LinearLayout
...
...
m-user/src/main/res/values-hdpi/dimens.xml
View file @
3e843120
<resources
xmlns:tools=
"http://schemas.android.com/tools"
>
<!--字体大小部分-->
<dimen
name=
"
default_text_size_small"
>
12sp
</dimen>
<dimen
name=
"
default_text_size"
>
14sp
</dimen>
<dimen
name=
"
default_text_size_big"
>
16sp
</dimen>
<dimen
name=
"
default_text_size_large"
>
18sp
</dimen>
<dimen
name=
"
user_default_text_size_small"
>
12sp
</dimen>
<dimen
name=
"
user_default_text_size"
>
14sp
</dimen>
<dimen
name=
"
user_default_text_size_big"
>
16sp
</dimen>
<dimen
name=
"
user_default_text_size_large"
>
18sp
</dimen>
<!--距离部分-->
<dimen
name=
"
default_dis_size_micro"
>
4dp
</dimen>
<dimen
name=
"
default_dis_size_small"
>
6dp
</dimen>
<dimen
name=
"
default_dis_size"
>
8dp
</dimen>
<dimen
name=
"
default_dis_size_big"
>
10dp
</dimen>
<dimen
name=
"
default_dis_size_large"
>
12dp
</dimen>
<dimen
name=
"
default_dis_size_huge"
>
14dp
</dimen>
<dimen
name=
"
user_default_dis_size_micro"
>
4dp
</dimen>
<dimen
name=
"
user_default_dis_size_small"
>
6dp
</dimen>
<dimen
name=
"
user_default_dis_size"
>
8dp
</dimen>
<dimen
name=
"
user_default_dis_size_big"
>
10dp
</dimen>
<dimen
name=
"
user_default_dis_size_large"
>
12dp
</dimen>
<dimen
name=
"
user_default_dis_size_huge"
>
14dp
</dimen>
<!--分割线粗细-->
<dimen
name=
"
divide_line_stroke_width"
>
1px
</dimen>
<dimen
name=
"
user_divide_line_stroke_width"
>
1px
</dimen>
</resources>
m-user/src/main/res/values/colors.xml
View file @
3e843120
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- google color-->
<color
name=
"
google_yellow"
>
#fdbd00
</color>
<color
name=
"
user_google_yellow"
>
#fdbd00
</color>
<!--app主要颜色-->
<color
name=
"
white"
>
#ffffff
</color>
<color
name=
"
theme_bg"
>
#FAFAFA
</color>
<color
name=
"
default_text_color"
>
#555555
</color>
<color
name=
"
default_text_color_hint"
>
#333333
</color>
<color
name=
"
divide_color"
>
#EDEDED
</color>
<color
name=
"
place_holder_color"
>
#DDDDDD
</color>
<color
name=
"
transparent"
>
#00FFFFFF
</color>
<color
name=
"
price_color"
>
#EC7100
</color>
<color
name=
"
tag_text"
>
#777777
</color>
<color
name=
"
f5f5f5"
>
#f5f5f5
</color>
<color
name=
"
black_deep"
>
#FF000000
</color>
<color
name=
"
user_white"
>
#ffffff
</color>
<color
name=
"
user_theme_bg"
>
#FAFAFA
</color>
<color
name=
"
user_default_text_color"
>
#555555
</color>
<color
name=
"
user_default_text_color_hint"
>
#333333
</color>
<color
name=
"
user_divide_color"
>
#EDEDED
</color>
<color
name=
"
user_place_holder_color"
>
#DDDDDD
</color>
<color
name=
"
user_transparent"
>
#00FFFFFF
</color>
<color
name=
"
user_price_color"
>
#EC7100
</color>
<color
name=
"
user_tag_text"
>
#777777
</color>
<color
name=
"
user_f5f5f5"
>
#f5f5f5
</color>
<color
name=
"
user_black_deep"
>
#FF000000
</color>
<!--最后删除-->
<color
name=
"
colorTextDefault"
>
#555555
</color>
<color
name=
"
user_colorTextDefault"
>
#555555
</color>
<!-- main bg color -->
...
...
@@ -29,13 +29,13 @@
<!-- contact -->
<!-- setting -->
<color
name=
"
color_black_ff666666"
>
#ff666666
</color>
<color
name=
"
user_color_black_ff666666"
>
#ff666666
</color>
<!--云信 end-->
<color
name=
"
text_gray"
>
#B6B6B6
</color>
<color
name=
"
user_text_gray"
>
#B6B6B6
</color>
<color
name=
"
title_bottom_line_bg"
>
#DDDDDD
</color>
<color
name=
"
user_title_bottom_line_bg"
>
#DDDDDD
</color>
<!--动态-->
<!--动态顶部title背景变色-->
...
...
m-user/src/main/res/values/dimens.xml
View file @
3e843120
...
...
@@ -7,8 +7,8 @@
<!-- map -->
<dimen
name=
"
text_size_12"
>
12sp
</dimen>
<dimen
name=
"
text_size_15"
>
15sp
</dimen>
<dimen
name=
"
user_text_size_12"
>
12sp
</dimen>
<dimen
name=
"
user_text_size_15"
>
15sp
</dimen>
</resources>
m-user/src/main/res/values/strings.xml
View file @
3e843120
<resources>
<string
name=
"
attend_course_success"
>
报名成功
</string>
<string
name=
"
theme"
>
主题
</string>
<string
name=
"
area"
>
地区
</string>
<string
name=
"
sort"
>
排序
</string>
<string
name=
"
filter"
>
筛选
</string>
<string
name=
"
reset"
>
重置
</string>
<string
name=
"
confirm"
>
确定
</string>
<string
name=
"
no_more"
>
没有更多了
</string>
<string
name=
"
no_search_result"
>
没有符合条件的内容
</string>
<string
name=
"
search_by_category"
>
按主题搜索看看
</string>
<string
name=
"
search_hint"
>
搜索话题、咨询师姓名
</string>
<string
name=
"
need_storage_permission_hint"
>
App正常工作需要内部存储使用权限,请开启
</string>
<string
name=
"user_
protocol"
>
用户协议
</string>
<string
name=
"
next_step"
>
下一步
</string>
<string
name=
"
finish"
>
完成
</string>
<string
name=
"
nickname_hint"
>
设置一个昵称,方便大家认识你哦(最多10个字)
</string>
<string
name=
"
please_select_gender"
>
请选择性别
</string>
<string
name=
"
register_success"
>
注册成功
</string>
<string
name=
"
private_safe_hint"
>
设置手势密码,保障安全隐私
</string>
<string
name=
"
gson_parse_error"
>
解析错误
</string>
<string
name=
"
user_attend_course_success"
>
报名成功
</string>
<string
name=
"
user_theme"
>
主题
</string>
<string
name=
"
user_area"
>
地区
</string>
<string
name=
"
user_sort"
>
排序
</string>
<string
name=
"
user_filter"
>
筛选
</string>
<string
name=
"
user_reset"
>
重置
</string>
<string
name=
"
user_confirm"
>
确定
</string>
<string
name=
"
user_no_more"
>
没有更多了
</string>
<string
name=
"
user_no_search_result"
>
没有符合条件的内容
</string>
<string
name=
"
user_search_by_category"
>
按主题搜索看看
</string>
<string
name=
"
user_search_hint"
>
搜索话题、咨询师姓名
</string>
<string
name=
"
user_need_storage_permission_hint"
>
App正常工作需要内部存储使用权限,请开启
</string>
<string
name=
"user_
user_protocol"
>
用户协议
</string>
<string
name=
"
user_next_step"
>
下一步
</string>
<string
name=
"
user_finish"
>
完成
</string>
<string
name=
"
user_nickname_hint"
>
设置一个昵称,方便大家认识你哦(最多10个字)
</string>
<string
name=
"
user_please_select_gender"
>
请选择性别
</string>
<string
name=
"
user_register_success"
>
注册成功
</string>
<string
name=
"
user_private_safe_hint"
>
设置手势密码,保障安全隐私
</string>
<string
name=
"
user_gson_parse_error"
>
解析错误
</string>
<!--网络提示模块-->
<string
name=
"
network_error"
>
请检查网络连接!
</string>
<string
name=
"
timeout"
>
网络超时!
</string>
<string
name=
"
httperror"
>
请求失败
</string>
<string
name=
"
user_network_error"
>
请检查网络连接!
</string>
<string
name=
"
user_timeout"
>
网络超时!
</string>
<string
name=
"
user_httperror"
>
请求失败
</string>
<!--动态模块-->
<string
name=
"
dialog_loading"
>
加载中…
</string>
<string
name=
"
edittext_hint"
></string>
<string
name=
"
user_dialog_loading"
>
加载中…
</string>
<string
name=
"
user_edittext_hint"
></string>
</resources>
m-user/src/xlzx/res/drawable-xhdpi/lock_btn_shoushi.png
→
m-user/src/xlzx/res/drawable-xhdpi/
user_
lock_btn_shoushi.png
View file @
3e843120
File moved
m-user/src/xlzx/res/drawable-xhdpi/lock_btn_shoushi_pre.png
→
m-user/src/xlzx/res/drawable-xhdpi/
user_
lock_btn_shoushi_pre.png
View file @
3e843120
File moved
m-user/src/xlzx/res/drawable-xhdpi/lock_ico_zhiwen.png
→
m-user/src/xlzx/res/drawable-xhdpi/
user_
lock_ico_zhiwen.png
View file @
3e843120
File moved
m-user/src/xlzx/res/values/colors.xml
View file @
3e843120
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--主题色-->
<color
name=
"main_theme"
>
#fdbd00
</color>
<color
name=
"
user_
main_theme"
>
#fdbd00
</color>
<!--主题浅色-->
<color
name=
"main_theme_light"
>
#FFEC8C
</color>
<color
name=
"
user_
main_theme_light"
>
#FFEC8C
</color>
<!--主题亮色-->
<color
name=
"main_theme_bright"
>
#fffae0
</color>
<!--确认按钮背景颜色-->
<color
name=
"confirm_bg_color"
>
#FFDD33
</color>
<!--确认按钮字体颜色-->
<color
name=
"confirm_text_color"
>
#242424
</color>
<!--确认按钮提示字体颜色-->
<color
name=
"confirm_text_hint_color"
>
#666666
</color>
<!--筛选条件选择框字体颜色-->
<color
name=
"filter_content_text_color_en"
>
#242424
</color>
<color
name=
"filter_content_text_color_un"
>
#555555
</color>
<color
name=
"user_main_theme_bright"
>
#fffae0
</color>
</resources>
m-user/src/ydl/res/drawable-xhdpi/lock_btn_shoushi.png
→
m-user/src/ydl/res/drawable-xhdpi/
user_
lock_btn_shoushi.png
View file @
3e843120
File moved
m-user/src/ydl/res/drawable-xhdpi/lock_btn_shoushi_pre.png
→
m-user/src/ydl/res/drawable-xhdpi/
user_
lock_btn_shoushi_pre.png
View file @
3e843120
File moved
m-user/src/ydl/res/drawable-xhdpi/lock_ico_zhiwen.png
→
m-user/src/ydl/res/drawable-xhdpi/
user_
lock_ico_zhiwen.png
View file @
3e843120
File moved
m-user/src/ydl/res/values/colors.xml
View file @
3e843120
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--主题色-->
<color
name=
"main_theme"
>
#1da1f2
</color>
<color
name=
"
user_
main_theme"
>
#1da1f2
</color>
<!--主题浅色-->
<color
name=
"main_theme_light"
>
#60BDF5
</color>
<color
name=
"
user_
main_theme_light"
>
#60BDF5
</color>
<!--主题亮色-->
<color
name=
"main_theme_bright"
>
#E8F6FF
</color>
<!--确认按钮背景颜色-->
<color
name=
"confirm_bg_color"
>
#1da1f2
</color>
<!--确认按钮颜色-->
<color
name=
"confirm_text_color"
>
#ffffff
</color>
<!--确认提示颜色-->
<color
name=
"confirm_text_hint_color"
>
#60ffffff
</color>
<!--筛选条件选择框字体颜色-->
<color
name=
"filter_content_text_color_en"
>
#1da1f2
</color>
<color
name=
"filter_content_text_color_un"
>
#242424
</color>
<color
name=
"user_main_theme_bright"
>
#E8F6FF
</color>
</resources>
ydl-platform/src/main/java/com/ydl/ydlcommon/base/config/HttpConfig.kt
View file @
3e843120
...
...
@@ -133,13 +133,13 @@ class HttpConfig {
val
url
=
request
.
url
()
val
newBuilder
=
url
.
newBuilder
()
for
(
i
in
0
until
url
.
querySize
())
{
//取出url中?后的参数
val
key
=
url
.
queryParameterName
(
i
)
val
value
=
url
.
queryParameterValue
(
i
)
newBuilder
.
addQueryParameter
(
key
,
value
)
}
//
for (i in 0 until url.querySize()) {
//
//取出url中?后的参数
//
val key = url.queryParameterName(i)
//
val value = url.queryParameterValue(i)
//
newBuilder.
//
addQueryParameter(key, value)
//
}
newBuilder
.
addQueryParameter
(
FFROM
,
PlatformDataManager
.
getRam
().
getChannelName
())
...
...
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