0元购 子view
This commit is contained in:
parent
4c4500b895
commit
4feda5f879
|
|
@ -10,6 +10,7 @@ import androidx.core.view.updatePadding
|
||||||
import com.ama.core.architecture.appBase.AppViewsActivity
|
import com.ama.core.architecture.appBase.AppViewsActivity
|
||||||
import com.ama.core.architecture.util.setOnClickBatch
|
import com.ama.core.architecture.util.setOnClickBatch
|
||||||
import com.gamedog.vididin.R
|
import com.gamedog.vididin.R
|
||||||
|
import com.gamedog.vididin.core.login.login.AccountManager
|
||||||
import com.gamedog.vididin.main.interfaces.OnTabStyleListener
|
import com.gamedog.vididin.main.interfaces.OnTabStyleListener
|
||||||
import com.gamedog.vididin.router.Router
|
import com.gamedog.vididin.router.Router
|
||||||
import dagger.hilt.android.AndroidEntryPoint
|
import dagger.hilt.android.AndroidEntryPoint
|
||||||
|
|
@ -38,6 +39,7 @@ class ZeroBuyActivity : AppViewsActivity<ViewBinding, UiState, ViewModel>(), OnT
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tvZeroGoldNum.text = AccountManager.getGold().toString()
|
||||||
|
|
||||||
titlebar.setTitleText(R.string.zero_buy)
|
titlebar.setTitleText(R.string.zero_buy)
|
||||||
titlebar.addRightIcon(R.mipmap.icon_question_mark, {
|
titlebar.addRightIcon(R.mipmap.icon_question_mark, {
|
||||||
|
|
|
||||||
|
|
@ -92,8 +92,114 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
android:background="@mipmap/zero_bg_item">
|
android:background="@mipmap/zero_bg_item">
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4.5dp"
|
||||||
|
android:textColor="@color/red_1b"
|
||||||
|
android:textSize="15sp"
|
||||||
|
android:text="@string/zero_buy_title"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="7.5dp">
|
||||||
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:src="@mipmap/zero_bg_item_sub1"
|
||||||
|
/>
|
||||||
|
</FrameLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4.5dp"
|
||||||
|
android:textColor="@color/gray9"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:text="@string/sorte"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="0.5dp"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4.5dp"
|
||||||
|
android:textColor="@color/red_28"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:text="0"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4.5dp"
|
||||||
|
android:textColor="@color/gray3"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:text="/10"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="4.5dp"
|
||||||
|
android:textColor="@color/gray3"
|
||||||
|
android:layout_marginStart="5dp"
|
||||||
|
android:textSize="13sp"
|
||||||
|
android:text="@string/pessoas"
|
||||||
|
/>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<FrameLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="5dp">
|
||||||
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:src="@mipmap/zero_bg_but"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center"
|
||||||
|
android:layout_gravity="center_horizontal">
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:layout_marginStart="5dp"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:text="@string/participar"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:layout_marginStart="5dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:text="0"
|
||||||
|
android:drawableStart="@mipmap/icon_gold_ss"
|
||||||
|
android:drawablePadding="3dp"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</FrameLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
|
|
@ -92,5 +92,7 @@
|
||||||
<color name="green_2c">#FF02832C</color>
|
<color name="green_2c">#FF02832C</color>
|
||||||
<color name="blue_ba">#FF003DBA</color>
|
<color name="blue_ba">#FF003DBA</color>
|
||||||
<color name="blue_ff">#FF0054FF</color>
|
<color name="blue_ff">#FF0054FF</color>
|
||||||
|
<color name="red_1b">#FF92521B</color>
|
||||||
|
<color name="red_28">#FFFF2828</color>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
@ -107,5 +107,9 @@
|
||||||
<string name="has_claim_box_cash_hint">Has claimed %f cash successfully.</string>
|
<string name="has_claim_box_cash_hint">Has claimed %f cash successfully.</string>
|
||||||
|
|
||||||
<string name="cur_version">Current Version:</string>
|
<string name="cur_version">Current Version:</string>
|
||||||
|
<string name="zero_buy_title">Grupo de 10</string>
|
||||||
|
<string name="sorte">Sorteio instantâneo:</string>
|
||||||
|
<string name="pessoas">pessoas</string>
|
||||||
|
<string name="participar">Participar</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
Loading…
Reference in New Issue