From 6c18b2f806a647c445ee64f8b916ccd1bb1b0bd1 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 10 Aug 2022 15:09:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98,shouye=20ytuijian?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/res/layout/rc_conversationlist_item.xml | 1 + live/src/main/res/mipmap-xhdpi/instructors.png | Bin 0 -> 3429 bytes .../main/views/SearchResultsViewHolder.java | 8 +++++--- .../main/res/layout/view_search_results_item.xml | 4 +++- 4 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 live/src/main/res/mipmap-xhdpi/instructors.png diff --git a/live/src/main/res/layout/rc_conversationlist_item.xml b/live/src/main/res/layout/rc_conversationlist_item.xml index 9b88732e9..5ef66388e 100644 --- a/live/src/main/res/layout/rc_conversationlist_item.xml +++ b/live/src/main/res/layout/rc_conversationlist_item.xml @@ -30,6 +30,7 @@ android:layout_width="wrap_content" android:layout_height="22dp" android:layout_alignParentBottom="true" + android:src="@mipmap/instructors" android:visibility="visible" /> diff --git a/live/src/main/res/mipmap-xhdpi/instructors.png b/live/src/main/res/mipmap-xhdpi/instructors.png new file mode 100644 index 0000000000000000000000000000000000000000..9b36e5ed86b7a9e97b2d8193e22da3d56b9b32a4 GIT binary patch literal 3429 zcmV-r4Vv z>ysPBxyFC3nUQ8z(rSg*Hel}tC~gLliX9wqe2F0>oE$hI*NRg(l`Hua_?AB;w+|=b zP$v~rA-BRw#YrHEE7->1W9%|ifZ#YWU>kd#wY6Glb|lS=CLdbT%&bOt>BQK2sVCVY=jr#>J-xzvmj01I0X6|!fQ`USz*-;)#0QW(#-)V{U;?LszX6AV1HcQEar=^( z0MQru5R?p;1@CD%Oz`c!YRlp1U_Im2V81E*C+D|O- z+s9tuamxIpD_IE;-XFRs80T8x`@kmwpKNu)jd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ylo$%AaoDoj)-Wv zhU|_W%y&4Wv1g$*|c~ zS5y(YhgT9PQ*MJK+Iws=AM^dM@>_lsIsHgjtJRVFxlgiS8|jajEc|kk%zqWou9i6m z?HZTt=L(cgXn1A8(oqAi)V=D8&qmyHpnC49KF#hZo|(Uo;;ah10o;x|f`)=V-@ysY zgT2k@%tQVIY6Y(%C?EGtSbUAso_vA8MCi>?@ziG)QBodmQILBw@X*?AEa-$F!KbUN z_(~oTZ`MTm%`&xQytmmx54E1*NG?CF_#i zv5b&Gv-`z-Z8fDc?6V5_-6M>4{dsj*1>|04YXl7i1|Yd@DRM?HNB*}-?2|RK*1->T zF2u0@&uDx$?ku$}?^Q&@oC(8|ny(eQ-BQ&JM!hZ_)ke_l{`e9yyH?|`11fM3kXh$p z`+bA@d~L|*RRo1+{G~f3>!RPev^o)n%XFz&WUZj4?QtjklfZj+3WVwmJ}sIP7Syr6O$F0b(vu!BWldWek$eZJ== zFrVvjsjUTJ-GX3ocPeDQ(hry&2g*9)r$;)Hub0iFQRvbybmskguwFE9&Z|t`ztrp# zioowK2$A`O43Mms-+h30XxV6D;ZwCZ_rs2q4}(rczAkKTh3;W|uteeMRHRsAvxT}UdRx6V>rgrpz80HuN9yybtEx?pwlG z-$lUjbQ1eSbig4D4`V}xYFSWuJx=QWCA2lsrXfD#lDu!J>3S?vC2>RZOFO}OK}7aD z=<|K6h0pgy8uvmMd+usbG9IaWN}ct+Sz0BeEoQa?y2fqe60732T5aV4VyoJZ~m z_1(AKz+-Hw9fj5k2S9keoS(Cwhk>sW{8tERWI&Pv3?wl}@jl2H|31{u<1Qn2r4*66 zExf;BFYp9g+Z+NO#C{N7KPj_)JcvAR-DPk~)*<2OCk+Sf1nd;tpbxQ(sI zm(OnkW{`St#Haj?@&5=1sqao96DUWJ`#=w}t"; + String keywordHtml1 = "" + WordsTypeUtil.changeSimplified(keyword) + ""; + String keywordHtml2 = "" + WordsTypeUtil.changeTraditional(keyword) + ""; String contextHtml = "" + context + ""; - contextHtml = contextHtml.replace(keyword, keywordHtml); + contextHtml = contextHtml.replace(WordsTypeUtil.changeSimplified(keyword) ,keywordHtml1).replace(WordsTypeUtil.changeTraditional(keyword),keywordHtml2); return Html.fromHtml(contextHtml); } diff --git a/main/src/main/res/layout/view_search_results_item.xml b/main/src/main/res/layout/view_search_results_item.xml index 6b2a9f674..79cd9bcf1 100644 --- a/main/src/main/res/layout/view_search_results_item.xml +++ b/main/src/main/res/layout/view_search_results_item.xml @@ -80,9 +80,11 @@ + android:background="@mipmap/icon_cange" + android:focusable="true" />