This commit is contained in:
18142669586
2024-02-23 16:07:50 +08:00
commit a02f7b2e22
5737 changed files with 438436 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/global" android:state_checked="true"/>
<item android:color="#fff" android:state_checked="false"/>
</selector>

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="true">
<layer-list>
<item
android:bottom="5dp"
android:top="33dp"
android:left="20dp"
android:right="20dp"
>
<shape>
<solid android:color="@color/global"/>
</shape>
</item>
</layer-list>
</item>
</selector>

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true">
<shape>
<corners android:radius="4dp"/>
<stroke android:color="@color/global" android:width="1dp"/>
</shape>
</item>
<item android:state_checked="false">
<shape/>
</item>
</selector>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<stroke android:color="@color/global" android:width="1dp"/>
</shape>

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="55dp"
android:layout_height="80dp"
>
<ImageView
android:id="@+id/img"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
/>
<ImageView
android:id="@+id/check_img"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@mipmap/icon_filter_selected"
android:visibility="invisible"
/>
</RelativeLayout>

View File

@@ -0,0 +1,50 @@
<?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="wrap_content"
android:padding="1dp"
>
<com.yunbao.beauty.custom.SquareImageView2
android:id="@+id/img"
android:layout_width="match_parent"
android:layout_height="0dp"
android:padding="5dp"
android:scaleType="fitCenter"
/>
<ImageView
android:id="@+id/download"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_alignBottom="@id/img"
android:layout_alignParentRight="true"
android:src="@mipmap/icon_tiezhi_download"
android:visibility="invisible"
/>
<RelativeLayout
android:id="@+id/loading"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_alignBottom="@id/img"
android:layout_alignTop="@id/img"
android:background="#80000000"
android:visibility="invisible"
>
<ProgressBar
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerInParent="true"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="8dp"
android:layout_marginTop="14dp"
android:indeterminateBehavior="repeat"
android:indeterminateDrawable="@drawable/anim_loading"
android:indeterminateOnly="true"
/>
</RelativeLayout>
</RelativeLayout>

View File

@@ -0,0 +1,398 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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="match_parent"
>
<RadioGroup
android:id="@+id/bottom"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_alignParentBottom="true"
android:background="@color/bg_black"
android:orientation="horizontal"
>
<RadioButton
android:id="@+id/btn_beauty"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="@string/beauty"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:id="@+id/btn_beauty_shape"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/beauty_shape"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:id="@+id/btn_meng"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/meng"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:id="@+id/btn_filter"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/filter"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:id="@+id/btn_rock"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/shake"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:id="@+id/btn_haha"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/haha"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
</RadioGroup>
<View
android:id="@+id/btn_hide"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/bottom"/>
<LinearLayout
android:id="@+id/group_beauty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="visible"
>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_baixi"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_meibai"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_skin_strength"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_mopi"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_hongrun"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_baohe"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_fengnen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:progressVal="0"
app:text2="@string/beauty_fengnen"
/>
</LinearLayout>
<LinearLayout
android:id="@+id/group_beauty_shape"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="invisible"
>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_big_eye"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_big_eye"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_face"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_face"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_face_strength"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/face_narrowing"
/>
</LinearLayout>
<LinearLayout
android:id="@+id/group_meng"
android:layout_width="match_parent"
android:layout_height="180dp"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="invisible"
>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/tiezhi_recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
<FrameLayout
android:id="@+id/group_filter"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="invisible"
>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/filter_recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</FrameLayout>
<FrameLayout
android:id="@+id/group_rock"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:visibility="invisible"
>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rock_recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
<RadioGroup
android:id="@+id/group_haha"
android:layout_width="match_parent"
android:layout_height="90dp"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="horizontal"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:visibility="invisible"
>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_0"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:checked="true"
android:paddingTop="20dp"
app:mr_top_drawable1="@mipmap/icon_none"
app:mr_top_drawableSize1="40dp"
/>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_1"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:drawablePadding="8dp"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:text="@string/haha_1"
android:textColor="#fff"
android:textSize="14sp"
app:mr_top_drawable1="@mipmap/icon_record_haha_1"
app:mr_top_drawableSize1="40dp"
/>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_2"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:drawablePadding="8dp"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:text="@string/haha_2"
android:textColor="#fff"
android:textSize="14sp"
app:mr_top_drawable1="@mipmap/icon_record_haha_2"
app:mr_top_drawableSize1="40dp"
/>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_3"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:drawablePadding="8dp"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:text="@string/haha_3"
android:textColor="#fff"
android:textSize="14sp"
app:mr_top_drawable1="@mipmap/icon_record_haha_3"
app:mr_top_drawableSize1="40dp"
/>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_4"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:drawablePadding="8dp"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:text="@string/haha_4"
android:textColor="#fff"
android:textSize="14sp"
app:mr_top_drawable1="@mipmap/icon_record_haha_4"
app:mr_top_drawableSize1="40dp"
/>
</RadioGroup>
</RelativeLayout>

