Commit 3e843120 by konghaorui

user业务模块 - 资源前缀重命名

parent 82571fb0
......@@ -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
......
......@@ -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 {
......
......@@ -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("取消") {
}
......
......@@ -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("取消") {
//停止指纹监听
......
......@@ -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() {
......
......@@ -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("取消") {
......
......@@ -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 {
......
......@@ -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);
......
......@@ -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);
......
......@@ -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() {
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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() {
......
......@@ -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);
......
......@@ -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"))
......
......@@ -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
}
}
......
......@@ -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()
......
......@@ -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);
......
......@@ -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)
......
......@@ -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" />
......@@ -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
......@@ -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" />
......
......@@ -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"
......
......@@ -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>
......@@ -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>
......@@ -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>
......@@ -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" />
......
......@@ -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"
......
......@@ -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>
......
......@@ -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"
......
......@@ -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"
......
......@@ -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>
......@@ -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>
......
......@@ -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>
......@@ -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"
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -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
......
<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>
<?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背景变色-->
......
......@@ -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>
<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>
<?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>
<?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>
......@@ -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())
......
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