Merge remote-tracking branch 'origin/新改版_poyo' into 新改版_poyo
# Conflicts: # main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java
This commit is contained in:
commit
6f2de3a4d7
@ -59,6 +59,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
|
android:src="@mipmap/screen"
|
||||||
android:scaleType="centerCrop" />
|
android:scaleType="centerCrop" />
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@ package com.yunbao.common;
|
|||||||
public class HtmlConfig {
|
public class HtmlConfig {
|
||||||
|
|
||||||
//登录即代表同意服务和隐私条款
|
//登录即代表同意服务和隐私条款
|
||||||
public static final String LOGIN_PRIVCAY = CommonAppConfig.HOST + "/index.php?g=portal&m=page&a=index&id=706";
|
public static final String LOGIN_PRIVCAY = CommonAppConfig.HOST + "/h5/page/index.html?posts_id=706";
|
||||||
public static final String LOGIN_PRIVCAY1 = CommonAppConfig.HOST + "/index.php?g=Portal&m=Page&a=index&id=705";
|
public static final String LOGIN_PRIVCAY1 = CommonAppConfig.HOST + "/h5/page/index.html?posts_id=705";
|
||||||
|
|
||||||
//注册用户协议
|
//注册用户协议
|
||||||
public static final String REG_PRIVCAY1 = CommonAppConfig.HOST + "/index.php?g=portal&m=page&a=index&id=2";
|
public static final String REG_PRIVCAY1 = CommonAppConfig.HOST + "/index.php?g=portal&m=page&a=index&id=2";
|
||||||
|
@ -26,6 +26,6 @@ public class MyRelativeLayout5 extends RelativeLayout {
|
|||||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||||
int widthSize = MeasureSpec.getSize(widthMeasureSpec);
|
int widthSize = MeasureSpec.getSize(widthMeasureSpec);
|
||||||
heightMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
|
heightMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
|
||||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
super.onMeasure(widthMeasureSpec, heightMeasureSpec+100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
9
common/src/main/res/drawable/bg_main_live_item_title.xml
Normal file
9
common/src/main/res/drawable/bg_main_live_item_title.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<corners
|
||||||
|
android:topLeftRadius="4dp"
|
||||||
|
android:topRightRadius="4dp"
|
||||||
|
android:bottomLeftRadius="4dp"
|
||||||
|
android:bottomRightRadius="4dp"/>
|
||||||
|
<solid android:color="#66000000"/>
|
||||||
|
</shape>
|
@ -63,8 +63,8 @@ public class LiveTrickeryDialogFragment4Audience extends AbsDialogFragment {
|
|||||||
EventBus.getDefault().register(this);
|
EventBus.getDefault().register(this);
|
||||||
RelativeLayout rlWebview= (RelativeLayout) findViewById(R.id.rlWebview);
|
RelativeLayout rlWebview= (RelativeLayout) findViewById(R.id.rlWebview);
|
||||||
if (mWishWebViewHolder == null) {
|
if (mWishWebViewHolder == null) {
|
||||||
String url= CommonAppConfig.HOST + "/index.php?g=Appapi&m=Turntable&a=prank";
|
String url= CommonAppConfig.HOST + "/h5/Turntable/prank.html?";
|
||||||
url += "&uid=" + CommonAppConfig.getInstance().getUid() + "&token="
|
url += "uid=" + CommonAppConfig.getInstance().getUid() + "&token="
|
||||||
+ CommonAppConfig.getInstance().getToken() + "&anchor_id="+mLiveUid+ "&isZh=" + (WordUtil.isNewZh() ? "1" : 0);
|
+ CommonAppConfig.getInstance().getToken() + "&anchor_id="+mLiveUid+ "&isZh=" + (WordUtil.isNewZh() ? "1" : 0);
|
||||||
Log.i("tag",url);
|
Log.i("tag",url);
|
||||||
mWishWebViewHolder = new WishlistWebViewHolder(mContext, rlWebview, url);
|
mWishWebViewHolder = new WishlistWebViewHolder(mContext, rlWebview, url);
|
||||||
|
BIN
live/src/main/res/mipmap-xhdpi/icon_main_live_num_new.png
Normal file
BIN
live/src/main/res/mipmap-xhdpi/icon_main_live_num_new.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -177,66 +177,66 @@ public class MyWalletActivity extends AbsActivity {
|
|||||||
rView.setVisibility(View.VISIBLE);
|
rView.setVisibility(View.VISIBLE);
|
||||||
walletFragment = new WalletFragment();
|
walletFragment = new WalletFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
walletFragment.setArguments(bundle);
|
walletFragment.setArguments(bundle);
|
||||||
|
|
||||||
googleFragment1 = new GoogleFragment();
|
googleFragment1 = new GoogleFragment();
|
||||||
Bundle bundle1 = new Bundle();
|
Bundle bundle1 = new Bundle();
|
||||||
bundle1.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=googlepaycoin&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/googlepaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
googleFragment1.setArguments(bundle1);
|
googleFragment1.setArguments(bundle1);
|
||||||
|
|
||||||
googleFragment2 = new GoogleFragment();
|
googleFragment2 = new GoogleFragment();
|
||||||
Bundle bundle2 = new Bundle();
|
Bundle bundle2 = new Bundle();
|
||||||
bundle2.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=googlepaygole&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/googlepaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
googleFragment2.setArguments(bundle2);
|
googleFragment2.setArguments(bundle2);
|
||||||
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) {
|
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) {
|
||||||
//华为
|
//华为
|
||||||
rView.setVisibility(View.VISIBLE);
|
rView.setVisibility(View.VISIBLE);
|
||||||
walletFragment = new WalletFragment();
|
walletFragment = new WalletFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
walletFragment.setArguments(bundle);
|
walletFragment.setArguments(bundle);
|
||||||
|
|
||||||
huaWeiFragment1 = new HuaWeiFragment();
|
huaWeiFragment1 = new HuaWeiFragment();
|
||||||
Bundle bundle1 = new Bundle();
|
Bundle bundle1 = new Bundle();
|
||||||
bundle1.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/huaweipaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd");
|
bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/huaweipaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd");
|
||||||
huaWeiFragment1.setArguments(bundle1);
|
huaWeiFragment1.setArguments(bundle1);
|
||||||
|
|
||||||
huaWeiFragment2 = new HuaWeiFragment();
|
huaWeiFragment2 = new HuaWeiFragment();
|
||||||
Bundle bundle2 = new Bundle();
|
Bundle bundle2 = new Bundle();
|
||||||
bundle2.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/huaweipaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd");
|
bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/huaweipaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd");
|
||||||
huaWeiFragment2.setArguments(bundle2);
|
huaWeiFragment2.setArguments(bundle2);
|
||||||
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 3) {
|
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 3) {
|
||||||
|
|
||||||
rView.setVisibility(View.VISIBLE);
|
rView.setVisibility(View.VISIBLE);
|
||||||
walletFragment = new WalletFragment();
|
walletFragment = new WalletFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
walletFragment.setArguments(bundle);
|
walletFragment.setArguments(bundle);
|
||||||
|
|
||||||
samsungFragment1 = new SamsungFragment();
|
samsungFragment1 = new SamsungFragment();
|
||||||
Bundle bundle1 = new Bundle();
|
Bundle bundle1 = new Bundle();
|
||||||
bundle1.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/samsungpaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/samsungpaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
samsungFragment1.setArguments(bundle1);
|
samsungFragment1.setArguments(bundle1);
|
||||||
|
|
||||||
samsungFragment2 = new SamsungFragment();
|
samsungFragment2 = new SamsungFragment();
|
||||||
Bundle bundle2 = new Bundle();
|
Bundle bundle2 = new Bundle();
|
||||||
bundle2.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/samsungpaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/samsungpaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
samsungFragment2.setArguments(bundle2);
|
samsungFragment2.setArguments(bundle2);
|
||||||
} else {
|
} else {
|
||||||
walletFragment = new WalletFragment();
|
walletFragment = new WalletFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
walletFragment.setArguments(bundle);
|
walletFragment.setArguments(bundle);
|
||||||
|
|
||||||
googleFragment1 = new GoogleFragment();
|
googleFragment1 = new GoogleFragment();
|
||||||
Bundle bundle1 = new Bundle();
|
Bundle bundle1 = new Bundle();
|
||||||
bundle1.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&first_page=1&m=Mall&a=walletcoin&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/walletcoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
googleFragment1.setArguments(bundle1);
|
googleFragment1.setArguments(bundle1);
|
||||||
|
|
||||||
googleFragment2 = new GoogleFragment();
|
googleFragment2 = new GoogleFragment();
|
||||||
Bundle bundle2 = new Bundle();
|
Bundle bundle2 = new Bundle();
|
||||||
bundle2.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletgold&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/walletgold.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
googleFragment2.setArguments(bundle2);
|
googleFragment2.setArguments(bundle2);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -245,50 +245,50 @@ public class MyWalletActivity extends AbsActivity {
|
|||||||
|
|
||||||
walletFragment = new WalletFragment();
|
walletFragment = new WalletFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
walletFragment.setArguments(bundle);
|
walletFragment.setArguments(bundle);
|
||||||
|
|
||||||
googleFragment1 = new GoogleFragment();
|
googleFragment1 = new GoogleFragment();
|
||||||
Bundle bundle1 = new Bundle();
|
Bundle bundle1 = new Bundle();
|
||||||
bundle1.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=googlepaycoin&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/googlepaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
googleFragment1.setArguments(bundle1);
|
googleFragment1.setArguments(bundle1);
|
||||||
|
|
||||||
googleFragment2 = new GoogleFragment();
|
googleFragment2 = new GoogleFragment();
|
||||||
Bundle bundle2 = new Bundle();
|
Bundle bundle2 = new Bundle();
|
||||||
bundle2.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=googlepaygole&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/googlepaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
googleFragment2.setArguments(bundle2);
|
googleFragment2.setArguments(bundle2);
|
||||||
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) {
|
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 2) {
|
||||||
rView.setVisibility(View.VISIBLE);
|
rView.setVisibility(View.VISIBLE);
|
||||||
|
|
||||||
walletFragment = new WalletFragment();
|
walletFragment = new WalletFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
walletFragment.setArguments(bundle);
|
walletFragment.setArguments(bundle);
|
||||||
|
|
||||||
huaWeiFragment1 = new HuaWeiFragment();
|
huaWeiFragment1 = new HuaWeiFragment();
|
||||||
Bundle bundle1 = new Bundle();
|
Bundle bundle1 = new Bundle();
|
||||||
bundle1.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/huaweipaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd");
|
bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/huaweipaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd");
|
||||||
huaWeiFragment1.setArguments(bundle1);
|
huaWeiFragment1.setArguments(bundle1);
|
||||||
|
|
||||||
huaWeiFragment2 = new HuaWeiFragment();
|
huaWeiFragment2 = new HuaWeiFragment();
|
||||||
Bundle bundle2 = new Bundle();
|
Bundle bundle2 = new Bundle();
|
||||||
bundle2.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/huaweipaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd");
|
bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/huaweipaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd");
|
||||||
huaWeiFragment2.setArguments(bundle2);
|
huaWeiFragment2.setArguments(bundle2);
|
||||||
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 3) {
|
} else if (CommonAppConfig.IS_GOOGLE_PLAY == 3) {
|
||||||
rView.setVisibility(View.VISIBLE);
|
rView.setVisibility(View.VISIBLE);
|
||||||
walletFragment = new WalletFragment();
|
walletFragment = new WalletFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&first_page=1&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
walletFragment.setArguments(bundle);
|
walletFragment.setArguments(bundle);
|
||||||
|
|
||||||
samsungFragment1 = new SamsungFragment();
|
samsungFragment1 = new SamsungFragment();
|
||||||
Bundle bundle1 = new Bundle();
|
Bundle bundle1 = new Bundle();
|
||||||
bundle1.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/samsungpaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/samsungpaycoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
samsungFragment1.setArguments(bundle1);
|
samsungFragment1.setArguments(bundle1);
|
||||||
|
|
||||||
samsungFragment2 = new SamsungFragment();
|
samsungFragment2 = new SamsungFragment();
|
||||||
Bundle bundle2 = new Bundle();
|
Bundle bundle2 = new Bundle();
|
||||||
bundle2.putString("url", CommonAppConfig.HOST + "/themes/simplebootx/appapi/mall/samsungpaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/samsungpaygole.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
samsungFragment2.setArguments(bundle2);
|
samsungFragment2.setArguments(bundle2);
|
||||||
} else {
|
} else {
|
||||||
Log.i("tss", "不是首充");
|
Log.i("tss", "不是首充");
|
||||||
@ -296,17 +296,17 @@ public class MyWalletActivity extends AbsActivity {
|
|||||||
|
|
||||||
walletFragment = new WalletFragment();
|
walletFragment = new WalletFragment();
|
||||||
Bundle bundle = new Bundle();
|
Bundle bundle = new Bundle();
|
||||||
bundle.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=walletbean&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle.putString("url", CommonAppConfig.HOST + "/h5/mall/walletbean.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
walletFragment.setArguments(bundle);
|
walletFragment.setArguments(bundle);
|
||||||
|
|
||||||
googleFragment1 = new GoogleFragment();
|
googleFragment1 = new GoogleFragment();
|
||||||
Bundle bundle1 = new Bundle();
|
Bundle bundle1 = new Bundle();
|
||||||
bundle1.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=walletcoin&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle1.putString("url", CommonAppConfig.HOST + "/h5/mall/walletcoin.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
googleFragment1.setArguments(bundle1);
|
googleFragment1.setArguments(bundle1);
|
||||||
|
|
||||||
googleFragment2 = new GoogleFragment();
|
googleFragment2 = new GoogleFragment();
|
||||||
Bundle bundle2 = new Bundle();
|
Bundle bundle2 = new Bundle();
|
||||||
bundle2.putString("url", CommonAppConfig.HOST + "/index.php?g=Appapi&m=Mall&a=walletgold&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
bundle2.putString("url", CommonAppConfig.HOST + "/h5/mall/walletgold.html?uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&package_name=pd" + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0"));
|
||||||
googleFragment2.setArguments(bundle2);
|
googleFragment2.setArguments(bundle2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -67,16 +67,12 @@ public class MainHomeLiveAdapter extends RefreshAdapter<LiveBean> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getItemViewType(int position) {
|
public int getItemViewType(int position) {
|
||||||
if (position == 4) {
|
LiveBean mode = mList.get(position>4?position-1:position);
|
||||||
return HEAD;
|
if (TextUtils.equals(mode.getIs_week(), "1")) {
|
||||||
} else{
|
return WEEKLAYOUT;
|
||||||
LiveBean mode = mList.get(position>4?position-1:position);
|
} else {
|
||||||
if (TextUtils.equals(mode.getIs_week(), "1")) {
|
if (position % 2 == 0) {
|
||||||
return WEEKLAYOUT;
|
return RIGHT;
|
||||||
} else {
|
|
||||||
if (position % 2 == 0) {
|
|
||||||
return RIGHT;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return LEFT;
|
return LEFT;
|
||||||
@ -114,9 +110,8 @@ public class MainHomeLiveAdapter extends RefreshAdapter<LiveBean> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onBindViewHolder(@NonNull RecyclerView.ViewHolder vh, int position) {
|
public void onBindViewHolder(@NonNull RecyclerView.ViewHolder vh, int position) {
|
||||||
int nowPosition = position>4?position-1:position;
|
|
||||||
if (vh instanceof MainHomeLiveWeekItemViewHolder) {
|
if (vh instanceof MainHomeLiveWeekItemViewHolder) {
|
||||||
((MainHomeLiveWeekItemViewHolder) vh).loadViewDate(mList.get(nowPosition), nowPosition, Height, new MainHomeLiveWeekItemViewHolder.OnItemClickListener() {
|
((MainHomeLiveWeekItemViewHolder) vh).loadViewDate(mList.get(position), position, Height, new MainHomeLiveWeekItemViewHolder.OnItemClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(LiveBean bean, int position) {
|
public void onItemClick(LiveBean bean, int position) {
|
||||||
if (mOnItemClickListener != null) {
|
if (mOnItemClickListener != null) {
|
||||||
@ -125,7 +120,7 @@ public class MainHomeLiveAdapter extends RefreshAdapter<LiveBean> {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else if (vh instanceof MainHomeLiveItemViewHolder) {
|
} else if (vh instanceof MainHomeLiveItemViewHolder) {
|
||||||
((MainHomeLiveItemViewHolder) vh).loadViewDate(mList.get(nowPosition), nowPosition, Height, new MainHomeLiveItemViewHolder.OnItemClickListener() {
|
((MainHomeLiveItemViewHolder) vh).loadViewDate(mList.get(position), position, Height, new MainHomeLiveItemViewHolder.OnItemClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onItemClick(LiveBean bean, int position) {
|
public void onItemClick(LiveBean bean, int position) {
|
||||||
if (mOnItemClickListener != null) {
|
if (mOnItemClickListener != null) {
|
||||||
|
@ -74,9 +74,9 @@ public class MainHomeLiveItemViewHolder extends RecyclerView.ViewHolder {
|
|||||||
viewBg.setVisibility(View.GONE);
|
viewBg.setVisibility(View.GONE);
|
||||||
|
|
||||||
if (bean.getContent_pic_size_two() != null && !bean.getContent_pic_size_two().equals("") && height <= 1920) {
|
if (bean.getContent_pic_size_two() != null && !bean.getContent_pic_size_two().equals("") && height <= 1920) {
|
||||||
Picasso.with(mContext)
|
/* Picasso.with(mContext)
|
||||||
.load(bean.getContent_pic_size_two())
|
.load(bean.getContent_pic_size_two())
|
||||||
.into(liveType);
|
.into(liveType);*/
|
||||||
} else if (bean.getContent_pic_size_three() != null && !bean.getContent_pic_size_three().equals("") && height > 1920) {
|
} else if (bean.getContent_pic_size_three() != null && !bean.getContent_pic_size_three().equals("") && height > 1920) {
|
||||||
Picasso.with(mContext)
|
Picasso.with(mContext)
|
||||||
.load(bean.getContent_pic_size_three())
|
.load(bean.getContent_pic_size_three())
|
||||||
@ -154,20 +154,20 @@ public class MainHomeLiveItemViewHolder extends RecyclerView.ViewHolder {
|
|||||||
viewBg.setVisibility(View.GONE);
|
viewBg.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
RelativeLayout.LayoutParams dragon_moneyLayoutParams = (RelativeLayout.LayoutParams) dragon_money.getLayoutParams();
|
RelativeLayout.LayoutParams dragon_moneyLayoutParams = (RelativeLayout.LayoutParams) dragon_money.getLayoutParams();
|
||||||
if (bean.getRedPacketStatus() == 1) {
|
/* if (bean.getRedPacketStatus() == 1) {
|
||||||
dragon_moneyLayoutParams.topMargin = DpUtil.dp2px(55);
|
dragon_moneyLayoutParams.topMargin = DpUtil.dp2px(55);
|
||||||
redPacket.setVisibility(View.VISIBLE);
|
redPacket.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
dragon_moneyLayoutParams.topMargin = DpUtil.dp2px(25);
|
dragon_moneyLayoutParams.topMargin = DpUtil.dp2px(25);
|
||||||
redPacket.setVisibility(View.GONE);
|
redPacket.setVisibility(View.GONE);
|
||||||
|
|
||||||
}
|
}*/
|
||||||
if (bean.getSendMoneyLongStatus() == 1) {
|
/* if (bean.getSendMoneyLongStatus() == 1) {
|
||||||
dragon_money.setLayoutParams(dragon_moneyLayoutParams);
|
dragon_money.setLayoutParams(dragon_moneyLayoutParams);
|
||||||
dragon_money.setVisibility(View.VISIBLE);
|
dragon_money.setVisibility(View.VISIBLE);
|
||||||
} else {
|
} else {
|
||||||
dragon_money.setVisibility(View.GONE);
|
dragon_money.setVisibility(View.GONE);
|
||||||
}
|
}*/
|
||||||
RxView.clicks(itemView)
|
RxView.clicks(itemView)
|
||||||
.throttleFirst(2, TimeUnit.SECONDS) // 才发送 2s内第1次点击按钮的事件
|
.throttleFirst(2, TimeUnit.SECONDS) // 才发送 2s内第1次点击按钮的事件
|
||||||
.subscribe(new Observer<Unit>() {
|
.subscribe(new Observer<Unit>() {
|
||||||
|
@ -163,9 +163,9 @@ public class MainHomeLiveViewHolder extends AbsMainHomeChildViewHolder implement
|
|||||||
gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
|
gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() {
|
||||||
@Override
|
@Override
|
||||||
public int getSpanSize(int position) {
|
public int getSpanSize(int position) {
|
||||||
if (position == 4) {
|
/* if (position == 4) {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}*/
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -260,11 +260,11 @@ public class MainHomeViewHolder extends AbsMainHomeParentViewHolder {
|
|||||||
mainHomeRecomLiveViewHolder = new MainHomeRecomLiveViewHolder(mContext, parent);
|
mainHomeRecomLiveViewHolder = new MainHomeRecomLiveViewHolder(mContext, parent);
|
||||||
vh = mainHomeRecomLiveViewHolder;
|
vh = mainHomeRecomLiveViewHolder;
|
||||||
|
|
||||||
} else if (position == 3) {
|
}/* else if (position == 3) {
|
||||||
mainHomeGameLiveViewHolder = new MainHomeGameViewHolder((AbsActivity) mContext, parent);
|
mainHomeGameLiveViewHolder = new MainHomeGameViewHolder((AbsActivity) mContext, parent);
|
||||||
vh = mainHomeGameLiveViewHolder;
|
vh = mainHomeGameLiveViewHolder;
|
||||||
|
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (vh == null) {
|
if (vh == null) {
|
||||||
return;
|
return;
|
||||||
@ -286,12 +286,12 @@ public class MainHomeViewHolder extends AbsMainHomeParentViewHolder {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getPageCount() {
|
protected int getPageCount() {
|
||||||
return 4;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String[] getTitles() {
|
protected String[] getTitles() {
|
||||||
return new String[]{mContext.getString(R.string.follow), mContext.getString(R.string.hot), mContext.getString(R.string.recomment), mContext.getString(R.string.main_tabs_red_packet),};
|
return new String[]{mContext.getString(R.string.follow), mContext.getString(R.string.hot), mContext.getString(R.string.recomment)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -442,7 +442,7 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
|||||||
if (bean.getId() == 31) {
|
if (bean.getId() == 31) {
|
||||||
MobclickAgent.onEvent(mContext, "my_medal", "个人中心点勋章");
|
MobclickAgent.onEvent(mContext, "my_medal", "个人中心点勋章");
|
||||||
//跳转网页版粉丝徽章
|
//跳转网页版粉丝徽章
|
||||||
WebViewActivityMedal.forward(mContext, url);
|
WebViewActivityMedal.forward(mContext, url+"?1=1");
|
||||||
} else if (bean.getId() == 5) {
|
} else if (bean.getId() == 5) {
|
||||||
MobclickAgent.onEvent(mContext, "my_decorate", "个人中心点装扮");
|
MobclickAgent.onEvent(mContext, "my_decorate", "个人中心点装扮");
|
||||||
Constants.isTitle = true;
|
Constants.isTitle = true;
|
||||||
@ -450,7 +450,7 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
|||||||
} else if (bean.getId() == 23) { //獎勵中心
|
} else if (bean.getId() == 23) { //獎勵中心
|
||||||
MobclickAgent.onEvent(mContext, "my_award", "獎勵中心");
|
MobclickAgent.onEvent(mContext, "my_award", "獎勵中心");
|
||||||
Log.i("tsa", url);
|
Log.i("tsa", url);
|
||||||
RewardActivity.forward(mContext, url);
|
RewardActivity.forward(mContext, url+"?1=1");
|
||||||
} else if (bean.getId() == 4) {
|
} else if (bean.getId() == 4) {
|
||||||
|
|
||||||
url = HtmlConfig.SHOP + "?t=" + Math.random() + "&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0");
|
url = HtmlConfig.SHOP + "?t=" + Math.random() + "&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&isZh=" + ((IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) ? "1" : "0");
|
||||||
@ -475,8 +475,8 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
|||||||
}else if (bean.getId() == 26){
|
}else if (bean.getId() == 26){
|
||||||
// 幫助與反饋
|
// 幫助與反饋
|
||||||
WebViewActivityMedal.forward(mContext, url);
|
WebViewActivityMedal.forward(mContext, url);
|
||||||
}else
|
} else
|
||||||
WebViewActivity.forward(mContext, url, false);
|
WebViewActivity.forward(mContext, url+"?1=1", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<com.yunbao.common.custom.MyRelativeLayout5
|
<com.yunbao.common.custom.MyRelativeLayout5
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="220dp"
|
||||||
android:layout_marginBottom="9dp"
|
android:layout_marginBottom="9dp"
|
||||||
android:paddingLeft="5dp">
|
android:paddingLeft="5dp">
|
||||||
|
|
||||||
@ -54,6 +54,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="8dp"
|
android:layout_marginLeft="8dp"
|
||||||
|
android:visibility="gone"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:gravity="center" />
|
android:gravity="center" />
|
||||||
|
|
||||||
@ -106,15 +107,18 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/title"
|
android:id="@+id/title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="15dp"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
|
android:paddingStart="5dp"
|
||||||
|
android:paddingEnd="5dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:includeFontPadding="false"
|
android:includeFontPadding="false"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:textColor="#fff"
|
android:textColor="#fff"
|
||||||
android:textSize="13sp"
|
android:textSize="10sp"
|
||||||
android:textStyle="bold" />
|
android:background="@drawable/bg_main_live_item_title" />
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -128,7 +132,7 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textColor="#fff"
|
android:textColor="#fff"
|
||||||
android:textSize="10sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
<com.yunbao.common.custom.DrawableTextView
|
<com.yunbao.common.custom.DrawableTextView
|
||||||
android:id="@+id/num"
|
android:id="@+id/num"
|
||||||
@ -138,12 +142,12 @@
|
|||||||
android:drawablePadding="4dp"
|
android:drawablePadding="4dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textColor="#B3ffffff"
|
android:textColor="@color/white"
|
||||||
android:textSize="10sp"
|
android:textSize="12sp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:dt_left_drawable="@mipmap/icon_main_live_num"
|
app:dt_left_drawable="@mipmap/icon_main_live_num_new"
|
||||||
app:dt_left_height="14dp"
|
app:dt_left_height="12dp"
|
||||||
app:dt_left_width="14dp" />
|
app:dt_left_width="10dp" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user