Преглед на файлове

修改联系人搜索框UI问题

Pq преди 3 години
родител
ревизия
afb124eb48
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      rong_im/common_im_ui/src/main/java/com/common/im/ui/contact/ContactPersonListFragment.java

+ 2 - 2
rong_im/common_im_ui/src/main/java/com/common/im/ui/contact/ContactPersonListFragment.java

@@ -71,9 +71,9 @@ public class ContactPersonListFragment extends BaseMVPFragment<FragmentContactLi
             isSelectContact = getArguments().getBoolean(ContactListTabFragment.IS_SELECT_CONTACT, false);
             isSelectContact = getArguments().getBoolean(ContactListTabFragment.IS_SELECT_CONTACT, false);
         }
         }
         if (BaseApplication.Companion.isTeacherClient()) {
         if (BaseApplication.Companion.isTeacherClient()) {
-            mViewBinding.etTargetName.setText("请输入学员名称");
+            mViewBinding.etTargetName.setHint("请输入学员名称");
         } else {
         } else {
-            mViewBinding.etTargetName.setText("请输入老师名称");
+            mViewBinding.etTargetName.setHint("请输入老师名称");
         }
         }
         CustomIndexBarDataHelperImpl indexBarDataHelper = new CustomIndexBarDataHelperImpl();
         CustomIndexBarDataHelperImpl indexBarDataHelper = new CustomIndexBarDataHelperImpl();
         mViewBinding.livLetters.setDataHelper(indexBarDataHelper);
         mViewBinding.livLetters.setDataHelper(indexBarDataHelper);