Commit bd331b54 authored by xw's avatar xw

[提交人]:王雪伟

[提交简述] :多多花园1.0.2
[实现方案] :多多花园 种子不足弹窗按钮加入点击反馈,弹窗文案加入间隔
parent 8b682ad7
......@@ -625,7 +625,7 @@ object MainDialog {
AdUtils.showFeedAd(activity, "cloud_speed_bigimage", layoutAd)
mDialogView.findViewById<TextView>(R.id.id_tv_speed_time)?.text = "所有土地获得${speedtime}分钟加速"
mDialogView.findViewById<TextView>(R.id.id_cloud_speed_num)?.text =
"每天晚上0点重置视频次数(剩余${speedtimes}次)"
"每天晚上0点重置视频次数 (剩余${speedtimes}次)"
mDialogView.findViewById<ImageView>(R.id.id_img_close_cloud_speed).setOnClickListener {
mDialog.dismiss()
}
......@@ -713,7 +713,7 @@ object MainDialog {
AdUtils.showFeedAd(activity, "seed_not_enough_bigimage", layoutAd)
mDialogView.findViewById<TextView>(R.id.id_tv_seed_price)?.text = "$seedPrice"
mDialogView.findViewById<TextView>(R.id.id_tv_seed_video_num)?.text =
"每天晚上0点重置视频次数(剩余${seedVideo}次)"
"每天晚上0点重置视频次数 (剩余${seedVideo}次)"
var seedImg = mDialogView.findViewById<ImageView>(R.id.id_seed_not_enough_img);
if (id != null) {
setImage(seedImg, id)
......
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/seed_bug_seed_btn" android:state_pressed="false"/>
<item android:drawable="@drawable/seed_buy_press" android:state_pressed="true"/>
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/seed_ad_receive_seed" android:state_pressed="false"/>
<item android:drawable="@drawable/seed_receive_press" android:state_pressed="true"/>
</selector>
\ No newline at end of file
......@@ -14,9 +14,11 @@
<ImageView
android:layout_width="match_parent"
android:id="@+id/id_seed_bg_img"
android:layout_width="wrap_content"
android:layout_height="370dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:scaleType="fitXY"
android:src="@mipmap/seed_bg" />
......@@ -25,18 +27,18 @@
android:id="@+id/id_img_close_seed_dialog"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignRight="@id/id_seed_bg_img"
android:layout_marginTop="75dp"
android:src="@mipmap/icon_new_close" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="420dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginLeft="@dimen/dp_15"
android:layout_marginRight="@dimen/dp_15"
android:layout_marginBottom="20dp"
android:layout_marginLeft="@dimen/dp_15"
android:background="@mipmap/seed_bg2">
<ImageView
......@@ -51,15 +53,15 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/dp_115"
android:layout_marginTop="125dp"
android:gravity="center">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:scaleX="0.8"
android:scaleY="0.8"
android:scaleX="1"
android:scaleY="1"
android:src="@drawable/icon_light"
android:visibility="visible" />
......@@ -68,6 +70,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:scaleX="1.5"
android:scaleY="1.5"
android:src="@mipmap/icon_zhongzi_one"
android:visibility="visible" />
</RelativeLayout>
......@@ -85,7 +89,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:src="@drawable/seed_bug_seed_btn" />
android:src="@drawable/select_seed_buy" />
<TextView
android:id="@+id/id_tv_seed_price"
......@@ -107,7 +111,7 @@
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/dp_40"
android:src="@drawable/seed_ad_receive_seed" />
android:src="@drawable/select_seed_receive" />
<TextView
android:id="@+id/id_tv_seed_video_num"
......
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