UI样式调整
This commit is contained in:
parent
4f4034c1d0
commit
9d3ed3632a
@ -1,4 +1,4 @@
|
|||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapanL\app\build\intermediates\default_proguard_files\global\proguard-android.txt-8.3.1
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\app\build\intermediates\default_proguard_files\global\proguard-android.txt-8.3.1
|
||||||
# This is a configuration file for ProGuard.
|
# This is a configuration file for ProGuard.
|
||||||
# http://proguard.sourceforge.net/index.html#manual/usage.html
|
# http://proguard.sourceforge.net/index.html#manual/usage.html
|
||||||
#
|
#
|
||||||
@ -95,8 +95,8 @@
|
|||||||
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
|
# These classes are duplicated between android.jar and core-lambda-stubs.jar.
|
||||||
-dontnote java.lang.invoke.**
|
-dontnote java.lang.invoke.**
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapanL\app\build\intermediates\default_proguard_files\global\proguard-android.txt-8.3.1
|
# End of content from D:\AndroidProject\pandorapan\app\build\intermediates\default_proguard_files\global\proguard-android.txt-8.3.1
|
||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapanL\app\proguard-rules.pro
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\app\proguard-rules.pro
|
||||||
# Add project specific ProGuard rules here.
|
# Add project specific ProGuard rules here.
|
||||||
# By default, the flags in this file are appended to flags specified
|
# By default, the flags in this file are appended to flags specified
|
||||||
# in /Users/macpro/Library/Android/sdk/tools/proguard/proguard-android.txt
|
# in /Users/macpro/Library/Android/sdk/tools/proguard/proguard-android.txt
|
||||||
@ -420,8 +420,8 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
|||||||
-ignorewarnings
|
-ignorewarnings
|
||||||
|
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapanL\app\proguard-rules.pro
|
# End of content from D:\AndroidProject\pandorapan\app\proguard-rules.pro
|
||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapanL\app\build\intermediates\aapt_proguard_file\google_onlineRelease\processGoogle_onlineReleaseResources\aapt_rules.txt
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\google_testRelease\processGoogle_testReleaseResources\aapt_rules.txt
|
||||||
-keep class androidx.core.app.CoreComponentFactory { <init>(); }
|
-keep class androidx.core.app.CoreComponentFactory { <init>(); }
|
||||||
-keep class androidx.core.content.FileProvider { <init>(); }
|
-keep class androidx.core.content.FileProvider { <init>(); }
|
||||||
-keep class androidx.core.content.FileProvider4Utils { <init>(); }
|
-keep class androidx.core.content.FileProvider4Utils { <init>(); }
|
||||||
@ -1094,10 +1094,10 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
|||||||
-keepclassmembers class * { *** videoEditClick(android.view.View); }
|
-keepclassmembers class * { *** videoEditClick(android.view.View); }
|
||||||
|
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapanL\app\build\intermediates\aapt_proguard_file\google_onlineRelease\processGoogle_onlineReleaseResources\aapt_rules.txt
|
# End of content from D:\AndroidProject\pandorapan\app\build\intermediates\aapt_proguard_file\google_testRelease\processGoogle_testReleaseResources\aapt_rules.txt
|
||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapanL\lib_faceunity\build\intermediates\consumer_proguard_dir\google_onlineRelease\exportGoogle_onlineReleaseConsumerProguardFiles\lib0\proguard.txt
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\google_testRelease\exportGoogle_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapanL\lib_faceunity\build\intermediates\consumer_proguard_dir\google_onlineRelease\exportGoogle_onlineReleaseConsumerProguardFiles\lib0\proguard.txt
|
# End of content from D:\AndroidProject\pandorapan\lib_faceunity\build\intermediates\consumer_proguard_dir\google_testRelease\exportGoogle_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\8d3e3177c15403546de73d87508067d6\transformed\jetified-XPopup-2.10.0\proguard.txt
|
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\8d3e3177c15403546de73d87508067d6\transformed\jetified-XPopup-2.10.0\proguard.txt
|
||||||
# Generated keep rule for Lifecycle observer adapter.
|
# Generated keep rule for Lifecycle observer adapter.
|
||||||
-if class com.lxj.xpopup.core.BasePopupView {
|
-if class com.lxj.xpopup.core.BasePopupView {
|
||||||
@ -1157,9 +1157,9 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
|||||||
|
|
||||||
|
|
||||||
# End of content from C:\Users\CVB88\.gradle\caches\transforms-3\a1df9a6aa192455030f7c9970b70e0e9\transformed\material-1.4.0\proguard.txt
|
# End of content from C:\Users\CVB88\.gradle\caches\transforms-3\a1df9a6aa192455030f7c9970b70e0e9\transformed\material-1.4.0\proguard.txt
|
||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapanL\lib_google\build\intermediates\consumer_proguard_dir\google_onlineRelease\exportGoogle_onlineReleaseConsumerProguardFiles\lib0\proguard.txt
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\google_testRelease\exportGoogle_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapanL\lib_google\build\intermediates\consumer_proguard_dir\google_onlineRelease\exportGoogle_onlineReleaseConsumerProguardFiles\lib0\proguard.txt
|
# End of content from D:\AndroidProject\pandorapan\lib_google\build\intermediates\consumer_proguard_dir\google_testRelease\exportGoogle_testReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\2929985d9627ba3bb45a0ebd18eaf9d3\transformed\jetified-linesdk-5.0.1\proguard.txt
|
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\2929985d9627ba3bb45a0ebd18eaf9d3\transformed\jetified-linesdk-5.0.1\proguard.txt
|
||||||
-keepattributes *Annotation*
|
-keepattributes *Annotation*
|
||||||
|
|
||||||
@ -1510,9 +1510,9 @@ rx.internal.util.atomic.LinkedQueueNode* consumerNode;
|
|||||||
public boolean isLayoutSuppressed();
|
public boolean isLayoutSuppressed();
|
||||||
}
|
}
|
||||||
# End of content from C:\Users\CVB88\.gradle\caches\transforms-3\e9de7db2640f13ae2ab2a585dfd19337\transformed\recyclerview-1.2.1\proguard.txt
|
# End of content from C:\Users\CVB88\.gradle\caches\transforms-3\e9de7db2640f13ae2ab2a585dfd19337\transformed\recyclerview-1.2.1\proguard.txt
|
||||||
# The proguard configuration file for the following section is D:\AndroidProject\pandorapanL\TabLayout\build\intermediates\consumer_proguard_dir\release\exportReleaseConsumerProguardFiles\lib0\proguard.txt
|
# The proguard configuration file for the following section is D:\AndroidProject\pandorapan\TabLayout\build\intermediates\consumer_proguard_dir\release\exportReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
|
|
||||||
# End of content from D:\AndroidProject\pandorapanL\TabLayout\build\intermediates\consumer_proguard_dir\release\exportReleaseConsumerProguardFiles\lib0\proguard.txt
|
# End of content from D:\AndroidProject\pandorapan\TabLayout\build\intermediates\consumer_proguard_dir\release\exportReleaseConsumerProguardFiles\lib0\proguard.txt
|
||||||
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\bb5ec4ef561b90312eb1ca52da1f144d\transformed\jetified-facebook-applinks-15.2.0\proguard.txt
|
# The proguard configuration file for the following section is C:\Users\CVB88\.gradle\caches\transforms-3\bb5ec4ef561b90312eb1ca52da1f144d\transformed\jetified-facebook-applinks-15.2.0\proguard.txt
|
||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -93,6 +93,7 @@ public class LiveAnchorSayPopDialog extends AbsDialogPopupWindow {
|
|||||||
sayBg = anchorDemo.findViewById(R.id.anchorSayBg);
|
sayBg = anchorDemo.findViewById(R.id.anchorSayBg);
|
||||||
|
|
||||||
list = findViewById(R.id.anchor_say_list);
|
list = findViewById(R.id.anchor_say_list);
|
||||||
|
|
||||||
saySwitch = findViewById(R.id.say_switch);
|
saySwitch = findViewById(R.id.say_switch);
|
||||||
sayEdit = findViewById(R.id.anchor_say_edit);
|
sayEdit = findViewById(R.id.anchor_say_edit);
|
||||||
titleEdit = findViewById(R.id.titleEdit);
|
titleEdit = findViewById(R.id.titleEdit);
|
||||||
|
@ -292,6 +292,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
public static ImageView newMessage, atMessage;
|
public static ImageView newMessage, atMessage;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//多人PK
|
//多人PK
|
||||||
static TextView time;
|
static TextView time;
|
||||||
|
|
||||||
@ -3403,6 +3404,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
private void startNewPart2Flipper(View view){
|
private void startNewPart2Flipper(View view){
|
||||||
if(view == null)
|
if(view == null)
|
||||||
return;
|
return;
|
||||||
|
if (newPart2Flipper.getVisibility() != View.VISIBLE){
|
||||||
|
newPart2Flipper.setVisibility(View.VISIBLE);
|
||||||
|
}
|
||||||
// 获取当前翻转动画器中的视图数量
|
// 获取当前翻转动画器中的视图数量
|
||||||
newPart2Flipper.getChildCount();
|
newPart2Flipper.getChildCount();
|
||||||
// 检查传入的视图是否已存在于翻转动画器中
|
// 检查传入的视图是否已存在于翻转动画器中
|
||||||
@ -3469,13 +3473,13 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
if (flipper.getChildCount() > 0) {
|
if (flipper.getChildCount() > 0) {
|
||||||
flipper.removeAllViews();
|
flipper.removeAllViews();
|
||||||
}
|
}
|
||||||
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(DpUtil.dp2px(16), DpUtil.dp2px(16));
|
// LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(DpUtil.dp2px(16), DpUtil.dp2px(16));
|
||||||
LinearLayout.LayoutParams textParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
// LinearLayout.LayoutParams textParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||||
textParams.leftMargin = DpUtil.dp2px(5);
|
// textParams.leftMargin = DpUtil.dp2px(5);
|
||||||
params.leftMargin = DpUtil.dp2px(5);
|
// params.leftMargin = DpUtil.dp2px(5);
|
||||||
View hotView = LayoutInflater.from(mContext).inflate(R.layout.view_wish_list, null);
|
View hotView = LayoutInflater.from(mContext).inflate(R.layout.view_wish_list2, null);
|
||||||
hotView.setTag("hotView");
|
hotView.setTag("hotView");
|
||||||
View hourView = LayoutInflater.from(mContext).inflate(R.layout.view_wish_list, null);
|
View hourView = LayoutInflater.from(mContext).inflate(R.layout.view_wish_list2, null);
|
||||||
hourView.setTag("hourView");
|
hourView.setTag("hourView");
|
||||||
ImageView hotPic = hotView.findViewById(R.id.wish_pic);
|
ImageView hotPic = hotView.findViewById(R.id.wish_pic);
|
||||||
ImageView hourPic = hourView.findViewById(R.id.wish_pic);
|
ImageView hourPic = hourView.findViewById(R.id.wish_pic);
|
||||||
@ -3483,15 +3487,15 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
mHourRank = hourView.findViewById(R.id.wish_index);
|
mHourRank = hourView.findViewById(R.id.wish_index);
|
||||||
mHotText.setText("0");
|
mHotText.setText("0");
|
||||||
mHourRank.setText("熱度加成");
|
mHourRank.setText("熱度加成");
|
||||||
mHotText.setLayoutParams(textParams);
|
// mHotText.setLayoutParams(textParams);
|
||||||
mHourRank.setLayoutParams(textParams);
|
// mHourRank.setLayoutParams(textParams);
|
||||||
mHotText.setGravity(Gravity.CENTER);
|
mHotText.setGravity(Gravity.CENTER);
|
||||||
mHourRank.setGravity(Gravity.CENTER);
|
mHourRank.setGravity(Gravity.CENTER);
|
||||||
setHourRankData(Long.parseLong(model.getRank()));
|
setHourRankData(Long.parseLong(model.getRank()));
|
||||||
hotPic.setImageResource(R.mipmap.ic_live_hour_rank);
|
hotPic.setImageResource(R.mipmap.ic_live_hour_rank);
|
||||||
hourPic.setImageResource(R.drawable.icon_heat_new);
|
hourPic.setImageResource(R.mipmap.ic_live_hot_rank);
|
||||||
hotPic.setLayoutParams(params);
|
// hotPic.setLayoutParams(params);
|
||||||
hourPic.setLayoutParams(params);
|
// hourPic.setLayoutParams(params);
|
||||||
flipper.addView(hotView);
|
flipper.addView(hotView);
|
||||||
flipper.addView(hourView);
|
flipper.addView(hourView);
|
||||||
flipper.startFlipping();
|
flipper.startFlipping();
|
||||||
@ -3542,7 +3546,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
mHotText.setGravity(Gravity.CENTER);
|
mHotText.setGravity(Gravity.CENTER);
|
||||||
mHourRank.setGravity(Gravity.CENTER);
|
mHourRank.setGravity(Gravity.CENTER);
|
||||||
setHourRankData(info.get(0).getRank());
|
setHourRankData(info.get(0).getRank());
|
||||||
hotPic.setImageResource(R.drawable.icon_time_new);
|
hotPic.setImageResource(R.mipmap.ic_live_hour_rank);
|
||||||
hourPic.setImageResource(R.drawable.icon_heat_new);
|
hourPic.setImageResource(R.drawable.icon_heat_new);
|
||||||
hotPic.setLayoutParams(params);
|
hotPic.setLayoutParams(params);
|
||||||
hourPic.setLayoutParams(params);
|
hourPic.setLayoutParams(params);
|
||||||
@ -3878,9 +3882,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static int pkEndIndex = 0;
|
public static int pkEndIndex = 0;
|
||||||
|
|
||||||
//PK结束,结果展示
|
//PK结束,结果展示
|
||||||
public static void pkEndList(int result) {
|
public static void pkEndList(int result) {
|
||||||
|
|
||||||
if (result == 0) {
|
if (result == 0) {
|
||||||
img_pk_fist_l.setBackgroundResource(R.mipmap.icon_red_no1);
|
img_pk_fist_l.setBackgroundResource(R.mipmap.icon_red_no1);
|
||||||
img_pk_fist_r.setBackgroundResource(R.mipmap.icon_blue_no1);
|
img_pk_fist_r.setBackgroundResource(R.mipmap.icon_blue_no1);
|
||||||
@ -3978,6 +3982,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
|
|
||||||
//双人pk显示
|
//双人pk显示
|
||||||
public void UpPkTwo() {
|
public void UpPkTwo() {
|
||||||
|
//if
|
||||||
if (lt_pk_line.getVisibility() == View.VISIBLE) return;
|
if (lt_pk_line.getVisibility() == View.VISIBLE) return;
|
||||||
ScreenDimenUtil util = ScreenDimenUtil.getInstance();
|
ScreenDimenUtil util = ScreenDimenUtil.getInstance();
|
||||||
int mScreenWdith = util.getScreenWdith();
|
int mScreenWdith = util.getScreenWdith();
|
||||||
@ -4011,6 +4016,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
|
|
||||||
//双人pk关闭
|
//双人pk关闭
|
||||||
public void closePkTwo() {
|
public void closePkTwo() {
|
||||||
|
|
||||||
Log.e("LiveRoomViewHolder", "closePkTwo: 隐藏PK信息" + goto_room_view.getVisibility());
|
Log.e("LiveRoomViewHolder", "closePkTwo: 隐藏PK信息" + goto_room_view.getVisibility());
|
||||||
mPkRankTopIcon.setVisibility(View.GONE);
|
mPkRankTopIcon.setVisibility(View.GONE);
|
||||||
lt_pk_line.setVisibility(View.GONE);
|
lt_pk_line.setVisibility(View.GONE);
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:layout_height="36dp">
|
tools:layout_height="30dp">
|
||||||
|
|
||||||
|
|
||||||
<!-- 新手任务 -->
|
<!-- 新手任务 -->
|
||||||
@ -163,7 +163,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="#FFC949 "
|
android:textColor="#FFC949 "
|
||||||
android:textSize="12sp"
|
android:textSize="9sp"
|
||||||
app:layout_constraintStart_toStartOf="@+id/newWishTitleTv"
|
app:layout_constraintStart_toStartOf="@+id/newWishTitleTv"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/newWishTitleTv"
|
app:layout_constraintTop_toBottomOf="@+id/newWishTitleTv"
|
||||||
tools:text="5" />
|
tools:text="5" />
|
||||||
@ -174,7 +174,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="10sp"
|
android:textSize="9sp"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/newWishNowTv"
|
app:layout_constraintBottom_toBottomOf="@+id/newWishNowTv"
|
||||||
app:layout_constraintStart_toEndOf="@+id/newWishNowTv"
|
app:layout_constraintStart_toEndOf="@+id/newWishNowTv"
|
||||||
tools:text="/26" />
|
tools:text="/26" />
|
||||||
@ -185,6 +185,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="2dp"
|
android:layout_height="2dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
|
android:layout_marginStart="1dp"
|
||||||
android:progressDrawable="@drawable/bg_gift_progressbar"
|
android:progressDrawable="@drawable/bg_gift_progressbar"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/newWishImg"
|
app:layout_constraintEnd_toStartOf="@+id/newWishImg"
|
||||||
app:layout_constraintStart_toStartOf="@+id/newWishTitleTv"
|
app:layout_constraintStart_toStartOf="@+id/newWishTitleTv"
|
||||||
@ -197,7 +198,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:constraint_referenced_ids="newWishBgView,newWishImg,newWishTitleTv,newWishNowTv,newWishTotalTv,wish_progressbar"
|
app:constraint_referenced_ids="newWishBgView,newWishImg,newWishTitleTv,newWishNowTv,newWishTotalTv,wish_progressbar"
|
||||||
tools:visibility="invisible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<ViewFlipper
|
<ViewFlipper
|
||||||
android:id="@+id/wishViewFlipper"
|
android:id="@+id/wishViewFlipper"
|
||||||
@ -205,6 +206,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:flipInterval="5000"
|
android:flipInterval="5000"
|
||||||
|
android:visibility="gone"
|
||||||
android:inAnimation="@anim/anim_marquee_in"
|
android:inAnimation="@anim/anim_marquee_in"
|
||||||
android:outAnimation="@anim/anim_marquee_out"
|
android:outAnimation="@anim/anim_marquee_out"
|
||||||
tools:background="@drawable/bg_live_item_rank"
|
tools:background="@drawable/bg_live_item_rank"
|
||||||
@ -254,7 +256,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="#FFC949 "
|
android:textColor="#FFC949 "
|
||||||
android:textSize="12sp"
|
android:textSize="9sp"
|
||||||
app:layout_constraintStart_toStartOf="@+id/newWeekTitleTv"
|
app:layout_constraintStart_toStartOf="@+id/newWeekTitleTv"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/newWeekTitleTv"
|
app:layout_constraintTop_toBottomOf="@+id/newWeekTitleTv"
|
||||||
tools:text="5" />
|
tools:text="5" />
|
||||||
@ -265,7 +267,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="10sp"
|
android:textSize="9sp"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/newWeekNowTv"
|
app:layout_constraintBottom_toBottomOf="@+id/newWeekNowTv"
|
||||||
app:layout_constraintStart_toEndOf="@+id/newWeekNowTv"
|
app:layout_constraintStart_toEndOf="@+id/newWeekNowTv"
|
||||||
tools:text="/26" />
|
tools:text="/26" />
|
||||||
@ -276,6 +278,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="2dp"
|
android:layout_height="2dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
|
android:layout_marginStart="1dp"
|
||||||
android:progressDrawable="@drawable/bg_gift_progressbar"
|
android:progressDrawable="@drawable/bg_gift_progressbar"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/newWeekImg"
|
app:layout_constraintEnd_toStartOf="@+id/newWeekImg"
|
||||||
app:layout_constraintStart_toStartOf="@+id/newWeekTitleTv"
|
app:layout_constraintStart_toStartOf="@+id/newWeekTitleTv"
|
||||||
@ -307,10 +310,11 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:src="@mipmap/icon_arrow_right_3"
|
android:src="@mipmap/icon_arrow_right_3"
|
||||||
|
android:layout_marginEnd="4dp"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/goddessSayBgView"
|
app:layout_constraintBottom_toBottomOf="@+id/goddessSayBgView"
|
||||||
app:layout_constraintDimensionRatio="1"
|
app:layout_constraintDimensionRatio="1"
|
||||||
app:layout_constraintEnd_toEndOf="@+id/goddessSayBgView"
|
app:layout_constraintEnd_toEndOf="@+id/goddessSayBgView"
|
||||||
app:layout_constraintHeight_percent="0.5"
|
app:layout_constraintHeight_percent="0.34"
|
||||||
app:layout_constraintTop_toTopOf="@+id/goddessSayBgView" />
|
app:layout_constraintTop_toTopOf="@+id/goddessSayBgView" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -319,7 +323,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:maxLines="2"
|
android:singleLine="true"
|
||||||
android:paddingStart="5dp"
|
android:paddingStart="5dp"
|
||||||
android:paddingEnd="1dp"
|
android:paddingEnd="1dp"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
@ -336,7 +340,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
app:constraint_referenced_ids="goddessSayBgView,goddessSayTitleTv,goddessSayImg"
|
app:constraint_referenced_ids="goddessSayBgView,goddessSayTitleTv,goddessSayImg"
|
||||||
tools:visibility="gone" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="#FFC949 "
|
android:textColor="#FFC949 "
|
||||||
android:textSize="12sp"
|
android:textSize="9sp"
|
||||||
app:layout_constraintStart_toStartOf="@+id/newItemTitleTv"
|
app:layout_constraintStart_toStartOf="@+id/newItemTitleTv"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/newItemTitleTv"
|
app:layout_constraintTop_toBottomOf="@+id/newItemTitleTv"
|
||||||
tools:text="5" />
|
tools:text="5" />
|
||||||
@ -58,7 +58,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
android:textColor="#FFFFFF"
|
android:textColor="#FFFFFF"
|
||||||
android:textSize="10sp"
|
android:textSize="9sp"
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/newItemNowTv"
|
app:layout_constraintBottom_toBottomOf="@+id/newItemNowTv"
|
||||||
app:layout_constraintStart_toEndOf="@+id/newItemNowTv"
|
app:layout_constraintStart_toEndOf="@+id/newItemNowTv"
|
||||||
tools:text="/26" />
|
tools:text="/26" />
|
||||||
@ -69,6 +69,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="2dp"
|
android:layout_height="2dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
|
android:layout_marginStart="1dp"
|
||||||
android:progressDrawable="@drawable/bg_gift_progressbar"
|
android:progressDrawable="@drawable/bg_gift_progressbar"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/newItemImg"
|
app:layout_constraintEnd_toStartOf="@+id/newItemImg"
|
||||||
app:layout_constraintStart_toStartOf="@+id/newItemTitleTv"
|
app:layout_constraintStart_toStartOf="@+id/newItemTitleTv"
|
||||||
|
41
live/src/main/res/layout/view_wish_list2.xml
Normal file
41
live/src/main/res/layout/view_wish_list2.xml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
android:background="@color/transparent"
|
||||||
|
tools:background="@drawable/bg_live_item"
|
||||||
|
tools:layout_height="23dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/wish_pic"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
tools:src="@mipmap/ic_live_hot_rank"
|
||||||
|
android:layout_marginStart="7dp"
|
||||||
|
android:layout_width="10dp"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
|
<com.yunbao.common.views.weight.MarqueeTextView
|
||||||
|
android:id="@+id/wish_index"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/wish_pic"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
tools:text="热度加成"
|
||||||
|
android:layout_marginStart="2dp"
|
||||||
|
android:ellipsize="marquee"
|
||||||
|
android:focusable="true"
|
||||||
|
android:gravity="center"
|
||||||
|
android:focusableInTouchMode="true"
|
||||||
|
android:marqueeRepeatLimit="marquee_forever"
|
||||||
|
android:scrollHorizontally="true"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:textColor="#FFFFFFFF"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
android:textSize="10sp" />
|
||||||
|
|
||||||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
BIN
live/src/main/res/mipmap-hdpi/ic_live_hot_rank.png
Normal file
BIN
live/src/main/res/mipmap-hdpi/ic_live_hot_rank.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 548 B |
BIN
live/src/main/res/mipmap-mdpi/ic_live_hot_rank.png
Normal file
BIN
live/src/main/res/mipmap-mdpi/ic_live_hot_rank.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 349 B |
BIN
live/src/main/res/mipmap-xhdpi/ic_live_hot_rank.png
Normal file
BIN
live/src/main/res/mipmap-xhdpi/ic_live_hot_rank.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 789 B |
BIN
live/src/main/res/mipmap-xxxhdpi/ic_live_hot_rank.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/ic_live_hot_rank.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in New Issue
Block a user