应用日志第二工具栏UI调试完成

This commit is contained in:
2025-12-15 17:41:19 +08:00
parent 460df3fc92
commit 8c335cb96d
4 changed files with 25 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Mon Dec 15 08:40:28 GMT 2025 #Mon Dec 15 09:38:18 GMT 2025
stageCount=0 stageCount=0
libraryProject=libappbase libraryProject=libappbase
baseVersion=15.14 baseVersion=15.14
publishVersion=15.14.0 publishVersion=15.14.0
buildCount=105 buildCount=128
baseBetaVersion=15.14.1 baseBetaVersion=15.14.1

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Mon Dec 15 08:40:28 GMT 2025 #Mon Dec 15 09:38:18 GMT 2025
stageCount=0 stageCount=0
libraryProject=libappbase libraryProject=libappbase
baseVersion=15.14 baseVersion=15.14
publishVersion=15.14.0 publishVersion=15.14.0
buildCount=105 buildCount=128
baseBetaVersion=15.14.1 baseBetaVersion=15.14.1

View File

@@ -116,6 +116,7 @@ public class LogView extends RelativeLayout {
// 获取Log Level spinner实例 // 获取Log Level spinner实例
mLogLevelSpinner = findViewById(cc.winboll.studio.libappbase.R.id.viewlogSpinner1); mLogLevelSpinner = findViewById(cc.winboll.studio.libappbase.R.id.viewlogSpinner1);
metTagSearch.setTextColor(mContext.getResources().getColor(R.color.white));
metTagSearch.addTextChangedListener(new TextWatcher() { metTagSearch.addTextChangedListener(new TextWatcher() {
@Override @Override
@@ -240,6 +241,14 @@ public class LogView extends RelativeLayout {
mTAGListAdapter.notifyDataSetChanged(); mTAGListAdapter.notifyDataSetChanged();
mSelectAllTAGCheckBox = findViewById(cc.winboll.studio.libappbase.R.id.viewlogCheckBox1); mSelectAllTAGCheckBox = findViewById(cc.winboll.studio.libappbase.R.id.viewlogCheckBox1);
ViewGroup.LayoutParams layoutParams2 = mSelectAllTAGCheckBox.getLayoutParams();
if (layoutParams2 != null) {
layoutParams2.width = ViewGroup.LayoutParams.WRAP_CONTENT;
layoutParams2.height = 75;
}
mSelectAllTAGCheckBox.setLayoutParams(layoutParams2);
//mSelectAllTAGCheckBox.setPadding(0,0,0,0);
mSelectAllTAGCheckBox.setTextColor(mContext.getResources().getColor(R.color.white));
mSelectAllTAGCheckBox.setOnClickListener(new View.OnClickListener(){ mSelectAllTAGCheckBox.setOnClickListener(new View.OnClickListener(){
@Override @Override
public void onClick(View v) { public void onClick(View v) {
@@ -486,7 +495,17 @@ public class LogView extends RelativeLayout {
final TAGItemModel item = itemList.get(position); final TAGItemModel item = itemList.get(position);
holder.tvText.setText(item.getTag()); holder.tvText.setText(item.getTag());
ViewGroup.LayoutParams layoutParams = holder.tvText.getLayoutParams();
if (layoutParams != null) {
layoutParams.width = ViewGroup.LayoutParams.WRAP_CONTENT;
layoutParams.height = 75;
}
holder.tvText.setLayoutParams(layoutParams);
holder.tvText.setPadding(0,0,0,0);
holder.tvText.setTextColor(mContext.getResources().getColor(R.color.white));
holder.cbChecked.setChecked(item.isChecked()); holder.cbChecked.setChecked(item.isChecked());
holder.cbChecked.setLayoutParams(layoutParams);
holder.cbChecked.setPadding(0,0,0,0);
holder.cbChecked.setOnClickListener(new View.OnClickListener(){ holder.cbChecked.setOnClickListener(new View.OnClickListener(){
@Override @Override

View File

@@ -85,6 +85,7 @@
android:layout_height="@dimen/log_button_height" android:layout_height="@dimen/log_button_height"
android:textSize="@dimen/log_text_size" android:textSize="@dimen/log_text_size"
android:text="ALL" android:text="ALL"
android:padding="2dp"
android:id="@+id/viewlogCheckBox1" android:id="@+id/viewlogCheckBox1"
android:background="@drawable/bg_border_round" android:background="@drawable/bg_border_round"
android:layout_marginLeft="5dp" android:layout_marginLeft="5dp"
@@ -103,7 +104,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/bg_border" android:background="@drawable/bg_border"
android:scrollbars="none" android:scrollbars="none"
android:padding="5dp" android:padding="2dp"
android:layout_weight="1.0" android:layout_weight="1.0"
android:id="@+id/viewlogHorizontalScrollView1"> android:id="@+id/viewlogHorizontalScrollView1">