Commit ce6f91ff authored by fallenstardust's avatar fallenstardust

搜索结果补上属性种族

停用复制原目录卡图
声明更改
parent fbecafd6
......@@ -11,7 +11,7 @@
<h3 style="color:#ffffff">敬告</h3>
<pre>
本软件基于圆神开发组的电脑版源码,采用OpenGL适配安卓+安卓客户端ui开发而成。
注意:本软件其使用代码以及图片音响素材仅供个人学习交流之用,请勿用于商业用途。
注意:本软件使用图片音响素材仅供个人学习交流之用,本身不用于商业用途。
如果您是通过付费购买或者付费获得下载渠道而获得本软件的话,您已经上当受骗。本软件——免费!
特别感谢: 菜菜,尸体,废话多,大毛,龙道香姐,晓L,幻兽L 的支持与努力.
</pre>
......
......@@ -107,7 +107,7 @@
!system 524 请选择里侧攻击表示的怪兽
!system 525 请选择里侧守备表示的怪兽
!system 526 请选择给对方确认的卡
!system 527 请选择要盖放到场上的卡
!system 527 请选择要放置到场上的卡
!system 528 请选择要改变表示形式的怪兽
!system 529 请选择自己的卡
!system 530 请选择对方的卡
......
......@@ -14,7 +14,6 @@ import cn.garymb.ygomobile.bean.events.CardInfoEvent;
import cn.garymb.ygomobile.lite.R;
import cn.garymb.ygomobile.loader.ImageLoader;
import cn.garymb.ygomobile.ui.activities.BaseActivity;
import cn.garymb.ygomobile.ui.cards.CardDetail;
import cn.garymb.ygomobile.ui.cards.CardListProvider;
import cn.garymb.ygomobile.ui.cards.deck.ImageTop;
import cn.garymb.ygomobile.utils.CardUtils;
......@@ -116,6 +115,8 @@ public class CardListAdapter extends BaseRecyclerAdapterPlus<Card, ViewHolder> i
star += "★";
}*/
holder.cardLevel.setText(star);
holder.cardattr.setText(mStringManager.getAttributeString(item.Attribute));
holder.cardrace.setText(mStringManager.getRaceString(item.Race));
if (item.isType(CardType.Xyz)) {
holder.cardLevel.setTextColor(getColor(R.color.star_rank));
} else {
......@@ -140,6 +141,8 @@ public class CardListAdapter extends BaseRecyclerAdapterPlus<Card, ViewHolder> i
// holder.view_bar.setVisibility(View.INVISIBLE);
// }
holder.cardLevel.setVisibility(View.INVISIBLE);
holder.cardattr.setVisibility(View.INVISIBLE);
holder.cardrace.setVisibility(View.INVISIBLE);
holder.linkArrow.setVisibility(View.GONE);
holder.layout_atk.setVisibility(View.GONE);
holder.layout_def.setVisibility(View.GONE);
......@@ -211,6 +214,8 @@ class ViewHolder extends BaseRecyclerAdapterPlus.BaseViewHolder {
ImageView cardImage;
TextView cardName;
TextView cardLevel;
TextView cardattr;
TextView cardrace;
TextView cardType;
TextView cardAtk;
TextView cardDef;
......@@ -235,6 +240,8 @@ class ViewHolder extends BaseRecyclerAdapterPlus.BaseViewHolder {
cardAtk = $(R.id.card_atk);
cardDef = $(R.id.card_def);
cardLevel = $(R.id.card_level);
cardattr = $(R.id.card_attr);
cardrace = $(R.id.card_race);
layout_atk = $(R.id.layout_atk);
layout_def = $(R.id.layout_def);
view_bar = $(R.id.view_bar);
......
......@@ -270,7 +270,7 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
FileUtils.copyDir(ORI_DECK, mSettings.getDeckDir(), false);
FileUtils.copyDir(ORI_REPLAY, resPath + "/" + Constants.CORE_REPLAY_PATH, false);
FileUtils.copyDir(ORI_TEXTURES, mSettings.getCoreSkinPath(), true);
FileUtils.copyDir(ORI_PICS, mSettings.getCardImagePath(), false);
//FileUtils.copyDir(ORI_PICS, mSettings.getCardImagePath(), false);
han.sendEmptyMessage(0);
......
......@@ -91,7 +91,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:orientation="horizontal">
<include
android:id="@+id/search_link_arrows"
......@@ -100,7 +101,7 @@
<TextView
android:id="@+id/card_level"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:shadowColor="@color/black"
......@@ -111,6 +112,48 @@
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColor="@color/star"
tools:text="★4" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="/"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColor="@android:color/holo_green_light" />
<TextView
android:id="@+id/card_attr"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:shadowColor="@color/black"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="2"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColor="@color/gray"
tools:text="Dark" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="/"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColor="@android:color/holo_green_light" />
<TextView
android:id="@+id/card_race"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:shadowColor="@color/black"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="2"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColor="@color/gray"
tools:text="SpellCaster" />
</LinearLayout>
<LinearLayout
......
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