添加特效开关
This commit is contained in:
41
common/src/main/res/layout/view_effects_settings.xml
Normal file
41
common/src/main/res/layout/view_effects_settings.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?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:background="@drawable/bg_live_tota"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="14dp"
|
||||
android:text="@string/effects_settings"
|
||||
android:textColor="#FFF6F7FB"
|
||||
android:textSize="17sp" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:layout_marginBottom="21dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="@string/shield_gift_effect"
|
||||
android:textColor="#FF9A9A9A"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/special_switch"
|
||||
android:layout_width="40.8dp"
|
||||
android:layout_height="24.8dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:src="@mipmap/special_icon_off" />
|
||||
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
@@ -186,6 +186,7 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/effects_settings_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="23dp"
|
||||
|
||||
BIN
common/src/main/res/mipmap-xxhdpi/special_icon_off.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/special_icon_off.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.0 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/special_icon_on.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/special_icon_on.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
@@ -878,4 +878,5 @@
|
||||
<string name="activity_center">活動中心</string>
|
||||
<string name="basic_tools">基础工具</string>
|
||||
<string name="effects_settings">特效設置</string>
|
||||
<string name="shield_gift_effect">屏蔽礼物特效</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user