Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
X
xxsq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
xxsq
Commits
fafcd495
Commit
fafcd495
authored
Jun 01, 2022
by
王雪伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[提交人]:王雪伟
[提交简述] :小象省钱 [实现方案] :调整盲盒显示UI
parent
407545c6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
10 deletions
+34
-10
icon_bottom_guanbi.png
...leMain/src/main/res/drawable-xhdpi/icon_bottom_guanbi.png
+0
-0
icon_box_youhui_tips.png
...Main/src/main/res/drawable-xhdpi/icon_box_youhui_tips.png
+0
-0
shape_4b5055_label.xml
moduleMain/src/main/res/drawable/shape_4b5055_label.xml
+9
-0
shape_4b5055_r4_stroke.xml
moduleMain/src/main/res/drawable/shape_4b5055_r4_stroke.xml
+12
-0
item_layout_box_goods_view.xml
...leMain/src/main/res/layout/item_layout_box_goods_view.xml
+13
-10
No files found.
moduleMain/src/main/res/drawable/icon_bottom_guanbi.png
→
moduleMain/src/main/res/drawable
-xhdpi
/icon_bottom_guanbi.png
View file @
fafcd495
File moved
moduleMain/src/main/res/drawable-xhdpi/icon_box_youhui_tips.png
deleted
100644 → 0
View file @
407545c6
1.12 KB
moduleMain/src/main/res/drawable/shape_4b5055_label.xml
0 → 100644
View file @
fafcd495
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<solid
android:color=
"#4B5055"
/>
<corners
android:bottomLeftRadius=
"4dp"
android:bottomRightRadius=
"0dp"
android:topLeftRadius=
"4dp"
android:topRightRadius=
"0dp"
/>
</shape>
\ No newline at end of file
moduleMain/src/main/res/drawable/shape_4b5055_r4_stroke.xml
0 → 100644
View file @
fafcd495
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<stroke
android:width=
"1dp"
android:color=
"#4B5055"
/>
<corners
android:bottomLeftRadius=
"0dp"
android:bottomRightRadius=
"4dp"
android:topLeftRadius=
"0dp"
android:topRightRadius=
"4dp"
/>
</shape>
\ No newline at end of file
moduleMain/src/main/res/layout/item_layout_box_goods_view.xml
View file @
fafcd495
...
...
@@ -26,9 +26,9 @@
android:background=
"@drawable/icon_box_jiaobiao"
android:gravity=
"center"
android:text=
"限时盲盒"
android:textStyle=
"bold"
android:textColor=
"#F8E8CC"
android:textSize=
"12sp"
/>
android:textSize=
"12sp"
android:textStyle=
"bold"
/>
<TextView
...
...
@@ -36,9 +36,9 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:layout_marginBottom=
"7dp"
android:layout_toEndOf=
"@id/id_item_box_main_img"
android:ellipsize=
"end"
android:layout_marginBottom=
"7dp"
android:maxLines=
"2"
android:text=
"商品名称商品名称品名称商品名称商品名称品名称商"
android:textColor=
"@color/color_333333"
...
...
@@ -47,18 +47,18 @@
<LinearLayout
android:id=
"@+id/id_ll_youhui_view"
android:layout_width=
"
110dp
"
android:layout_width=
"
match_parent
"
android:layout_height=
"20dp"
android:layout_marginBottom=
"10dp"
android:layout_below=
"@id/id_tv_box_name"
android:layout_marginBottom=
"10dp"
android:layout_toEndOf=
"@id/id_item_box_main_img"
android:background=
"@drawable/icon_box_youhui_tips"
android:gravity=
"center_vertical"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"21dp"
android:layout_height=
"20dp"
android:layout_width=
"20dp"
android:layout_height=
"match_parent"
android:background=
"@drawable/shape_4b5055_label"
android:gravity=
"center"
android:text=
"减"
android:textColor=
"#FFECD3"
...
...
@@ -66,9 +66,12 @@
<TextView
android:id=
"@+id/id_tv_box_discount_desc"
android:layout_width=
"match_parent"
android:layout_height=
"20dp"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:background=
"@drawable/shape_4b5055_r4_stroke"
android:gravity=
"center_vertical"
android:paddingLeft=
"2dp"
android:paddingRight=
"5dp"
android:text=
"已减10元"
android:textColor=
"@color/color_333333"
android:textSize=
"12sp"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment