6.6.1 - Alpha2 - 恢复日志活动窗口单个条目文本内容的双击或长按选择功能

This commit is contained in:
SuperMonster003
2024-12-24 23:56:27 +08:00
parent a6e197c0b6
commit 9005a2522c
5 changed files with 6 additions and 12 deletions

View File

@@ -16,6 +16,7 @@
"UiObjectCollection 实例缺失自身方法及属性的问题"
],
"improvement": [
"恢复日志活动窗口单个条目文本内容的双击或长按选择功能",
"脚本项目识别在 project.json 损坏情况下尽可能还原关键信息",
"打包单文件时自动生成的包名后缀支持将简体中文转换为拼音 (支持多音字)",
"UiSelector#findOnce 及 UiSelector#find 方法支持负数参数",

View File

@@ -389,10 +389,8 @@ public class ConsoleView extends FrameLayout implements ConsoleImpl.LogListener
@Override
public void onBindViewHolder(ViewHolder holder, int position) {
ConsoleImpl.LogEntry logEntry = mLogEntries.get(position);
TextView textView = holder.textView;
ConsoleImpl.LogEntry logEntry = mLogEntries.get(position);
textView.setText(logEntry.content);
Integer color = mColors.get(logEntry.level);
if (color != null) {
@@ -403,9 +401,6 @@ public class ConsoleView extends FrameLayout implements ConsoleImpl.LogListener
} else {
textSize = DisplayUtils.pxToSp(textView.getTextSize());
}
textView.setClickable(false);
textView.setLongClickable(false);
textView.setTextIsSelectable(false);
}
public void setTextSize(float size) {

View File

@@ -7,8 +7,6 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/log_list"
android:clickable="false"
android:longClickable="false"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textIsSelectable="true"
android:textSize="15sp" />

View File

@@ -1,5 +1,5 @@
#Tue Dec 24 20:40:53 CST 2024
BUILD_TIME=1735044053799
#Tue Dec 24 23:39:23 CST 2024
BUILD_TIME=1735054763832
COMPILE_SDK_VERSION=34
JAVA_VERSION=23
JAVA_VERSION_MIN_RADICAL=0
@@ -17,6 +17,6 @@ RAPID_OCR_OPENCV_MOBILE_LABEL_VERSION=13
RAPID_OCR_OPENCV_MOBILE_VERSION=4.5.3
TARGET_SDK_VERSION=34
TARGET_SDK_VERSION_INRT=29
VERSION_BUILD=2920
VERSION_BUILD=2921
VERSION_NAME=6.6.1 Alpha2
VSCODE_EXT_REQUIRED_VERSION=1.0.8