更改1
|
|
@ -246,7 +246,7 @@ class LoginActivity : BaseActivity(), View.OnClickListener {
|
|||
}
|
||||
|
||||
private fun toMain() {
|
||||
startActivity(Intent(this, UIMainActivity::class.java))
|
||||
startActivity(Intent(this, NewMainActivity::class.java))
|
||||
finish()
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ import android.widget.LinearLayout
|
|||
import android.widget.ProgressBar
|
||||
import android.widget.TextView
|
||||
import androidx.activity.result.contract.ActivityResultContracts.RequestPermission
|
||||
import androidx.constraintlayout.widget.ConstraintLayout
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.core.content.FileProvider
|
||||
import androidx.core.view.GravityCompat
|
||||
|
|
@ -104,7 +105,7 @@ class NewMainActivity : BaseActivity() {
|
|||
private lateinit var iv_slider: ImageView
|
||||
private lateinit var ll_slider: LinearLayout
|
||||
private lateinit var tv_exit: TextView
|
||||
private lateinit var tv_band: TextView
|
||||
// private lateinit var tv_band: TextView
|
||||
lateinit var containerVP: ViewPager2
|
||||
val clashRunning: Boolean
|
||||
get() = Remote.broadcasts.clashRunning
|
||||
|
|
@ -691,7 +692,7 @@ class NewMainActivity : BaseActivity() {
|
|||
iv_slider = findViewById(R.id.iv_slider)
|
||||
ll_slider = findViewById(R.id.ll_slider)
|
||||
tv_exit = findViewById(R.id.tv_exit)
|
||||
tv_band = findViewById(R.id.tv_band)
|
||||
// tv_band = findViewById(R.id.tv_band)
|
||||
// containerVP.registerOnPageChangeCallback(object : ViewPager2.OnPageChangeCallback() {
|
||||
// override fun onPageSelected(position: Int) {
|
||||
// super.onPageSelected(position)
|
||||
|
|
@ -703,38 +704,40 @@ class NewMainActivity : BaseActivity() {
|
|||
// }
|
||||
// })
|
||||
|
||||
findViewById<TextView>(R.id.tv_version).text =
|
||||
resources.getString(R.string.edition) + "${BuildConfig.VERSION_NAME}." + BuildConfig.productId
|
||||
// findViewById<TextView>(R.id.tv_version).text =
|
||||
// resources.getString(R.string.edition) + "${BuildConfig.VERSION_NAME}." + BuildConfig.productId
|
||||
|
||||
if (MMKV.defaultMMKV().decodeBool(BZYConstants.MMKV_KEY_IS_PERFECT)) {
|
||||
// 临时用户显示默认密码
|
||||
// findViewById<TextView>(R.id.tv_default_psw).visibility = View.VISIBLE
|
||||
tv_band.setOnClickListener {//绑定
|
||||
showBingDialogChoose()
|
||||
drawer.close()
|
||||
}
|
||||
tv_band.visibility = View.VISIBLE
|
||||
tv_username.text = "ID:${
|
||||
MMKV.defaultMMKV().decodeString(BZYConstants.MMKV_KEY_REMEMBER_USERNAME)
|
||||
}"
|
||||
} else {
|
||||
tv_username.text = "ID:${
|
||||
MMKV.defaultMMKV().decodeString(BZYConstants.MMKV_KEY_REMEMBER_USERNAME)
|
||||
}"
|
||||
}
|
||||
// if (MMKV.defaultMMKV().decodeBool(BZYConstants.MMKV_KEY_IS_PERFECT)) {
|
||||
//// 临时用户显示默认密码
|
||||
//// findViewById<TextView>(R.id.tv_default_psw).visibility = View.VISIBLE
|
||||
// tv_band.setOnClickListener {//绑定
|
||||
// showBingDialogChoose()
|
||||
// drawer.close()
|
||||
// }
|
||||
// tv_band.visibility = View.VISIBLE
|
||||
// tv_username.text = "ID:${
|
||||
// MMKV.defaultMMKV().decodeString(BZYConstants.MMKV_KEY_REMEMBER_USERNAME)
|
||||
// }"
|
||||
// } else {
|
||||
// tv_username.text = "ID:${
|
||||
// MMKV.defaultMMKV().decodeString(BZYConstants.MMKV_KEY_REMEMBER_USERNAME)
|
||||
// }"
|
||||
// }
|
||||
|
||||
tv_username.text = "ID:${
|
||||
MMKV.defaultMMKV().decodeString(BZYConstants.MMKV_KEY_REMEMBER_USERNAME)
|
||||
}"
|
||||
|
||||
tv_exit.setOnClickListener {//退出
|
||||
cleanUserInfo()
|
||||
finish()
|
||||
}
|
||||
|
||||
findViewById<TextView>(R.id.tv_viprecharge).setOnClickListener {//充值
|
||||
// tv_rechar.visibility = View.GONE
|
||||
// iv_slider.setImageResource(R.drawable.ic_s_back)
|
||||
findViewById<ConstraintLayout>(R.id.clVIP).setOnClickListener {//充值
|
||||
drawer.close()
|
||||
goBackupRechargeWeb()
|
||||
}
|
||||
findViewById<TextView>(R.id.tv_vip_recharge).setOnClickListener {
|
||||
findViewById<TextView>(R.id.tvRenewMembership).setOnClickListener {
|
||||
drawer.close()
|
||||
goBackupRechargeWeb()
|
||||
}
|
||||
|
|
@ -761,55 +764,51 @@ class NewMainActivity : BaseActivity() {
|
|||
clipboardManager.setPrimaryClip(clipData)
|
||||
RxToast.info(resources.getString(R.string.CopyToClipboard))
|
||||
}
|
||||
|
||||
// tv_rechar.setOnClickListener {
|
||||
// goRechargeWeb()
|
||||
// }
|
||||
findViewById<TextView>(R.id.tv_share).setOnClickListener {//分享
|
||||
startActivity(Intent(this@NewMainActivity, ShareActivity::class.java))
|
||||
drawer.close()
|
||||
}
|
||||
findViewById<TextView>(R.id.tv_setting).setOnClickListener {//设置
|
||||
startActivity(Intent(this, SettingActivity::class.java))
|
||||
drawer.close()
|
||||
}
|
||||
findViewById<TextView>(R.id.tv_dianka).setOnClickListener {//点卡
|
||||
startActivity(Intent(this, MyPointCardActivity::class.java))
|
||||
drawer.close()
|
||||
}
|
||||
findViewById<TextView>(R.id.tv_vip_sign).setOnClickListener {//会员签到
|
||||
mainAtyVM.vipSign()
|
||||
// findViewById<TextView>(R.id.tv_share).setOnClickListener {//分享
|
||||
// startActivity(Intent(this@NewMainActivity, ShareActivity::class.java))
|
||||
// drawer.close()
|
||||
}
|
||||
findViewById<TextView>(R.id.tv_tixian).setOnClickListener {//提现
|
||||
startActivity(Intent(this, ZFBTXActivity::class.java))
|
||||
drawer.close()
|
||||
}
|
||||
val telegramBtn = findViewById<TextView>(R.id.tv_dianbao)
|
||||
telegramBtn.setOnClickListener {//电报
|
||||
var uri = Uri.parse(BZYConstants.DefTGUrl)
|
||||
val intent = Intent(Intent.ACTION_VIEW)
|
||||
if (BuildConfig.is_tz) {
|
||||
uri = Uri.parse(BZYConstants.TZTGUrl)
|
||||
} else {
|
||||
if (BuildConfig.is_ym) {
|
||||
uri = Uri.parse(BZYConstants.YMTGUrl)
|
||||
}
|
||||
}
|
||||
intent.setData(uri)
|
||||
startActivity(intent)
|
||||
drawer.close()
|
||||
}
|
||||
// }
|
||||
// findViewById<TextView>(R.id.tv_setting).setOnClickListener {//设置
|
||||
// startActivity(Intent(this, SettingActivity::class.java))
|
||||
// drawer.close()
|
||||
// }
|
||||
// findViewById<TextView>(R.id.tv_dianka).setOnClickListener {//点卡
|
||||
// startActivity(Intent(this, MyPointCardActivity::class.java))
|
||||
// drawer.close()
|
||||
// }
|
||||
// findViewById<TextView>(R.id.tv_vip_sign).setOnClickListener {//会员签到
|
||||
// mainAtyVM.vipSign()
|
||||
//// drawer.close()
|
||||
// }
|
||||
// findViewById<TextView>(R.id.tv_tixian).setOnClickListener {//提现
|
||||
// startActivity(Intent(this, ZFBTXActivity::class.java))
|
||||
// drawer.close()
|
||||
// }
|
||||
// val telegramBtn = findViewById<TextView>(R.id.tv_dianbao)
|
||||
// telegramBtn.setOnClickListener {//电报
|
||||
// var uri = Uri.parse(BZYConstants.DefTGUrl)
|
||||
// val intent = Intent(Intent.ACTION_VIEW)
|
||||
// if (BuildConfig.is_tz) {
|
||||
// uri = Uri.parse(BZYConstants.TZTGUrl)
|
||||
// } else {
|
||||
// if (BuildConfig.is_ym) {
|
||||
// uri = Uri.parse(BZYConstants.YMTGUrl)
|
||||
// }
|
||||
// }
|
||||
// intent.setData(uri)
|
||||
// startActivity(intent)
|
||||
// drawer.close()
|
||||
// }
|
||||
findViewById<TextView>(R.id.tv_kefu).setOnClickListener {//客服
|
||||
startActivity(Intent(this, BZYWebViewKeFu::class.java))
|
||||
|
||||
drawer.close()
|
||||
}
|
||||
findViewById<TextView>(R.id.tv_fds).setOnClickListener {//防丢失
|
||||
startActivity(Intent(this, LossPreventionActivity::class.java))
|
||||
|
||||
drawer.close()
|
||||
}
|
||||
// findViewById<TextView>(R.id.tv_fds).setOnClickListener {//防丢失
|
||||
// startActivity(Intent(this, LossPreventionActivity::class.java))
|
||||
//
|
||||
// drawer.close()
|
||||
// }
|
||||
drawer = findViewById(R.id.drawer)
|
||||
iv_slider.setOnClickListener {
|
||||
if (containerVP.currentItem != 0) {
|
||||
|
|
@ -1024,7 +1023,7 @@ class NewMainActivity : BaseActivity() {
|
|||
}
|
||||
}
|
||||
|
||||
tv_expire_date.text = endTimeInfo
|
||||
tv_expire_date.text =resources.getString(R.string.expire_date)+":"+ endTimeInfo
|
||||
}
|
||||
|
||||
private fun showUpdateDialog(url: String, illustrate: String, isForce: Boolean) {
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 19 KiB |
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle"
|
||||
>
|
||||
<solid android:color="@color/blue_0080FF"/>
|
||||
<corners android:radius="15dp"/>
|
||||
</shape>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="16dp"
|
||||
android:height="16dp"
|
||||
android:viewportWidth="16"
|
||||
android:viewportHeight="16">
|
||||
<group>
|
||||
<clip-path
|
||||
android:pathData="M0,0h16v16h-16z"/>
|
||||
<path
|
||||
android:pathData="M4.052,9.052C3.471,8.471 3.471,7.529 4.052,6.948L10.713,0.287C11.101,-0.101 11.729,-0.101 12.116,0.287C12.503,0.674 12.503,1.302 12.116,1.689L5.805,8L12.116,14.311C12.503,14.698 12.503,15.326 12.116,15.713C11.729,16.101 11.101,16.101 10.713,15.713L4.052,9.052Z"
|
||||
android:fillColor="@color/white"
|
||||
android:fillType="evenOdd"/>
|
||||
</group>
|
||||
</vector>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:pathData="M836.3,257.7l-28.4,0c14.4,-24.4 20.7,-47.8 18.7,-69.4 -1.7,-18.1 -10.3,-44 -41.7,-64.6 -26.1,-17.1 -59.6,-21.3 -96.8,-12.1 -60.3,15.1 -131.6,67.2 -178.6,130.1C462.7,178.9 391.4,126.8 331.1,111.7c-37.2,-9.3 -70.8,-5.1 -96.8,12.1 -31.4,20.6 -40,46.5 -41.7,64.6 -2,21.6 4.2,44.9 18.7,69.4l-28.4,0c-43,0 -78.1,35.1 -78.1,78.1l0,100.6c0,34.1 22.5,64.2 55,74.3 -3.1,8.6 -4.7,17.4 -4.7,26.3l0,301.9c0,43 35.1,78.1 78.1,78.1l552.9,0c43,0 78.1,-35.1 78.1,-78.1L864.2,537.1c0,-9 -1.6,-17.9 -4.6,-26.4 32.5,-10.2 54.9,-40.3 54.9,-74.3l0,-100.6C914.4,292.8 879.4,257.7 836.3,257.7M786.1,861.5 L537.4,861.5 537.4,514.6l248.7,0c12.4,0 22.4,10.1 22.4,22.5l0,301.9C808.6,851.5 798.5,861.5 786.1,861.5M568,257.7c39.5,-45.6 91.5,-81.5 133.6,-92 21.9,-5.5 39.8,-4 52.8,4.6 13.8,9.1 16.2,17.1 16.8,23.2 2.2,22.4 -21.8,52.5 -33.1,64.3L568,257.7zM858.8,335.9l0,100.6c0,12.4 -10,22.5 -22.4,22.5L537.4,459 537.4,313.4l298.9,0C848.7,313.4 858.8,323.5 858.8,335.9M481.8,514.6l0,346.9L233.2,861.5c-12.4,0 -22.5,-10.1 -22.5,-22.5L210.8,537.1c0,-12.4 10.1,-22.5 22.5,-22.5L481.8,514.6zM248,193.5c0.5,-6.1 3,-14.2 16.8,-23.2 12.9,-8.6 30.8,-10.1 52.8,-4.6 41.9,10.5 93.8,46.4 133.4,92L281.1,257.7C270.9,247.5 245.8,216.4 248,193.5M160.4,335.9c0,-12.4 10.1,-22.5 22.5,-22.5l298.9,0 0,145.6L182.9,459c-12.4,0 -22.5,-10.1 -22.5,-22.5L160.4,335.9z"
|
||||
android:fillColor="#1095db"/>
|
||||
</vector>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:pathData="M608.9,671.7c-34.2,0 -60.9,-2.6 -68.5,-3.4 -17.5,-2.1 -30.3,-17.7 -28.2,-35.3 1.9,-17.5 17.5,-30.1 35.3,-28.2 79.6,8.8 201.8,1.2 223.1,-43.2 7.6,-15.8 26.7,-22.7 42.7,-15 16,7.6 22.7,26.8 15,42.7C794.4,659.3 683.4,671.7 608.9,671.7z"
|
||||
android:fillColor="#1096db"/>
|
||||
<path
|
||||
android:pathData="M896,639.9c-17.7,0 -32,-14.3 -32,-32l0,-110.3 -42.8,-15.3c-12.7,-4.5 -21.3,-16.7 -21.3,-30.1 0,-158.8 -129.2,-288 -288,-288 -158.8,0 -288,129.2 -288,288 0,10.3 -5,20 -13.4,26l-18.6,13.2 0,116.3c0,17.7 -14.3,32 -32,32s-32,-14.3 -32,-32l0,-132.8c0,-10.3 5,-20 13.4,-26l18.9,-13.6c8.8,-186.3 163.1,-335.3 351.6,-335.3C698.4,100.3 851.5,246 863.3,429.5l43.5,15.5c12.7,4.5 21.3,16.7 21.3,30.1l0,132.8C928,625.6 913.7,639.9 896,639.9z"
|
||||
android:fillColor="#1096db"/>
|
||||
<path
|
||||
android:pathData="M639.9,783.7 L639.9,774.1c28,-21.8 50.4,-43 63.6,-72.8 -29.1,4.6 -61.6,2.9 -87.7,2.9 -32,0 -59.3,0.9 -76,-1 -35.1,-4 -60.4,-38.7 -56.6,-73.8 4,-35.1 35.8,-60.7 70.7,-56.6 71.2,7.6 149.8,-0.7 181.3,-13.9 1.4,-29.2 1,-60 1,-83.4 0,-136.9 -83.3,-218.1 -216.7,-221 -0.7,0 -18.7,0 -19.4,0 -133.5,2.8 -213.5,85 -213.5,222.1 0,84.6 1.4,222.8 97.4,297.8l0,9.6c-128,20 -226,72.6 -226,142.1 0,17.7 14.8,34.2 32.5,34.2l628,0c17.7,0 39.9,-16.5 39.9,-34.2C858.5,856.3 768,803.8 639.9,783.7z"
|
||||
android:fillColor="#1096db"/>
|
||||
</vector>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:pathData="M192,631.4L192,404.7C192,228.3 335.3,85.3 512,85.3s320,143 320,319.4v226.7l60.6,121c10.6,21.2 -4.8,46.2 -28.6,46.2L160,798.6c-23.8,0 -39.3,-25 -28.6,-46.2l60.6,-121zM812.2,734.8l-40.8,-81.5a31.9,31.9 0,0 1,-3.4 -14.3L768,404.7c0,-141.1 -114.6,-255.5 -256,-255.5S256,263.6 256,404.7L256,638.9c0,5 -1.2,9.8 -3.4,14.3l-40.8,81.5h600.4zM368.9,887.1a31.9,31.9 0,0 1,-4.1 -45,32 32,0 0,1 45.1,-4.1A159.4,159.4 0,0 0,512 874.8a159.4,159.4 0,0 0,102.2 -36.8,32 32,0 0,1 45.1,4.1 31.9,31.9 0,0 1,-4.2 45A223.4,223.4 0,0 1,512 938.7c-53,0 -103.2,-18.5 -143.1,-51.6z"
|
||||
android:fillColor="#1196db"/>
|
||||
</vector>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:pathData="M166.4,595.2 L38.4,467.2c-6.4,-6.4 -12.8,-6.4 -19.2,0s-6.4,12.8 0,19.2l121.6,128 -121.6,121.6c-6.4,6.4 -6.4,12.8 0,19.2 0,0 6.4,6.4 6.4,6.4s6.4,0 6.4,-6.4l121.6,-121.6C172.8,620.8 172.8,601.6 166.4,595.2z"
|
||||
android:fillColor="#1095db"/>
|
||||
<path
|
||||
android:pathData="M153.6,736c-6.4,6.4 -6.4,12.8 0,19.2 0,0 6.4,6.4 6.4,6.4 0,0 6.4,0 6.4,-6.4l121.6,-121.6c6.4,-6.4 6.4,-12.8 6.4,-19.2s0,-12.8 -6.4,-19.2L166.4,467.2c-6.4,-6.4 -12.8,-6.4 -19.2,0 -6.4,6.4 -6.4,12.8 0,19.2l121.6,128L153.6,736z"
|
||||
android:fillColor="#1095db"/>
|
||||
<path
|
||||
android:pathData="M806.4,428.8l-51.2,89.6c-12.8,25.6 -19.2,44.8 -25.6,51.2l0,0c-6.4,-19.2 -32,-70.4 -76.8,-140.8L608,428.8 697.6,576 627.2,576l0,32 83.2,0 0,44.8L627.2,652.8l0,32 83.2,0 0,64 44.8,0 0,-64L832,684.8l0,-32 -83.2,0L748.8,608 832,608 832,576 768,576l89.6,-153.6L806.4,422.4z"
|
||||
android:fillColor="#1095db"/>
|
||||
<path
|
||||
android:pathData="M902.4,198.4 L121.6,198.4C57.6,198.4 0,249.6 0,320l0,57.6c0,12.8 12.8,25.6 25.6,25.6s25.6,-12.8 25.6,-25.6L51.2,320c0,-38.4 32,-70.4 70.4,-70.4l780.8,0c38.4,0 70.4,32 70.4,70.4l0,441.6c0,38.4 -32,70.4 -70.4,70.4L121.6,832c-12.8,0 -32,-6.4 -44.8,-12.8 -12.8,-6.4 -25.6,-6.4 -32,6.4 -6.4,12.8 -6.4,25.6 6.4,32 19.2,12.8 44.8,25.6 70.4,25.6l780.8,0c70.4,0 121.6,-57.6 121.6,-121.6L1024,320C1024,249.6 966.4,198.4 902.4,198.4z"
|
||||
android:fillColor="#1095db"/>
|
||||
</vector>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:pathData="M919.6,405.6l-57.2,-8c-12.7,-1.8 -23,-10.4 -28,-22.1 -11.3,-26.7 -25.7,-51.7 -42.9,-74.5 -7.7,-10.2 -10,-23.5 -5.2,-35.3l21.7,-53.5c6.7,-16.4 0.2,-35.3 -15.2,-44.1L669.1,96.6c-15.4,-8.9 -34.9,-5.1 -45.8,8.9l-35.4,45.3c-7.9,10.2 -20.7,14.9 -33.5,13.3 -14,-1.8 -28.3,-2.8 -42.8,-2.8 -14.5,0 -28.8,1 -42.8,2.8 -12.8,1.6 -25.6,-3.1 -33.5,-13.3l-35.4,-45.3c-10.9,-14 -30.4,-17.8 -45.8,-8.9L230.4,168c-15.4,8.9 -21.8,27.7 -15.2,44.1l21.7,53.5c4.8,11.9 2.5,25.1 -5.2,35.3 -17.2,22.8 -31.7,47.8 -42.9,74.5 -5,11.8 -15.3,20.4 -28,22.1l-57.2,8C86,408 72.9,423 72.9,440.8v142.9c0,17.7 13.1,32.7 30.6,35.2l57.2,8c12.7,1.8 23,10.4 28,22.1 11.3,26.7 25.7,51.7 42.9,74.5 7.7,10.2 10,23.5 5.2,35.3l-21.7,53.5c-6.7,16.4 -0.2,35.3 15.2,44.1L354,927.8c15.4,8.9 34.9,5.1 45.8,-8.9l35.4,-45.3c7.9,-10.2 20.7,-14.9 33.5,-13.3 14,1.8 28.3,2.8 42.8,2.8 14.5,0 28.8,-1 42.8,-2.8 12.8,-1.6 25.6,3.1 33.5,13.3l35.4,45.3c10.9,14 30.4,17.8 45.8,8.9l123.7,-71.4c15.4,-8.9 21.8,-27.7 15.2,-44.1l-21.7,-53.5c-4.8,-11.8 -2.5,-25.1 5.2,-35.3 17.2,-22.8 31.7,-47.8 42.9,-74.5 5,-11.8 15.3,-20.4 28,-22.1l57.2,-8c17.6,-2.5 30.6,-17.5 30.6,-35.2L950.1,440.8c0.2,-17.8 -12.9,-32.8 -30.5,-35.2zM511.6,651.1c-76.7,0 -138.9,-62.2 -138.9,-138.9s62.2,-138.9 138.9,-138.9 138.9,62.2 138.9,138.9 -62.2,138.9 -138.9,138.9z"
|
||||
android:fillColor="#1095db"/>
|
||||
</vector>
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:pathData="M918.4,489.6l-160,-160c-12.8,-12.8 -32,-12.8 -44.8,0 -12.8,12.8 -12.8,32 0,44.8l105.6,105.6L512,480c-19.2,0 -32,12.8 -32,32s12.8,32 32,32l307.2,0 -105.6,105.6c-12.8,12.8 -12.8,32 0,44.8 6.4,6.4 12.8,9.6 22.4,9.6 9.6,0 16,-3.2 22.4,-9.6l160,-163.2c0,0 0,-3.2 3.2,-3.2C931.2,518.4 931.2,499.2 918.4,489.6z"
|
||||
android:fillColor="#1095db"/>
|
||||
<path
|
||||
android:pathData="M832,736c-19.2,0 -32,12.8 -32,32l0,64c0,19.2 -12.8,32 -32,32L224,864c-19.2,0 -32,-12.8 -32,-32L192,192c0,-19.2 12.8,-32 32,-32l544,0c19.2,0 32,12.8 32,32l0,64c0,19.2 12.8,32 32,32s32,-12.8 32,-32L864,192c0,-54.4 -41.6,-96 -96,-96L224,96C169.6,96 128,137.6 128,192l0,640c0,54.4 41.6,96 96,96l544,0c54.4,0 96,-41.6 96,-96l0,-64C864,748.8 851.2,736 832,736z"
|
||||
android:fillColor="#1095db"/>
|
||||
</vector>
|
||||
|
|
@ -1,5 +1,10 @@
|
|||
<vector android:height="30dp" android:tint="#FFFFFF"
|
||||
android:viewportHeight="24" android:viewportWidth="24"
|
||||
android:width="30dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="@android:color/white" android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z"/>
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:tint="#FFFFFF"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M3,18h18v-2L3,16v2zM3,13h18v-2L3,11v2zM3,6v2h18L21,6L3,6z" />
|
||||
</vector>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="80dp"
|
||||
android:height="80dp"
|
||||
android:viewportWidth="1024"
|
||||
android:viewportHeight="1024">
|
||||
<path
|
||||
android:pathData="M512,128a384,384 0,1 0,0 768,384 384,0 0,0 0,-768zM42.7,512C42.7,252.8 252.8,42.7 512,42.7s469.3,210.1 469.3,469.3 -210.1,469.3 -469.3,469.3S42.7,771.2 42.7,512z"
|
||||
android:fillColor="#1196db"/>
|
||||
<path
|
||||
android:pathData="M512,682.7c-98.6,0 -167.6,32.4 -210.3,62a42.7,42.7 0,1 1,-48.6 -70.1C307.7,636.6 393.4,597.3 512,597.3s204.3,39.3 259,77.2a42.7,42.7 0,1 1,-48.6 70.1C679.7,715.1 610.7,682.7 512,682.7zM512,469.3a85.3,85.3 0,1 1,0 -170.7,85.3 85.3,0 0,1 0,170.7zM341.3,384a170.7,170.7 0,1 0,341.3 0,170.7 170.7,0 0,0 -341.3,0z"
|
||||
android:fillColor="#1196db"/>
|
||||
</vector>
|
||||
|
|
@ -6,28 +6,47 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="@drawable/bg_signin"
|
||||
android:background="#28c3df"
|
||||
tools:context=".act.NewMainActivity">
|
||||
|
||||
<RelativeLayout
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@color/translate"
|
||||
android:paddingBottom="54dp">
|
||||
>
|
||||
|
||||
<androidx.viewpager2.widget.ViewPager2
|
||||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"></androidx.viewpager2.widget.ViewPager2>
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/bottomLine"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_slider" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_slider"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:src="@drawable/ic_s_menu" />
|
||||
android:padding="10dp"
|
||||
android:src="@drawable/ic_s_menu"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/ConnectImmediately"
|
||||
android:layout_marginStart="20dp"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold"
|
||||
android:textSize="20sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/iv_slider"
|
||||
app:layout_constraintStart_toEndOf="@+id/iv_slider"
|
||||
app:layout_constraintTop_toTopOf="@+id/iv_slider" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_activity"
|
||||
|
|
@ -37,14 +56,18 @@
|
|||
android:layout_marginTop="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
>
|
||||
|
||||
<com.airbnb.lottie.LottieAnimationView
|
||||
android:id="@+id/lottie_activity"
|
||||
android:layout_width="45dp"
|
||||
android:layout_height="40dp"
|
||||
app:lottie_autoPlay="true"
|
||||
app:lottie_loop="true"></com.airbnb.lottie.LottieAnimationView>
|
||||
app:lottie_loop="true"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
|
@ -52,35 +75,22 @@
|
|||
android:text="@string/activity"
|
||||
android:textColor="@color/text_yellow"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"></TextView>
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
<!-- <TextView-->
|
||||
<!-- android:id="@+id/tv_recharge"-->
|
||||
<!-- android:layout_width="wrap_content"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:layout_alignParentRight="true"-->
|
||||
<!-- android:layout_marginTop="30dp"-->
|
||||
<!-- android:layout_marginRight="20dp"-->
|
||||
<!-- android:background="@drawable/cancel_btn_bg_selector"-->
|
||||
<!-- android:drawablePadding="5dp"-->
|
||||
<!-- android:gravity="center"-->
|
||||
<!-- w android:paddingLeft="@dimen/dp_10"-->
|
||||
<!-- android:paddingTop="5dp"-->
|
||||
<!-- android:paddingRight="@dimen/dp_10"-->
|
||||
<!-- android:paddingBottom="5dp"-->
|
||||
<!-- android:text="点我充值"-->
|
||||
<!-- android:textColor="@color/white" />-->
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llNoticeBackground"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/ll_activity"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginEnd="30dp"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/shape_notice_background"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toBottomOf="@+id/iv_slider"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
>
|
||||
|
||||
<com.yingmao.clash.util.MarqueeTextView
|
||||
android:id="@+id/mainPageHorseRaceLamp"
|
||||
|
|
@ -99,306 +109,391 @@
|
|||
android:textColor="@color/white"
|
||||
android:textSize="17sp" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
<LinearLayout
|
||||
android:id="@+id/bottomLine"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:baselineAligned="false"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/huiyuan"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="2"
|
||||
android:background="@color/white"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/tvExitTime"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:layout_marginTop="32dp"
|
||||
android:layout_marginStart="32dp"
|
||||
android:layout_marginBottom="32dp"
|
||||
android:layout_marginEnd="50dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20sp"
|
||||
android:textStyle="bold"
|
||||
android:text="@string/MembershipExpiration"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clTopUp"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/blue_1795E4"
|
||||
>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/avsada"
|
||||
android:layout_width="35dp"
|
||||
android:layout_height="35dp"
|
||||
android:src="@mipmap/ic_cart"
|
||||
android:layout_gravity="center"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginStart="5dp"
|
||||
android:text="@string/Renewal"
|
||||
android:textSize="20sp"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<!-- android:layout_gravity="start"-->
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/ll_slider"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="start"
|
||||
android:background="@color/main_bg"
|
||||
android:clickable="true"
|
||||
android:orientation="vertical"
|
||||
android:paddingLeft="@dimen/dp_10"
|
||||
android:paddingTop="30dp"
|
||||
android:paddingRight="@dimen/dp_10">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_username"
|
||||
android:background="@color/white"
|
||||
>
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/userIcon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_slinde_user"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
android:layout_marginStart="20dp"
|
||||
android:layout_marginTop="30dp"
|
||||
android:drawableRight="@drawable/ic_s_copy"
|
||||
android:drawablePadding="3dp"
|
||||
android:text=""
|
||||
android:textColor="@color/white"
|
||||
android:textSize="15sp"
|
||||
android:textStyle="bold" />
|
||||
/>
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_expire_date"
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="3dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
app:layout_constraintTop_toTopOf="@+id/userIcon"
|
||||
app:layout_constraintStart_toEndOf="@+id/userIcon"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/userIcon"
|
||||
android:layout_marginStart="15dp"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/tv_exit"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/main_recharge_bg_selector"
|
||||
android:gravity="center"
|
||||
android:text="@string/exit"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_band"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/aa_dialog_bg"
|
||||
android:gravity="center"
|
||||
android:text="@string/binding"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_70" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_viprecharge"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/vip_recharge"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
app:drawableLeftCompat="@drawable/vip_recharge" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_50" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_notice"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/notice"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
app:drawableLeftCompat="@drawable/notice" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_50" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_share"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/share"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
app:drawableLeftCompat="@drawable/share" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_50" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dianka"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/dianka"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone"
|
||||
app:drawableLeftCompat="@drawable/ic_s_dianka" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_50"
|
||||
android:visibility="gone" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_tixian"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/tixian"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone"
|
||||
app:drawableLeftCompat="@drawable/ic_s_tixian" />
|
||||
|
||||
<View
|
||||
android:id="@+id/dianbao_line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_50"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dianbao"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/telegram"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
app:drawableLeftCompat="@drawable/telegram" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_50" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_kefu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/kefu"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
app:drawableLeftCompat="@drawable/service" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_50" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_fds"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/PreventLoss"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
app:drawableLeftCompat="@drawable/loss_pre" />
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@color/white_50" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_setting"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawablePadding="10dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:text="@string/setting"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="16sp"
|
||||
app:drawableLeftCompat="@drawable/setting" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="15dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_vip_recharge"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/main_recharge_bg_selector"
|
||||
android:gravity="center"
|
||||
android:text="@string/RenewalRecharge"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_vip_sign"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="35dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/main_recharge_bg_selector"
|
||||
android:gravity="center"
|
||||
android:text="@string/vip_sigin"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_version"
|
||||
android:id="@+id/tvTemporaryAccount"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginTop="30dp"
|
||||
android:textColor="@color/text_yellow" />
|
||||
</RelativeLayout>
|
||||
android:text="@string/TemporaryAccount"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/black"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/tv_username"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="18586360139"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/black"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_expire_date"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="18586360139"
|
||||
android:textSize="14sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tvRenewMembership"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/userIcon">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/Line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
android:background="@color/gray_FDFCFC"
|
||||
|
||||
>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clMessage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/IvRechargeIc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/ic_c_messgae" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSingIn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:text="@string/MessageCenter"
|
||||
android:textColor="@color/black_242426"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/IvRechargeIc"
|
||||
app:layout_constraintStart_toEndOf="@+id/IvRechargeIc"
|
||||
app:layout_constraintTop_toTopOf="@+id/IvRechargeIc" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clCustomerService"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/clMessage">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/IvCustomerService"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/ic_c_custom" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvCustomerService"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:text="@string/OnlineCustomerService"
|
||||
android:textColor="@color/black_242426"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/IvCustomerService"
|
||||
app:layout_constraintStart_toEndOf="@+id/IvCustomerService"
|
||||
app:layout_constraintTop_toTopOf="@+id/IvCustomerService" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clVIP"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/clCustomerService">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/IvVIP"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/ic_c_pay" />
|
||||
|
||||
<!-- <com.yingmao.clash.view.tablayout.TTabLayout-->
|
||||
<!-- android:visibility="gone"-->
|
||||
<!-- android:id="@+id/main_tab"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="55dp"-->
|
||||
<!-- android:background="@drawable/main_activity_tab_bg"-->
|
||||
<!-- app:indicator_height="0dp"-->
|
||||
<!-- app:titlesize="12sp"-->
|
||||
<!-- />-->
|
||||
<TextView
|
||||
android:id="@+id/tvVIP"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:text="@string/vip_recharge"
|
||||
android:textColor="@color/black_242426"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/IvVIP"
|
||||
app:layout_constraintStart_toEndOf="@+id/IvVIP"
|
||||
app:layout_constraintTop_toTopOf="@+id/IvVIP" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clActivity"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/clVIP">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/IvActivity"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/ic_c_activity" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvActivity"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:text="@string/activity"
|
||||
android:textColor="@color/black_242426"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/IvActivity"
|
||||
app:layout_constraintStart_toEndOf="@+id/IvActivity"
|
||||
app:layout_constraintTop_toTopOf="@+id/IvActivity" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clSetting"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/clActivity">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/IvSetting"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/ic_c_setting" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvSetting"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:text="@string/setting"
|
||||
android:textColor="@color/black_242426"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/IvSetting"
|
||||
app:layout_constraintStart_toEndOf="@+id/IvSetting"
|
||||
app:layout_constraintTop_toTopOf="@+id/IvSetting" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:id="@+id/clExit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/clSetting">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/IvExit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="30dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="10dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:srcCompat="@drawable/ic_exit" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvExit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:text="@string/exit"
|
||||
android:textColor="@color/black_242426"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/IvExit"
|
||||
app:layout_constraintStart_toEndOf="@+id/IvExit"
|
||||
app:layout_constraintTop_toTopOf="@+id/IvExit" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
<TextView
|
||||
android:id="@+id/tvRenewMembership"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/RenewMembership"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:gravity="center"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:layout_marginStart="25dp"
|
||||
android:layout_marginEnd="25dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/white"
|
||||
android:textStyle="bold"
|
||||
android:background="@drawable/home_cz_bg"
|
||||
/>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</androidx.drawerlayout.widget.DrawerLayout>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/logo_connect_immediately_background"/>
|
||||
<foreground android:drawable="@mipmap/logo_connect_immediately_foreground"/>
|
||||
</adaptive-icon>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/logo_connect_immediately_background"/>
|
||||
<foreground android:drawable="@mipmap/logo_connect_immediately_foreground"/>
|
||||
</adaptive-icon>
|
||||
|
After Width: | Height: | Size: 699 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 982 B |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 860 B |
|
After Width: | Height: | Size: 666 B |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
|
@ -67,4 +67,12 @@
|
|||
<color name="orange_FFA433">#FFA433</color>
|
||||
<color name="click_bg">#BFD5D5D5</color>
|
||||
<color name="blue_4072FE">#4072FE</color>
|
||||
<color name="grar_BDBDBD">#BDBDBD</color>
|
||||
<color name="gray_ECECEC">#ECECEC</color>
|
||||
<color name="blue_1795E4">#1795E4</color>
|
||||
<color name="gray_FDFCFC">#FDFCFC</color>
|
||||
<color name="blue_0080FF">#0080FF</color>
|
||||
<color name="blue_4072FE">#4072FE</color>
|
||||
<color name="blue_9AAAFE">#9AAAFE</color>
|
||||
<color name="blue_0055AA">#0055AA</color>
|
||||
</resources>
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="logo_connect_immediately_background">#FFFFFF</color>
|
||||
</resources>
|
||||
|
|
@ -360,4 +360,14 @@
|
|||
<string name="restart">重启</string>
|
||||
<string name="node_item_test">线路测速</string>
|
||||
<string name="CZHY">充值会员</string>
|
||||
|
||||
|
||||
<string name="ConnectImmediately">马上连</string>
|
||||
<string name="Renewal">续费</string>
|
||||
<string name="MembershipExpiration">会员已到期</string>
|
||||
<string name="OpenConnection">开启连接</string>
|
||||
<string name="TemporaryAccount">临时账号</string>
|
||||
<string name="MessageCenter">消息中心</string>
|
||||
<string name="RenewMembership">续费会员</string>
|
||||
<string name="CloseConnection">断开连接</string>
|
||||
</resources>
|
||||