Commit a68ff44b authored by fallenstardust's avatar fallenstardust

微调

parent 9c78cec2
...@@ -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;
} }
......
...@@ -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" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment