新贵族喇叭

This commit is contained in:
18401019693
2022-08-01 17:28:21 +08:00
parent 5a5528594d
commit 84c8ecde30
33 changed files with 682 additions and 94 deletions

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="false">
<shape android:shape="rectangle">
<corners android:radius="14dp" />
<solid android:color="#FFF4F8FB" />
<padding android:bottom="7dp" android:left="9dp" android:right="9dp" android:top="7dp" />
</shape>
</item>
<item android:state_checked="true">
<shape android:shape="rectangle">
<corners android:radius="14dp" />
<solid android:color="#FFFFBE41" />
<padding android:bottom="7dp" android:left="9dp" android:right="9dp" android:top="7dp" />
</shape>
</item>
</selector>

View File

@@ -8,20 +8,74 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp">
<RadioGroup
android:id="@+id/radio_horn_type"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal">
<RadioButton
android:id="@+id/btn_0"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginStart="9dp"
android:layout_weight="1"
android:background="@drawable/radio_horn_type"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="@string/normal_barrage"
android:textColor="@color/white"
android:drawableLeft="@mipmap/icon_general_message_p"
android:textSize="12sp" />
<RadioButton
android:id="@+id/btn_1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginStart="9dp"
android:layout_weight="1"
android:background="@drawable/radio_horn_type"
android:button="@null"
android:gravity="center"
android:drawableLeft="@mipmap/icon_popup_screen"
android:text="@string/floating_screen"
android:textColor="#FFB1B6C7"
android:textSize="12sp" />
<RadioButton
android:id="@+id/btn_2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginStart="9dp"
android:layout_weight="1"
android:background="@drawable/radio_horn_type"
android:button="@null"
android:gravity="center"
android:drawableStart="@mipmap/icon_world_horn"
android:text="@string/whole_station_horn"
android:textColor="#FFB1B6C7"
android:textSize="12sp" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
</RadioGroup>
</LinearLayout>
<CheckBox
android:id="@+id/danmu"
android:layout_width="52dp"
android:layout_height="match_parent"
android:layout_marginLeft="8dp"
android:layout_marginRight="3dp"
android:visibility="gone"
android:background="@drawable/bg_input_danmu_switch"
android:button="@null" />
<CheckBox
android:id="@+id/danmu"
android:layout_width="52dp"
android:layout_height="match_parent"
android:layout_marginLeft="8dp"
android:layout_marginRight="3dp"
android:background="@drawable/bg_input_danmu_switch"
android:button="@null"
android:visibility="gone" />
<LinearLayout
android:layout_width="match_parent"

View File

@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="350dp"
android:layout_height="370dp"
android:background="@mipmap/viptip_box"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="174dp"
android:text="@string/site_wide_news"
android:textColor="#FF313131"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="14dp"
android:text="@string/site_wide_news_hint1"
android:textColor="#FFAAAAAA"
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="12dp"
android:text="@string/site_wide_news_hint2"
android:textColor="#FFAAAAAA"
android:textSize="14sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="22dp"
android:layout_marginEnd="16dp"
android:gravity="center_horizontal">
<TextView
android:id="@+id/back_bt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_btn_common_shape"
android:paddingStart="48dp"
android:paddingTop="15dp"
android:paddingEnd="48dp"
android:paddingBottom="15dp"
android:text="@string/back"
android:textColor="@color/white"
android:textSize="16sp" />
<TextView
android:id="@+id/go_nobility"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:background="@drawable/bg_btn_common"
android:enabled="true"
android:paddingStart="48dp"
android:paddingTop="15dp"
android:paddingEnd="48dp"
android:paddingBottom="15dp"
android:text="@string/go_nobility"
android:textColor="@color/white"
android:textSize="16sp" />
</LinearLayout>
</LinearLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 KiB