新接入FaceUnity美颜SDK
This commit is contained in:
54
FaceUnity/src/main/res/layout/dialog_confirm.xml
Normal file
54
FaceUnity/src/main/res/layout/dialog_confirm.xml
Normal file
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="281dp"
|
||||
android:layout_height="147dp"
|
||||
android:background="@drawable/bg_confirm_dialog">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="39dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/dialog_confirm_delete"
|
||||
android:textColor="@color/btn_live_photo_text"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="265dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginTop="97dp"
|
||||
android:background="@color/divider_line_color"
|
||||
android:layout_centerHorizontal="true"/>
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="34dp"
|
||||
android:layout_marginBottom="7dp"
|
||||
android:background="@color/divider_line_color"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cancel"
|
||||
android:layout_width="140dp"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/cancel"
|
||||
android:textColor="@color/btn_live_photo_text"
|
||||
android:textSize="16sp"
|
||||
android:layout_alignParentBottom="true"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_confirm"
|
||||
android:layout_width="140dp"
|
||||
android:layout_height="48dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/confirm"
|
||||
android:textColor="@color/main_color"
|
||||
android:textSize="16sp"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true" />
|
||||
|
||||
</RelativeLayout>
|
||||
98
FaceUnity/src/main/res/layout/layout_body_beauty_control.xml
Normal file
98
FaceUnity/src/main/res/layout/layout_body_beauty_control.xml
Normal file
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/cyt_main"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/switch_compat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/x20"
|
||||
android:layout_marginBottom="@dimen/x20"
|
||||
android:checked="true"
|
||||
android:theme="@style/SwitchCompat"
|
||||
android:layout_marginStart="@dimen/x10" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x268"
|
||||
android:background="#BD050F14"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.yunbao.faceunity.seekbar.DiscreteSeekBar
|
||||
android:id="@+id/seek_bar"
|
||||
android:layout_width="@dimen/x528"
|
||||
android:layout_height="@dimen/x48"
|
||||
android:layout_marginTop="@dimen/x24"
|
||||
android:layout_marginBottom="@dimen/x16"
|
||||
app:dsb_indicatorColor="@color/main_color"
|
||||
app:dsb_indicatorElevation="0dp"
|
||||
app:dsb_indicatorPopupEnabled="true"
|
||||
app:dsb_max="100"
|
||||
app:dsb_min="0"
|
||||
app:dsb_progressColor="@color/main_color"
|
||||
app:dsb_rippleColor="@color/main_color"
|
||||
app:dsb_scrubberHeight="@dimen/x4"
|
||||
app:dsb_thumbSize="@dimen/x32"
|
||||
app:dsb_trackBaseHeight="@dimen/x16"
|
||||
app:dsb_trackColor="@color/colorWhite"
|
||||
app:dsb_trackHeight="@dimen/x4"
|
||||
app:dsb_value="0" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x180"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lyt_beauty_recover"
|
||||
android:layout_width="@dimen/x132"
|
||||
android:layout_height="@dimen/x180"
|
||||
android:layout_gravity="bottom"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_beauty_recover"
|
||||
android:layout_width="@dimen/x88"
|
||||
android:layout_height="@dimen/x88"
|
||||
android:layout_marginBottom="@dimen/x18"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/icon_control_recover" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_beauty_recover"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/x30"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/recover"
|
||||
android:textColor="@color/tv_main_color_selector"
|
||||
android:textSize="@dimen/text_size_20" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/iv_line"
|
||||
android:layout_width="@dimen/x1"
|
||||
android:layout_height="@dimen/x40"
|
||||
android:layout_marginTop="@dimen/x40"
|
||||
android:background="@color/divider_line_color" />
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x180" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
7
FaceUnity/src/main/res/layout/layout_effect_control.xml
Normal file
7
FaceUnity/src/main/res/layout/layout_effect_control.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.recyclerview.widget.RecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x172"
|
||||
android:background="@color/primary_list"
|
||||
android:padding="@dimen/x16" />
|
||||
146
FaceUnity/src/main/res/layout/layout_face_beauty_control.xml
Normal file
146
FaceUnity/src/main/res/layout/layout_face_beauty_control.xml
Normal file
@@ -0,0 +1,146 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="bottom"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<androidx.appcompat.widget.SwitchCompat
|
||||
android:id="@+id/switch_compat"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/x20"
|
||||
android:layout_marginBottom="@dimen/x20"
|
||||
android:checked="true"
|
||||
android:theme="@style/SwitchCompat"
|
||||
android:layout_marginLeft="@dimen/x10" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/fyt_bottom_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:background="@color/primary_list"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.yunbao.faceunity.seekbar.DiscreteSeekBar
|
||||
android:id="@+id/seek_bar"
|
||||
android:layout_width="@dimen/x528"
|
||||
android:layout_height="@dimen/x48"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/x24"
|
||||
android:layout_marginBottom="@dimen/x15"
|
||||
app:dsb_indicatorColor="@color/main_color"
|
||||
app:dsb_indicatorElevation="0dp"
|
||||
app:dsb_indicatorPopupEnabled="true"
|
||||
app:dsb_max="100"
|
||||
app:dsb_min="0"
|
||||
app:dsb_progressColor="@color/main_color"
|
||||
app:dsb_rippleColor="@color/main_color"
|
||||
app:dsb_scrubberHeight="@dimen/x4"
|
||||
app:dsb_thumbSize="@dimen/x32"
|
||||
app:dsb_trackBaseHeight="@dimen/x16"
|
||||
app:dsb_trackColor="@color/colorWhite"
|
||||
app:dsb_trackHeight="@dimen/x4"
|
||||
app:dsb_value="0" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x180"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lyt_beauty_recover"
|
||||
android:layout_width="@dimen/x132"
|
||||
android:layout_height="@dimen/x180"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_beauty_recover"
|
||||
android:layout_width="@dimen/x88"
|
||||
android:layout_height="@dimen/x88"
|
||||
android:layout_marginBottom="@dimen/x18"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@mipmap/icon_control_recover" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_beauty_recover"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginBottom="@dimen/x30"
|
||||
android:text="@string/recover"
|
||||
android:textColor="@color/tv_main_color_selector"
|
||||
android:textSize="@dimen/text_size_20" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<View
|
||||
android:id="@+id/iv_line"
|
||||
android:layout_width="@dimen/x1"
|
||||
android:layout_height="@dimen/x40"
|
||||
android:layout_marginTop="@dimen/x24"
|
||||
android:background="@color/divider_line_color" />
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x180"
|
||||
android:layout_gravity="bottom" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x1"
|
||||
android:background="@color/divider_line_color" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckGroup
|
||||
android:id="@+id/beauty_radio_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x98"
|
||||
android:background="@color/primary_list"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckBoxCompat
|
||||
android:id="@+id/beauty_radio_skin_beauty"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="@string/beauty_radio_skin_beauty"
|
||||
android:textColor="@color/bottom_radio_color"
|
||||
android:textSize="@dimen/text_size_26"/>
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckBoxCompat
|
||||
android:id="@+id/beauty_radio_face_shape"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="@string/beauty_radio_face_shape"
|
||||
android:textColor="@color/bottom_radio_color"
|
||||
android:textSize="@dimen/text_size_26"/>
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckBoxCompat
|
||||
android:id="@+id/beauty_radio_filter"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="@string/beauty_radio_filter"
|
||||
android:textColor="@color/bottom_radio_color"
|
||||
android:textSize="@dimen/text_size_26" />
|
||||
</com.yunbao.faceunity.checkbox.CheckGroup>
|
||||
</LinearLayout>
|
||||
109
FaceUnity/src/main/res/layout/layout_faceunity.xml
Normal file
109
FaceUnity/src/main/res/layout/layout_faceunity.xml
Normal file
@@ -0,0 +1,109 @@
|
||||
<?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:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
|
||||
<com.yunbao.faceunity.control.BodyBeautyControlView
|
||||
android:id="@+id/control_body"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:visibility="gone" />
|
||||
|
||||
<com.yunbao.faceunity.control.FaceBeautyControlView
|
||||
android:id="@+id/control_beauty"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom" />
|
||||
|
||||
<com.yunbao.faceunity.control.MakeupControlView
|
||||
android:id="@+id/control_makeup"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:visibility="gone" />
|
||||
|
||||
<com.yunbao.faceunity.control.PropControlView
|
||||
android:id="@+id/control_prop"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/line"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x1"
|
||||
android:background="@color/primary_list"
|
||||
android:src="@color/divider_line_color" />
|
||||
</LinearLayout>
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckGroup
|
||||
android:id="@+id/group_function"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x98"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@color/primary_list"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckBoxCompat
|
||||
android:id="@+id/radio_beauty"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="@string/home_function_name_beauty"
|
||||
android:textColor="@color/bottom_radio_color"
|
||||
android:textSize="@dimen/text_size_26" />
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckBoxCompat
|
||||
android:id="@+id/radio_sticker"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="@string/home_function_name_sticker"
|
||||
android:textColor="@color/bottom_radio_color"
|
||||
android:textSize="@dimen/text_size_26" />
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckBoxCompat
|
||||
android:id="@+id/radio_makeup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="@string/home_function_name_makeup"
|
||||
android:textColor="@color/bottom_radio_color"
|
||||
android:textSize="@dimen/text_size_26" />
|
||||
|
||||
<com.yunbao.faceunity.checkbox.CheckBoxCompat
|
||||
android:id="@+id/radio_body"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:button="@null"
|
||||
android:gravity="center"
|
||||
android:text="@string/home_function_name_beauty_body"
|
||||
android:textColor="@color/bottom_radio_color"
|
||||
android:textSize="@dimen/text_size_26" />
|
||||
|
||||
</com.yunbao.faceunity.checkbox.CheckGroup>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
36
FaceUnity/src/main/res/layout/layout_make_up_control.xml
Normal file
36
FaceUnity/src/main/res/layout/layout_make_up_control.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x290"
|
||||
android:background="@color/primary_list"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.yunbao.faceunity.seekbar.DiscreteSeekBar
|
||||
android:id="@+id/seek_bar"
|
||||
android:layout_width="@dimen/x528"
|
||||
android:layout_height="@dimen/x48"
|
||||
android:layout_marginTop="@dimen/x24"
|
||||
android:layout_marginBottom="@dimen/x38"
|
||||
android:visibility="invisible"
|
||||
app:dsb_indicatorColor="@color/main_color"
|
||||
app:dsb_indicatorElevation="0dp"
|
||||
app:dsb_indicatorPopupEnabled="true"
|
||||
app:dsb_max="100"
|
||||
app:dsb_min="0"
|
||||
app:dsb_progressColor="@color/main_color"
|
||||
app:dsb_rippleColor="@color/main_color"
|
||||
app:dsb_scrubberHeight="@dimen/x4"
|
||||
app:dsb_thumbSize="@dimen/x32"
|
||||
app:dsb_trackBaseHeight="@dimen/x16"
|
||||
app:dsb_trackColor="@color/colorWhite"
|
||||
app:dsb_trackHeight="@dimen/x4"
|
||||
app:dsb_value="0" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/recycler_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/x180" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/x140"
|
||||
android:layout_height="@dimen/x140"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/x10">
|
||||
|
||||
<com.yunbao.faceunity.widget.CircleImageView
|
||||
android:id="@+id/iv_control"
|
||||
android:layout_width="@dimen/x120"
|
||||
android:layout_height="@dimen/x120"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/bg_control_oval_selector"
|
||||
android:padding="@dimen/x6" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/x138"
|
||||
android:layout_height="@dimen/x116">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_control"
|
||||
android:layout_width="@dimen/x116"
|
||||
android:layout_height="@dimen/x116"
|
||||
android:background="@drawable/bg_control_square_selector"
|
||||
android:padding="@dimen/x4"
|
||||
android:scaleType="centerInside" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/x132"
|
||||
android:layout_height="@dimen/x180"
|
||||
android:gravity="center_horizontal|bottom"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_control"
|
||||
android:layout_width="@dimen/x88"
|
||||
android:layout_height="@dimen/x88"
|
||||
android:layout_marginBottom="@dimen/x18"
|
||||
android:scaleType="centerInside" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_control"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center_vertical"
|
||||
android:layout_marginBottom="@dimen/x30"
|
||||
android:text="@string/recover"
|
||||
android:textColor="@color/tv_main_color_selector"
|
||||
android:textSize="@dimen/text_size_20" />
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="@dimen/x138"
|
||||
android:orientation="vertical"
|
||||
android:gravity="center_horizontal"
|
||||
android:layout_height="@dimen/x180">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_control"
|
||||
android:layout_width="@dimen/x108"
|
||||
android:layout_height="@dimen/x108"
|
||||
android:layout_marginBottom="@dimen/x16"
|
||||
android:background="@drawable/bg_control_square_selector"
|
||||
android:padding="@dimen/x4"
|
||||
android:scaleType="centerInside" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_control"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/x40"
|
||||
android:layout_marginBottom="@dimen/x16"
|
||||
android:textColor="@color/tv_main_color_selector"
|
||||
android:textSize="@dimen/text_size_20" />
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user