修复 [反馈问题]

This commit is contained in:
zlzw 2024-04-03 17:46:51 +08:00
parent 75da607022
commit 26af3fbbdd
5 changed files with 38 additions and 7 deletions

View File

@ -66,7 +66,7 @@ public class EditUserHobbyAdapter extends RecyclerView.Adapter<EditUserHobbyAdap
String tag = careerBean.getId() + "";
for (String select : mSelectedList) {
if (select.equals(tag)) {
button.setBackgroundResource(R.drawable.dialog_bg_chat_status_config_select);
button.setBackgroundResource(R.drawable.dialog_bg_chat_status_config_select2);
}
}
button.setOnClickListener(view -> {

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:width="250dp" android:height="229dp">
<shape android:shape="rectangle">
<stroke android:width="1dp" android:color="#00000000" />
<solid android:color="#ffffffff" />
<corners android:topLeftRadius="39dp" android:topRightRadius="39dp" android:bottomLeftRadius="39dp" android:bottomRightRadius="39dp" />
</shape>
</item>
</selector>

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<layer-list>
<item>
<shape android:shape="rectangle">
<gradient android:angle="180" android:endColor="#ffeb6fff" android:startColor="#ffff83c6" android:type="linear" android:useLevel="true" />
<corners android:bottomLeftRadius="15dp" android:bottomRightRadius="15dp" android:topLeftRadius="15dp" android:topRightRadius="15dp" />
</shape>
</item>
<item android:top="2dp" android:bottom="2dp" android:start="2dp" android:end="2dp">
<shape android:shape="rectangle">
<solid android:color="#ffffffff" />
<corners android:bottomLeftRadius="13dp" android:bottomRightRadius="13dp" android:topLeftRadius="13dp" android:topRightRadius="13dp" />
</shape>
</item>
</layer-list>
</item>
</selector>

View File

@ -71,7 +71,7 @@
android:layout_height="54dp"
android:textAllCaps="false"
android:background="@drawable/dialog_bg_chat_status_config"
android:background="@drawable/dialog_bg_chat_status_config_cuia"
android:text="@string/edit_profile_hobby_cancel"
/>
@ -81,7 +81,7 @@
android:layout_height="54dp"
android:textColor="#FFFFFF"
android:layout_marginStart="21dp"
android:background="@drawable/bg_msg_address_book_user_btn_fan"
android:background="@drawable/bg_msg_address_book_user_btn_fan_cuia"
android:textAllCaps="false"
android:text="@string/back_community_sure" />
</LinearLayout>

View File

@ -3,14 +3,15 @@
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_marginBottom="15dp"
android:layout_marginEnd="15dp"
android:layout_height="wrap_content">
<Button
android:id="@+id/btn"
android:layout_width="wrap_content"
android:background="@drawable/dialog_bg_chat_status_config"
android:layout_height="wrap_content"
android:stateListAnimator="@null"
android:elevation="0dp"
android:layout_width="75dp"
android:background="@drawable/dialog_bg_chat_status_config_select2"
android:layout_height="39dp"
android:textAllCaps="false"
android:text="Button" />
</LinearLayout>