View File

@@ -0,0 +1,413 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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="match_parent"
>
<RadioGroup
android:id="@+id/bottom"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_alignParentBottom="true"
android:background="@color/bg_black"
android:orientation="horizontal"
>
<RadioButton
android:id="@+id/btn_beauty"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="@string/beauty"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:id="@+id/btn_beauty_shape"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/beauty_shape"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:id="@+id/btn_meng"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/tiezhi"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:id="@+id/btn_filter"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/filter"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:visibility="gone"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:visibility="gone"
android:id="@+id/btn_rock"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/shake"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<View
android:visibility="gone"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<RadioButton
android:visibility="gone"
android:id="@+id/btn_haha"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/haha"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
</RadioGroup>
<View
android:id="@+id/btn_hide"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/bottom"/>
<LinearLayout
android:id="@+id/group_beauty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingTop="15dp"
>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_baixi"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_meibai2"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_hongrun"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_hongrun"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_fengnen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:progressVal="0"
app:text2="@string/beauty_fengnen"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_skin_strength"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_strength"
/>
</LinearLayout>
<LinearLayout
android:id="@+id/group_beauty_shape"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="gone"
>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_big_eye"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_big_eye"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_face"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_face"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_face_strength"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
android:visibility="gone"
app:text2="@string/beauty_face_strength"
/>
</LinearLayout>
<LinearLayout
android:id="@+id/group_meng"
android:layout_width="match_parent"
android:layout_height="180dp"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="gone"
>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/tiezhi_recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:id="@+id/group_filter"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="gone"
>
<com.yunbao.beauty.custom.TextSeekBar
android:paddingTop="10dp"
android:paddingBottom="20dp"
android:id="@+id/seek_filter_strength"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:progressVal="0"
app:text2="@string/beauty_face_strength"
/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/filter_recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
<FrameLayout
android:id="@+id/group_rock"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:visibility="gone"
>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rock_recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
<RadioGroup
android:id="@+id/group_haha"
android:layout_width="match_parent"
android:layout_height="90dp"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="horizontal"
android:paddingBottom="5dp"
android:paddingTop="5dp"
android:visibility="gone"
>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_0"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:checked="true"
android:paddingTop="20dp"
app:mr_top_drawable1="@mipmap/icon_none"
app:mr_top_drawableSize1="40dp"
/>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_1"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:drawablePadding="8dp"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:text="@string/haha_1"
android:textColor="#fff"
android:textSize="14sp"
app:mr_top_drawable1="@mipmap/icon_record_haha_1"
app:mr_top_drawableSize1="40dp"
/>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_2"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:drawablePadding="8dp"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:text="@string/haha_2"
android:textColor="#fff"
android:textSize="14sp"
app:mr_top_drawable1="@mipmap/icon_record_haha_2"
app:mr_top_drawableSize1="40dp"
/>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_3"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:drawablePadding="8dp"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:text="@string/haha_3"
android:textColor="#fff"
android:textSize="14sp"
app:mr_top_drawable1="@mipmap/icon_record_haha_3"
app:mr_top_drawableSize1="40dp"
/>
<com.yunbao.beauty.custom.MyRadioButton
android:id="@+id/btn_haha_4"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_weight="1"
android:background="@drawable/bg_haha"
android:button="@null"
android:drawablePadding="8dp"
android:gravity="center_horizontal"
android:paddingTop="8dp"
android:text="@string/haha_4"
android:textColor="#fff"
android:textSize="14sp"
app:mr_top_drawable1="@mipmap/icon_record_haha_4"
app:mr_top_drawableSize1="40dp"
/>
</RadioGroup>
</RelativeLayout>

View File

