侧边栏:充值送好礼
This commit is contained in:
27
common/src/main/res/drawable/bg_drawer_popup.xml
Normal file
27
common/src/main/res/drawable/bg_drawer_popup.xml
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- <item android:state_enabled="true">-->
|
||||
<!-- <shape>-->
|
||||
<!-- <corners android:radius="7dp"/>-->
|
||||
<!-- <solid android:color="#20ffffff"/>-->
|
||||
<!-- </shape>-->
|
||||
<!-- </item>-->
|
||||
<!-- <item android:state_enabled="false">-->
|
||||
<!-- <shape>-->
|
||||
<!-- <corners android:radius="7dp"/>-->
|
||||
<!-- <solid android:color="#20000000"/>-->
|
||||
<!-- </shape>-->
|
||||
<!-- </item>-->
|
||||
<item android:state_enabled="true">
|
||||
<shape>
|
||||
<corners android:radius="7dp" />
|
||||
<solid android:color="#7000" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_enabled="false">
|
||||
<shape>
|
||||
<corners android:radius="7dp" />
|
||||
<solid android:color="#7000" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -11,8 +11,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="48dp"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/white" />
|
||||
android:layout_weight="1" />
|
||||
|
||||
|
||||
<HorizontalScrollView
|
||||
|
||||
40
common/src/main/res/layout/view_drawer_recommend_child.xml
Normal file
40
common/src/main/res/layout/view_drawer_recommend_child.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="64dp"
|
||||
android:layout_marginStart="6dp"
|
||||
android:background="@drawable/bg_drawer_popup">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="6dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@mipmap/icon_start_number" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="6dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_toEndOf="@+id/icon"
|
||||
android:text="首充特惠大禮包"
|
||||
android:textColor="#F6F7FB"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/subtitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/title"
|
||||
android:layout_marginStart="6dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_toEndOf="@+id/icon"
|
||||
android:text="首充特惠大禮包"
|
||||
android:textColor="#9A9A9A"
|
||||
android:textSize="10sp" />
|
||||
|
||||
</RelativeLayout>
|
||||
6
common/src/main/res/layout/view_fun_games_view.xml
Normal file
6
common/src/main/res/layout/view_fun_games_view.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
48
common/src/main/res/layout/view_good_gifts.xml
Normal file
48
common/src/main/res/layout/view_good_gifts.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:background="@drawable/bg_drawer_popup"
|
||||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/send_good_gift"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="充值送好禮"
|
||||
android:textColor="#F6F7FB"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/subtitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:drawableEnd="@mipmap/icon_more_01"
|
||||
android:drawablePadding="3dp"
|
||||
android:text="去充值"
|
||||
android:textColor="#FBFF72"
|
||||
android:textSize="12sp" />
|
||||
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/child_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:paddingStart="4dp"
|
||||
android:paddingEnd="10dp" />
|
||||
</LinearLayout>
|
||||
6
common/src/main/res/layout/view_recommend.xml
Normal file
6
common/src/main/res/layout/view_recommend.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
6
common/src/main/res/layout/view_rights_interests.xml
Normal file
6
common/src/main/res/layout/view_rights_interests.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
6
common/src/main/res/layout/view_tsak_center.xml
Normal file
6
common/src/main/res/layout/view_tsak_center.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
BIN
common/src/main/res/mipmap-xxhdpi/icon_more_01.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/icon_more_01.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 496 B |
Reference in New Issue
Block a user