心愿单修改
This commit is contained in:
parent
28ef982b74
commit
2ce527cee8
@ -4,15 +4,32 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<ImageView
|
<FrameLayout
|
||||||
android:id="@+id/imageView2"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="117dp"
|
android:layout_height="117dp">
|
||||||
android:layout_marginStart="10dp"
|
|
||||||
android:layout_marginEnd="10dp"
|
|
||||||
android:background="@drawable/bg_xyd_add_item"
|
<ImageView
|
||||||
android:layout_marginBottom="4dp"
|
android:id="@+id/imageView2"
|
||||||
android:scaleType="centerInside" />
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="117dp"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:layout_marginEnd="10dp"
|
||||||
|
android:layout_marginBottom="4dp"
|
||||||
|
android:background="@drawable/bg_xyd_add_item"
|
||||||
|
android:scaleType="centerInside" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="95dp"
|
||||||
|
android:layout_marginTop="60dp"
|
||||||
|
android:text="@string/add_gift2"
|
||||||
|
android:textColor="#4223CD"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -1118,4 +1118,5 @@ Limited ride And limited avatar frame</string>
|
|||||||
<string name="live_play_setting">Play setting</string>
|
<string name="live_play_setting">Play setting</string>
|
||||||
<string name="live_language_setting">language setting</string>
|
<string name="live_language_setting">language setting</string>
|
||||||
<string name="traditional_chinese">Traditional Chinese</string>
|
<string name="traditional_chinese">Traditional Chinese</string>
|
||||||
|
<string name="add_gift2">Add gifts, nobles, and guardian wishes</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -1116,5 +1116,6 @@
|
|||||||
<string name="live_play_setting">播放設置</string>
|
<string name="live_play_setting">播放設置</string>
|
||||||
<string name="live_language_setting">語言設定</string>
|
<string name="live_language_setting">語言設定</string>
|
||||||
<string name="traditional_chinese">繁體中文</string>
|
<string name="traditional_chinese">繁體中文</string>
|
||||||
|
<string name="add_gift2">添加禮物、貴族、守護心願</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -1899,11 +1899,9 @@ 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(13), DpUtil.dp2px(13));
|
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(DpUtil.dp2px(44), DpUtil.dp2px(16));
|
||||||
params.leftMargin = DpUtil.dp2px(6);
|
|
||||||
params.rightMargin = DpUtil.dp2px(2);
|
|
||||||
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(2);
|
textParams.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_list, null);
|
||||||
View hourView = LayoutInflater.from(mContext).inflate(R.layout.view_wish_list, null);
|
View hourView = LayoutInflater.from(mContext).inflate(R.layout.view_wish_list, null);
|
||||||
ImageView hotPic = hotView.findViewById(R.id.wish_pic);
|
ImageView hotPic = hotView.findViewById(R.id.wish_pic);
|
||||||
|
Loading…
Reference in New Issue
Block a user