Selaa lähdekoodia

1.添加直播统计是和否接口

王鹏鹏 2 vuotta sitten
vanhempi
commit
9475dcc1e9

+ 3 - 0
.idea/misc.xml

@@ -283,8 +283,11 @@
         <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res-light/drawable/core_title_bar_bg_light.xml" value="0.158" />
         <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/drawable/quote_message_area_bg.xml" value="0.146" />
         <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/drawable/translation_area_bg.xml" value="0.146" />
+        <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/layout/core_minimalist_selection_activity.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/layout/message_adapter_item_content.xml" value="0.5749235474006116" />
         <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/layout/minimalist_message_adapter_item_content.xml" value="0.264" />
+        <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/layout/pop_dialog_adapter.xml" value="0.23697916666666666" />
+        <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/layout/pop_menu_adapter.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/layout/profile_icon_view.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pad/timcommon/src/main/res/layout/title_bar_layout.xml" value="0.23697916666666666" />
         <entry key="..\:/workspace/hcp-pad/tuibeauty/src/main/res/layout/tuibeauty_view_panel.xml" value="0.22826086956521738" />

+ 7 - 6
timcommon/src/main/java/com/tencent/qcloud/tuikit/timcommon/classicui/widget/message/SelectTextHelper.java

@@ -311,12 +311,13 @@ public class SelectTextHelper {
         mTextView.setOnLongClickListener(new View.OnLongClickListener() {
             @Override
             public boolean onLongClick(View v) {
-                BeginnerGuidePage.showBeginnerGuideThen(mTextView, new Runnable() {
-                    @Override
-                    public void run() {
-                        onLongTextViewClick();
-                    }
-                });
+                onLongTextViewClick();
+//                BeginnerGuidePage.showBeginnerGuideThen(mTextView, new Runnable() {
+//                    @Override
+//                    public void run() {
+//                        onLongTextViewClick();
+//                    }
+//                });
                 return true;
             }
 

+ 7 - 6
tuichat/src/main/java/com/tencent/qcloud/tuikit/tuichat/classicui/widget/message/MessageRecyclerView.java

@@ -475,12 +475,13 @@ public class MessageRecyclerView extends RecyclerView implements IMessageRecycle
             @Override
             public void onMessageLongClick(View view, int position, TUIMessageBean messageInfo) {
                 if (mOnItemClickListener != null) {
-                    BeginnerGuidePage.showBeginnerGuideThen(view, new Runnable() {
-                        @Override
-                        public void run() {
-                            mOnItemClickListener.onMessageLongClick(view, position, messageInfo);
-                        }
-                    });
+//                    BeginnerGuidePage.showBeginnerGuideThen(view, new Runnable() {
+//                        @Override
+//                        public void run() {
+//                            mOnItemClickListener.onMessageLongClick(view, position, messageInfo);
+//                        }
+//                    });
+                    mOnItemClickListener.onMessageLongClick(view, position, messageInfo);
                 }
             }
 

+ 7 - 6
tuichat/src/main/java/com/tencent/qcloud/tuikit/tuichat/minimalistui/widget/message/SelectTextHelper.java

@@ -311,12 +311,13 @@ public class SelectTextHelper {
         mTextView.setOnLongClickListener(new View.OnLongClickListener() {
             @Override
             public boolean onLongClick(View v) {
-                BeginnerGuidePage.showBeginnerGuideThen(mTextView, new Runnable() {
-                    @Override
-                    public void run() {
-                        onLongTextViewClick();
-                    }
-                });
+//                BeginnerGuidePage.showBeginnerGuideThen(mTextView, new Runnable() {
+//                    @Override
+//                    public void run() {
+//                        onLongTextViewClick();
+//                    }
+//                });
+                onLongTextViewClick();
                 return true;
             }
 

+ 3 - 3
tuichat/src/main/res/layout/chat_input_layout.xml

@@ -9,7 +9,7 @@
         android:id="@+id/reply_preview_bar"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:paddingTop="5dp"
+        android:paddingTop="@dimen/divider_15px"
         android:visibility="gone"
         tools:visibility="visible" />
 
@@ -18,7 +18,7 @@
         android:layout_height="wrap_content"
         android:gravity="center_vertical"
         android:orientation="horizontal"
-        android:padding="5dp">
+        android:padding="@dimen/divider_15px">
 
         <ImageView
             android:id="@+id/voice_input_switch"
@@ -60,7 +60,7 @@
             android:layout_width="@dimen/divider_56px"
             android:layout_height="@dimen/divider_56px"
             android:layout_marginEnd="@dimen/divider_28px"
-            android:scaleType="fitXY"
+            android:scaleType="centerInside"
             android:src="@drawable/action_more_selector" />
 
         <TextView