@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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="match_parent"
>
<RadioGroup
android:id="@+id/bottom"
android:layout_width="match_parent"
android:layout_height="40dp"
android:layout_alignParentBottom="true"
android:background="@color/bg_black"
android:orientation="horizontal"
>
<Space
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0.7"
/>
<RadioButton
android:id="@+id/btn_beauty"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="@string/beauty"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<Space
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0.7"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
android:background="#969696"
/>
<Space
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0.7"
/>
<RadioButton
android:id="@+id/btn_filter"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bg_btn_beauty"
android:button="@null"
android:gravity="center"
android:text="@string/filter"
android:textColor="@color/fg_btn_beauty"
android:textSize="14sp"
/>
<Space
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0.7"
/>
</RadioGroup>
<View
android:id="@+id/btn_hide"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/bottom"/>
<LinearLayout
android:id="@+id/group_beauty"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:orientation="vertical"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="visible"
>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_baixi"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_meibai"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_skin_strength"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
app:progressVal="0"
app:text2="@string/beauty_mopi"
/>
<com.yunbao.beauty.custom.TextSeekBar
android:id="@+id/seek_hongrun"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:progressVal="0"
app:text2="@string/beauty_hongrun"
/>
</LinearLayout>
<FrameLayout
android:id="@+id/group_filter"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/bottom"
android:background="@color/bg_black"
android:clickable="true"
android:paddingBottom="15dp"
android:paddingTop="15dp"
android:visibility="invisible"
>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/filter_recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</FrameLayout>
</RelativeLayout>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center"
android:textColor="#fff"
android:textSize="14sp"
android:paddingLeft="15dp"
android:paddingRight="15dp"
/>

View File

@@ -0,0 +1,36 @@
<?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="30dp"
android:orientation="horizontal"
>
<TextView
android:id="@+id/text"
android:layout_width="40dp"
android:layout_height="match_parent"
android:layout_marginLeft="10dp"
android:gravity="center"
android:textColor="#fff"
android:textSize="14sp"
/>
<SeekBar
android:id="@+id/seekBar"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:max="100"
/>
<TextView
android:id="@+id/progressVal"
android:layout_width="40dp"
android:layout_height="match_parent"
android:layout_marginRight="10dp"
android:gravity="center"
android:textColor="#fff"
android:textSize="14sp"
/>
</LinearLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 699 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="TextSeekBar">
<attr name="text2" format="string"/>
<attr name="progressVal" format="integer"/>
</declare-styleable>
<declare-styleable name="MyRadioButton">
<attr name="mr_drawableSize1" format="dimension"/>
<attr name="mr_top_drawableSize1" format="dimension"/>
<attr name="mr_left_drawableSize1" format="dimension"/>
<attr name="mr_right_drawableSize1" format="dimension"/>
<attr name="mr_bottom_drawableSize1" format="dimension"/>
<attr name="mr_top_drawable1" format="reference"/>
<attr name="mr_left_drawable1" format="reference"/>
<attr name="mr_right_drawable1" format="reference"/>
<attr name="mr_bottom_drawable1" format="reference"/>
</declare-styleable>
</resources>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="bg_black">#e6323232</color>
</resources>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="beauty">美颜</string>
<string name="beauty_shape">美型</string>
<string name="meng">萌颜</string>
<string name="tiezhi">贴纸</string>
<string name="filter">滤镜</string>
<string name="shake">抖动</string>
<string name="haha">哈哈镜</string>
<string name="haha_1">外星人</string>
<string name="haha_4">方方脸</string>
<string name="haha_3">瘦瘦脸</string>
<string name="haha_2">梨梨脸</string>
<string name="beauty_meibai">美白</string>
<string name="beauty_meibai2">白皙</string>
<string name="beauty_mopi">磨皮</string>
<string name="beauty_mopi2">美肤</string>
<string name="beauty_strength">强度</string>
<string name="beauty_baohe">饱和</string>
<string name="beauty_fengnen">粉嫩</string>
<string name="beauty_hongrun">红润</string>
<string name="beauty_big_eye">大眼</string>
<string name="beauty_face">瘦脸</string>
<string name="face_narrowing">窄脸</string>
<string name="beauty_face_strength">强度</string>
<string name="tiezhi_download_failed">贴纸下载失败</string>
<string name="tiezhi_unzip_failed">贴纸解压失败</string>
</resources>