oppo英文版字挡图标贵族图标
This commit is contained in:
parent
cc48c7c2e8
commit
beace99a80
@ -384,21 +384,22 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
params.bottomMargin = DpUtil.dp2px(65);
|
params.bottomMargin = DpUtil.dp2px(65);
|
||||||
if(Tips.equals("1")){
|
if(Tips.equals("1")){
|
||||||
if (noble){
|
if (noble){
|
||||||
|
bottom_msg.setVisibility(View.GONE);
|
||||||
tags.setText(R.string.enjoy_a_lot);
|
tags.setText(R.string.enjoy_a_lot);
|
||||||
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
||||||
btn.setText(R.string.live_ktgz);
|
btn.setText(R.string.live_ktgz);
|
||||||
setTextColor(gz_view,audience_btn, guard_btn, fans_btn, weekRank, dayRank);
|
setTextColor(gz_view,audience_btn, guard_btn, fans_btn, weekRank, dayRank);
|
||||||
userMoreInfoAdapter.type = "1";
|
userMoreInfoAdapter.type = "1";
|
||||||
type = "guanzhong";
|
type = "guanzhong";
|
||||||
bottom_msg.setVisibility(View.GONE);
|
|
||||||
}else {
|
}else {
|
||||||
|
bottom_msg.setVisibility(View.GONE);
|
||||||
tags.setText(R.string.enjoy_a_lot);
|
tags.setText(R.string.enjoy_a_lot);
|
||||||
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
||||||
btn.setText(R.string.live_ktgz);
|
btn.setText(R.string.live_ktgz);
|
||||||
setTextColor(audience_btn, guard_btn, fans_btn, weekRank, dayRank,gz_view);
|
setTextColor(audience_btn, guard_btn, fans_btn, weekRank, dayRank,gz_view);
|
||||||
userMoreInfoAdapter.type = "1";
|
userMoreInfoAdapter.type = "1";
|
||||||
type = "guanzhong";
|
type = "guanzhong";
|
||||||
bottom_msg.setVisibility(View.GONE);
|
|
||||||
}
|
}
|
||||||
}else if (Tips.equals("2")) {
|
}else if (Tips.equals("2")) {
|
||||||
tags.setText(R.string.guard_for_your);
|
tags.setText(R.string.guard_for_your);
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
app:layout_constraintBottom_toBottomOf="@+id/newRedPacketImg"
|
app:layout_constraintBottom_toBottomOf="@+id/newRedPacketImg"
|
||||||
app:layout_constraintDimensionRatio="2.5"
|
app:layout_constraintDimensionRatio="2.5"
|
||||||
app:layout_constraintEnd_toEndOf="@+id/newRedPacketImg"
|
app:layout_constraintEnd_toEndOf="@+id/newRedPacketImg"
|
||||||
app:layout_constraintHeight_percent="0.3"
|
app:layout_constraintHeight_percent="0.33"
|
||||||
tools:text="16:36" />
|
tools:text="16:36" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
<androidx.constraintlayout.widget.Group
|
||||||
@ -104,13 +104,16 @@
|
|||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:background="@mipmap/bg_live_room_red_time"
|
android:background="@mipmap/bg_live_room_red_time"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textColor="@color/white"
|
android:autoSizeMinTextSize="5sp"
|
||||||
|
android:autoSizeMaxTextSize="7sp"
|
||||||
|
android:autoSizeTextType="uniform"
|
||||||
android:textSize="7sp"
|
android:textSize="7sp"
|
||||||
|
android:textColor="@color/white"
|
||||||
android:visibility="visible"
|
android:visibility="visible"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/newDragonImg"
|
app:layout_constraintBottom_toBottomOf="@+id/newDragonImg"
|
||||||
app:layout_constraintDimensionRatio="2.5"
|
app:layout_constraintDimensionRatio="2.5"
|
||||||
app:layout_constraintEnd_toEndOf="@+id/newDragonImg"
|
app:layout_constraintEnd_toEndOf="@+id/newDragonImg"
|
||||||
app:layout_constraintHeight_percent="0.3"
|
app:layout_constraintHeight_percent="0.33"
|
||||||
tools:text="16:36" />
|
tools:text="16:36" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.Group
|
<androidx.constraintlayout.widget.Group
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:background="@color/gray2"
|
android:background="@color/gray2"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingBottom="50dp">
|
android:paddingBottom="50dp">
|
||||||
@ -498,7 +499,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<FrameLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/lt_noble"
|
android:id="@+id/lt_noble"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="81dp"
|
android:layout_height="81dp"
|
||||||
@ -511,66 +512,50 @@
|
|||||||
android:focusableInTouchMode="true"
|
android:focusableInTouchMode="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
<ImageView
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_gravity="end"
|
|
||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
|
android:id="@+id/user_noble_ico"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
android:layout_marginEnd="14dp"
|
android:layout_marginEnd="14dp"
|
||||||
android:clickable="false"
|
android:layout_width="48dp"
|
||||||
android:focusable="false"
|
android:layout_height="45dp"
|
||||||
android:focusableInTouchMode="false">
|
android:src="@mipmap/icon_vip_gold" />
|
||||||
|
|
||||||
<ImageView
|
<TextView
|
||||||
android:id="@+id/user_noble_ico"
|
android:id="@+id/user_noble_text"
|
||||||
android:layout_width="48dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="45dp"
|
android:layout_height="wrap_content"
|
||||||
android:src="@mipmap/icon_vip_gold" />
|
android:gravity="center|start"
|
||||||
</LinearLayout>
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginEnd="6dp"
|
||||||
|
android:textColor="#000000"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toStartOf="@+id/user_noble_ico"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintVertical_bias="0.26"
|
||||||
|
tools:text="dsfsdfd" />
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:clickable="false"
|
|
||||||
android:focusable="false"
|
|
||||||
android:focusableInTouchMode="false"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:paddingLeft="18dp"
|
|
||||||
android:paddingRight="6dp">
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_noble_text"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
android:layout_width="wrap_content"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="@+id/user_noble_text"
|
||||||
android:layout_marginTop="15dp"
|
android:id="@+id/user_noble_time"
|
||||||
android:text=""
|
android:layout_width="0dp"
|
||||||
android:textColor="#000000"
|
android:layout_marginBottom="2dp"
|
||||||
android:textSize="16sp"
|
android:layout_marginEnd="6dp"
|
||||||
android:textStyle="bold" />
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="12dp"
|
||||||
|
android:text="@string/open_noble_text"
|
||||||
|
android:textColor="#000000"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
|
||||||
<TextView
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
android:id="@+id/user_noble_time"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="12dp"
|
|
||||||
android:text="@string/open_noble_text"
|
|
||||||
android:textColor="#000000"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<View
|
|
||||||
android:id="@+id/v_noble"
|
|
||||||
android:layout_width="18dp"
|
|
||||||
android:layout_height="18dp"
|
|
||||||
android:layout_marginRight="30dp"
|
|
||||||
android:background="@mipmap/icon_more_gray"
|
|
||||||
android:clickable="false"
|
|
||||||
android:focusable="false"
|
|
||||||
android:focusableInTouchMode="false"
|
|
||||||
android:visibility="gone" />
|
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="18dp"
|
android:layout_width="18dp"
|
||||||
|
Loading…
Reference in New Issue
Block a user