Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
a68ff44b
Commit
a68ff44b
authored
Jan 20, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微调
parent
9c78cec2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/CardDetail.java
...rc/main/java/cn/garymb/ygomobile/ui/cards/CardDetail.java
+2
-2
mobile/src/main/res/layout/dialog_photo.xml
mobile/src/main/res/layout/dialog_photo.xml
+3
-3
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/CardDetail.java
View file @
a68ff44b
...
@@ -90,13 +90,13 @@ public class CardDetail extends BaseAdapterPlus.BaseViewHolder {
...
@@ -90,13 +90,13 @@ public class CardDetail extends BaseAdapterPlus.BaseViewHolder {
imageLoader
.
bindImage
(
cardImage
,
msg
.
arg1
,
null
,
true
);
imageLoader
.
bindImage
(
cardImage
,
msg
.
arg1
,
null
,
true
);
break
;
break
;
case
TYPE_DOWNLOAD_CARD_IMAGE_ING:
case
TYPE_DOWNLOAD_CARD_IMAGE_ING:
tv_loading
.
setText
(
"下载高清卡图中 "
+
msg
.
arg1
+
"%"
);
tv_loading
.
setText
(
msg
.
arg1
+
"%"
);
pb_loading
.
setProgress
(
msg
.
arg1
);
pb_loading
.
setProgress
(
msg
.
arg1
);
break
;
break
;
case
TYPE_DOWNLOAD_CARD_IMAGE_EXCEPTION:
case
TYPE_DOWNLOAD_CARD_IMAGE_EXCEPTION:
ll_bar
.
startAnimation
(
AnimationUtils
.
loadAnimation
(
context
,
R
.
anim
.
out_from_bottom
));
ll_bar
.
startAnimation
(
AnimationUtils
.
loadAnimation
(
context
,
R
.
anim
.
out_from_bottom
));
ll_bar
.
setVisibility
(
View
.
GONE
);
ll_bar
.
setVisibility
(
View
.
GONE
);
YGOUtil
.
show
(
"
下载失败,原因为
"
+
msg
.
obj
);
YGOUtil
.
show
(
"
error
"
+
msg
.
obj
);
break
;
break
;
}
}
...
...
mobile/src/main/res/layout/dialog_photo.xml
View file @
a68ff44b
...
@@ -14,19 +14,19 @@
...
@@ -14,19 +14,19 @@
<LinearLayout
<LinearLayout
android:visibility=
"gone"
android:visibility=
"gone"
android:id=
"@+id/ll_bar"
android:id=
"@+id/ll_bar"
android:background=
"@
color/gray
"
android:background=
"@
drawable/radius
"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
>
<androidx.appcompat.widget.AppCompatTextView
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_name"
android:id=
"@+id/tv_name"
android:textColor=
"@color/
black
"
android:textColor=
"@color/
white
"
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_marginBottom=
"5dp"
android:layout_marginBottom=
"5dp"
android:gravity=
"center"
android:gravity=
"center"
android:textStyle=
"bold"
android:textStyle=
"bold"
android:text=
"
下载高清卡图中
"
android:text=
"
@string/Download
"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
android:layout_height=
"wrap_content"
/>
...
...
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