111
This commit is contained in:
@@ -332,7 +332,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
@Override
|
||||
public void onTick(long millisUntilFinished) {
|
||||
|
||||
if (IMLoginManager.get(mContext).isisNewUserOne() == true && timeIndex == 5) {
|
||||
if (IMLoginManager.get(mContext).isisNewUserOne() == true && timeIndex == 10) {
|
||||
NewUserDialog fragment1 = new NewUserDialog();
|
||||
fragment1.show(((LiveActivity) mContext).getSupportFragmentManager(), "NewUserDialog");
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ import android.content.Context;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import android.graphics.Color;
|
||||
import android.text.TextUtils;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
@@ -190,6 +192,12 @@ public class LiveGiftAdapter extends RecyclerView.Adapter<LiveGiftAdapter.Vh> {
|
||||
mPayico.setImageResource(R.mipmap.diamond);
|
||||
}
|
||||
mPrice.setText(bean.getPrice());
|
||||
|
||||
if (IMLoginManager.get(mContext).isNewUserGif() == false && position == 0 && bean.getTag() != null) {
|
||||
mPayico.setVisibility(View.GONE);
|
||||
mPrice.setText(R.string.free);
|
||||
mPrice.setTextColor(Color.parseColor("#FFF269"));
|
||||
}
|
||||
expire.setVisibility(View.GONE);
|
||||
if(bean.getEnd_time()!=null){
|
||||
expire.setVisibility(View.VISIBLE);
|
||||
|
||||
@@ -21,6 +21,7 @@ import android.widget.PopupWindow;
|
||||
import android.widget.RadioButton;
|
||||
import android.widget.RadioGroup;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.adjust.sdk.Adjust;
|
||||
import com.adjust.sdk.AdjustEvent;
|
||||
@@ -187,6 +188,7 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
//点击包裹,展示包裹列表
|
||||
mCurrentId = 1;
|
||||
loadWrapListData();
|
||||
@@ -422,8 +424,8 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
|
||||
}
|
||||
|
||||
private void showGiftList(List<LiveGiftBean> list) {
|
||||
ToastUtil.show( IMLoginManager.get(mContext).isNewUserGif()+"");
|
||||
if( IMLoginManager.get(mContext).isNewUserGif() == false) {
|
||||
mWishGiftId = ""+bean1.getId();
|
||||
list.add(0,bean1);
|
||||
}
|
||||
mGiftList = list;
|
||||
@@ -674,15 +676,21 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
|
||||
*/
|
||||
public void sendGift() {
|
||||
if(mLiveGiftBean.getTag()!=null){
|
||||
LiveHttpUtil.setFrontTask("sendgift", mLiveUid,new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
if(code == 0){
|
||||
if(mCount.equals("1")) {
|
||||
LiveHttpUtil.setFrontTask("sendgift", mLiveUid, new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
EventBus.getDefault().post("stop_svga_new_user_gif");
|
||||
EventBus.getDefault().post("stop_new_user_gif");
|
||||
if (code == 0) {
|
||||
EventBus.getDefault().post("stop_new_user_gif1");
|
||||
}
|
||||
dismiss();
|
||||
}
|
||||
dismiss();
|
||||
}
|
||||
});
|
||||
});
|
||||
}else {
|
||||
ToastUtil.show(R.string.only_one);
|
||||
}
|
||||
}else {
|
||||
if (TextUtils.isEmpty(mLiveUid) || TextUtils.isEmpty(mStream) || mLiveGiftBean == null) {
|
||||
return;
|
||||
|
||||
@@ -14,6 +14,8 @@ import androidx.fragment.app.DialogFragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import androidx.fragment.app.FragmentTransaction;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.yunbao.common.dialog.AbsDialogFragment;
|
||||
import com.yunbao.common.http.HttpCallback;
|
||||
import com.yunbao.common.utils.ToastUtil;
|
||||
@@ -90,18 +92,25 @@ public class NewUserDialog extends AbsDialogFragment {
|
||||
@Override
|
||||
public void onActivityCreated(@Nullable Bundle savedInstanceState) {
|
||||
super.onActivityCreated(savedInstanceState);
|
||||
ImageView btn_close = (ImageView) mRootView.findViewById(R.id.btn_close);
|
||||
TextView gold = (TextView) mRootView.findViewById(R.id.gold);
|
||||
TextView exp = (TextView) mRootView.findViewById(R.id.exp);
|
||||
|
||||
LiveHttpUtil.getFrontTask(new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
JSONObject old_obj = JSON.parseObject(info[0]);
|
||||
JSONObject obj = old_obj.getJSONObject("reward_all");
|
||||
gold.setText(obj.getString("gold"));
|
||||
exp.setText(obj.getString("experience"));
|
||||
}});
|
||||
|
||||
TextView btn_confirm = (TextView) mRootView.findViewById(R.id.btn_confirm);
|
||||
|
||||
btn_confirm.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
|
||||
EventBus.getDefault().post("showBanner");
|
||||
EventBus.getDefault().post("svga_new_user_gif");
|
||||
|
||||
countDownTimer.cancel();
|
||||
dismiss();
|
||||
}
|
||||
|
||||
@@ -117,6 +117,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
private View btnWishList;
|
||||
private View btnTurnTable;
|
||||
private View btnEvent;
|
||||
private View btnEvent3;
|
||||
private View btn_onecz_event;
|
||||
private ImageView imgEvent;
|
||||
private String eventUrl;
|
||||
@@ -131,7 +132,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
public static String link = "";
|
||||
LinearLayout btn_event2;
|
||||
public static LiveGiftBean bean1 = new LiveGiftBean();
|
||||
|
||||
String gold,experience;
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
public void onUpdata(String str) {
|
||||
@@ -140,12 +141,40 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
} else if ("stop_svga_new_user_double".equals(str)) {
|
||||
mBannerList3.get(2).setLink("1");
|
||||
mBanner3.update(mBannerList3);
|
||||
if(mBannerList3.get(0).getLink().equals("1")){
|
||||
if(mBannerList3.get(1).getLink().equals("1")){
|
||||
if(mBannerList3.get(2).getLink().equals("1")){
|
||||
btnEvent3.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if ("stop_svga_new_user_follow".equals(str)) {
|
||||
mBannerList3.get(1).setLink("1");
|
||||
mBanner3.update(mBannerList3);
|
||||
if(mBannerList3.get(0).getLink().equals("1")){
|
||||
if(mBannerList3.get(1).getLink().equals("1")){
|
||||
if(mBannerList3.get(2).getLink().equals("1")){
|
||||
btnEvent3.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if ("stop_new_user_gif".equals(str)) {
|
||||
IMLoginManager.get(mContext).setNewUserGif(true);
|
||||
mBannerList3.get(0).setLink("1");
|
||||
mBanner3.update(mBannerList3);
|
||||
if(mBannerList3.get(0).getLink().equals("1")){
|
||||
if(mBannerList3.get(1).getLink().equals("1")){
|
||||
if(mBannerList3.get(2).getLink().equals("1")){
|
||||
btnEvent3.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}else if("stop_svga_new_user_double1".equals(str)){
|
||||
publicToast(mContext);
|
||||
}else if ("stop_svga_new_user_follow1".equals(str)) {
|
||||
publicToast(mContext);
|
||||
}else if ("stop_new_user_gif1".equals(str)) {
|
||||
publicToast(mContext);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -155,16 +184,19 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
// 1、加载布局
|
||||
View view = LayoutInflater.from(content).inflate(R.layout.diy_toast_view,null);
|
||||
// 2、获取组件
|
||||
// TextView tv_toast = view.findViewById(R.id.textView13);
|
||||
//// 3、设置组件内容
|
||||
// tv_toast.setText(content);
|
||||
TextView gold_text = view.findViewById(R.id.gold);
|
||||
// 3、设置组件内容
|
||||
gold_text.setText(gold);
|
||||
TextView exp_txt = view.findViewById(R.id.exp);
|
||||
// 3、设置组件内容
|
||||
exp_txt.setText(experience);
|
||||
// 4、将获取的view视图设置进Toast对象中
|
||||
toast.setView(view);
|
||||
// 5、设置toast位置
|
||||
// 5-1、Gravity.CENTER | Gravity.TOP是设置toast在中间上方显示
|
||||
// 5-2、300 表示距离左边300dp
|
||||
// 5-3、250 表示距离上方250dp
|
||||
toast.setGravity(Gravity.CENTER | Gravity.TOP,300,250);
|
||||
toast.setGravity(Gravity.CENTER ,Gravity.CENTER ,Gravity.CENTER );
|
||||
// 6、显示toast
|
||||
toast.show();
|
||||
}
|
||||
@@ -220,7 +252,6 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
mIsAnchor = isAnchor;
|
||||
mLiveSdk = liveSdk;
|
||||
Log.e("ry", "画面来了");
|
||||
publicToast(mContext);
|
||||
mSmallContainer = linkMicViewHolder.getSmallContainer();
|
||||
if (!isAnchor && root != null) {
|
||||
View btnLinkMic = root.findViewById(R.id.btn_link_mic);
|
||||
@@ -231,6 +262,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
btnWishList.setOnClickListener(this);
|
||||
btnTurnTable.setOnClickListener(this);
|
||||
btnEvent = root.findViewById(R.id.btn_event);
|
||||
btnEvent3 = root.findViewById(R.id.btn_event3);
|
||||
mBanner1 = (Banner) root.findViewById(R.id.banner1);
|
||||
mBanner2 = (Banner) root.findViewById(R.id.banner2);
|
||||
mBanner3 = (Banner) root.findViewById(R.id.banner3);
|
||||
@@ -269,23 +301,29 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
|
||||
JSONObject obj = old_obj.getJSONObject("task");
|
||||
JSONObject obj1 = old_obj.getJSONObject("gift");
|
||||
JSONObject reward_one = old_obj.getJSONObject("reward_one");
|
||||
|
||||
bean1.setSwf(obj1.getString("swf"));
|
||||
gold = reward_one.getString("gold");
|
||||
experience = reward_one.getString("experience");
|
||||
|
||||
bean1.setSwf("111");
|
||||
bean1.setChecked(false);
|
||||
bean1.setIcon(obj1.getString("gifticon"));
|
||||
bean1.setId(obj1.getIntValue("id"));
|
||||
bean1.setName(obj1.getString("giftname"));
|
||||
bean1.setTag("1");
|
||||
|
||||
|
||||
if( IMLoginManager.get(mContext).isisNewUserOne() == false) {
|
||||
if(obj.getString("sendgift").equals("0")) {
|
||||
EventBus.getDefault().post("svga_new_user_gif");
|
||||
}
|
||||
}
|
||||
BannerBean banner3Bean = new BannerBean();
|
||||
banner3Bean.setImageUrl("https://qny.shayucm.com/live_Mission_box.png");
|
||||
banner3Bean.setLink(obj.getString("sendgift"));
|
||||
mBannerList3.add(banner3Bean);
|
||||
|
||||
if(obj.getString("sendgift").equals("0")){
|
||||
EventBus.getDefault().post("svga_new_user_gif");
|
||||
}
|
||||
|
||||
|
||||
BannerBean banner3Bean1 = new BannerBean();
|
||||
banner3Bean1.setImageUrl("https://qny.shayucm.com/live_Mission_box.png");
|
||||
@@ -897,6 +935,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
}
|
||||
|
||||
private void showBanner3() {
|
||||
btnEvent3.setVisibility(View.VISIBLE);
|
||||
if (mBannerList3 == null || mBannerList3.size() == 0 || mBanner3 == null) {
|
||||
return;
|
||||
}
|
||||
@@ -910,7 +949,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
|
||||
if (mBannerList3 != null) {
|
||||
if (mBannerList3.get(p).getLink().equals("0")) {
|
||||
if (p == 0) {
|
||||
((LiveAudienceActivity) mContext).openGiftWindow("1530", "1");
|
||||
((LiveAudienceActivity) mContext).openGiftWindow(""+bean1.getId(), "1");
|
||||
EventBus.getDefault().post("svga_new_user_gif");
|
||||
} else if (p == 1) {
|
||||
EventBus.getDefault().post("svga_new_user_follow");
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
package com.yunbao.live.socket;
|
||||
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.adjust.sdk.Adjust;
|
||||
import com.adjust.sdk.AdjustEvent;
|
||||
@@ -12,6 +15,7 @@ import com.yunbao.common.http.HttpCallback;
|
||||
import com.yunbao.common.utils.WordUtil;
|
||||
import com.yunbao.live.R;
|
||||
import com.yunbao.live.http.LiveHttpUtil;
|
||||
import com.yunbao.live.views.LiveRoomViewHolder;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
@@ -197,6 +201,9 @@ public class SocketRyChatUtil {
|
||||
LiveHttpUtil.setFrontTask("illumine", new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
if(code == 0) {
|
||||
EventBus.getDefault().post("stop_svga_new_user_double1");
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@@ -79,10 +79,10 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder {
|
||||
svga_new_user_follow.setVisibility(View.GONE);
|
||||
svga_new_user_follow.stopAnimation();
|
||||
svga_new_user_follow.clear();
|
||||
}else if("stop_svga_new_user_follow".equals(str)) {
|
||||
svga_new_user_follow.setVisibility(View.GONE);
|
||||
svga_new_user_follow.stopAnimation();
|
||||
svga_new_user_follow.clear();
|
||||
}else if("stop_svga_new_user_gif".equals(str)) {
|
||||
svga_new_user_gif.setVisibility(View.GONE);
|
||||
svga_new_user_gif.stopAnimation();
|
||||
svga_new_user_gif.clear();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -152,7 +152,12 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder {
|
||||
svga_new_user_gif = (SVGAImageView)findViewById(R.id.svga_new_user_gif);
|
||||
svga_new_user_double = (SVGAImageView)findViewById(R.id.svga_new_user_double);
|
||||
svga_new_user_follow = (SVGAImageView)findViewById(R.id.svga_new_user_follow);
|
||||
|
||||
svga_new_user_double.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
((LiveAudienceActivity) mContext).light();
|
||||
}
|
||||
});
|
||||
findViewById(R.id.btn_mic).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
|
||||
@@ -8,6 +8,7 @@ import android.os.Message;
|
||||
import android.os.SystemClock;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.WindowManager;
|
||||
@@ -16,6 +17,7 @@ import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
@@ -105,7 +107,7 @@ import static com.yunbao.live.activity.LiveAudienceActivity.countDownTimer;
|
||||
*/
|
||||
public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickListener {
|
||||
|
||||
private static Context Contexts;
|
||||
public static Context Contexts;
|
||||
private int mOffsetY;
|
||||
private ViewGroup mRoot;
|
||||
LinearLayout gif_view;
|
||||
@@ -1197,7 +1199,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
LiveHttpUtil.setFrontTask("attent", new HttpCallback() {
|
||||
@Override
|
||||
public void onSuccess(int code, String msg, String[] info) {
|
||||
|
||||
if(code == 0){
|
||||
EventBus.getDefault().post("stop_svga_new_user_follow1");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="90dp"
|
||||
android:background="@mipmap/live_mission_box"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="70dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
|
||||
<TextView
|
||||
android:layout_width="190dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/newcomer"
|
||||
android:textColor="#ff1a1a1a"
|
||||
@@ -35,12 +35,11 @@
|
||||
android:gravity="center"
|
||||
android:textSize="18sp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
/>
|
||||
|
||||
<RelativeLayout android:id="@+id/btn_rose"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginLeft="22dp"
|
||||
android:layout_marginRight="22dp"
|
||||
android:background="@mipmap/freegift_box">
|
||||
@@ -66,10 +65,10 @@
|
||||
|
||||
<RelativeLayout android:id="@+id/aa"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="22dp"
|
||||
android:layout_marginRight="22dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@mipmap/jindou_box">
|
||||
|
||||
<LinearLayout
|
||||
@@ -90,10 +89,10 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
<TextView android:id="@+id/gold"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="20"
|
||||
android:text="0"
|
||||
android:textColor="#fffff69f"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
@@ -103,9 +102,9 @@
|
||||
|
||||
<RelativeLayout android:id="@+id/aa1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginLeft="22dp"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="22dp"
|
||||
android:background="@mipmap/exp_box">
|
||||
|
||||
@@ -127,10 +126,10 @@
|
||||
android:layout_centerHorizontal="true"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
<TextView android:id="@+id/exp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="20"
|
||||
android:text="0"
|
||||
android:textColor="#fffff69f"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="184dp"
|
||||
@@ -8,42 +7,47 @@
|
||||
android:background="@mipmap/black_tip_bg"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="completing mission 1!"
|
||||
android:text="@string/completing_mission"
|
||||
android:layout_marginTop="3dp"
|
||||
android:textColor="#fffff69f"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
android:textSize="12sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dp"
|
||||
android:gravity="center"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="GET"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/get"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView android:id="@+id/gold"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:drawableLeft="@mipmap/icon_live_beans"
|
||||
android:text="10"
|
||||
android:textColor="#ffffffff"
|
||||
android:drawableLeft="@mipmap/icon_live_beans"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
<TextView android:id="@+id/exp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@mipmap/icon_live_exp"
|
||||
android:text="100"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp"
|
||||
android:drawableLeft="@mipmap/icon_live_exp"
|
||||
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -60,19 +60,21 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/btn_event3"
|
||||
android:layout_width="68dp"
|
||||
android:layout_height="68dp"
|
||||
android:layout_width="67dp"
|
||||
android:layout_height="90dp"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginBottom="18dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:background="@mipmap/live_mission_box"
|
||||
android:visibility="gone"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.ms.banner.Banner
|
||||
android:id="@+id/banner3"
|
||||
android:layout_width="65dp"
|
||||
android:layout_height="68dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="5dp"
|
||||
app:delay_time="5000"
|
||||
app:indicator_drawable_selected="@drawable/bg_home_indicator_selected"
|
||||
app:indicator_drawable_unselected="@drawable/bg_home_indicator_unselected"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 2.2 KiB |
Reference in New Issue
Block a user