20251215_114814_087正在调整日志UI
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Mon Dec 15 02:48:29 GMT 2025
|
#Mon Dec 15 03:47:52 GMT 2025
|
||||||
stageCount=3
|
stageCount=3
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.12
|
baseVersion=15.12
|
||||||
publishVersion=15.12.2
|
publishVersion=15.12.2
|
||||||
buildCount=13
|
buildCount=40
|
||||||
baseBetaVersion=15.12.3
|
baseBetaVersion=15.12.3
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Mon Dec 15 02:48:29 GMT 2025
|
#Mon Dec 15 03:47:52 GMT 2025
|
||||||
stageCount=3
|
stageCount=3
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.12
|
baseVersion=15.12
|
||||||
publishVersion=15.12.2
|
publishVersion=15.12.2
|
||||||
buildCount=13
|
buildCount=40
|
||||||
baseBetaVersion=15.12.3
|
baseBetaVersion=15.12.3
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ public class LogView extends RelativeLayout {
|
|||||||
metTagSearch = findViewById(cc.winboll.studio.libappbase.R.id.tagsearch_et);
|
metTagSearch = findViewById(cc.winboll.studio.libappbase.R.id.tagsearch_et);
|
||||||
// 获取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.addTextChangedListener(new TextWatcher() {
|
metTagSearch.addTextChangedListener(new TextWatcher() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -9,13 +9,15 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="@dimen/button_height"
|
android:layout_height="@dimen/log_button_height"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:layout_marginLeft="5dp"
|
android:layout_marginLeft="5dp"
|
||||||
android:id="@+id/viewlogtagTextView1"/>
|
android:id="@+id/viewlogtagTextView1"/>
|
||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="@dimen/button_height"
|
android:layout_height="@dimen/log_button_height"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:id="@+id/viewlogtagCheckBox1"/>
|
android:id="@+id/viewlogtagCheckBox1"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
android:background="#FF000000">
|
android:background="#FF000000">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
@@ -17,9 +16,9 @@
|
|||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="36dp"
|
android:layout_height="@dimen/log_button_height"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:text="Clean"
|
android:text="Clean"
|
||||||
android:textSize="14dp"
|
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:id="@+id/viewlogButtonClean"
|
android:id="@+id/viewlogButtonClean"
|
||||||
android:layout_marginLeft="5dp"/>
|
android:layout_marginLeft="5dp"/>
|
||||||
@@ -27,7 +26,8 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:background="#FF000000"
|
android:background="#FF000000"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="24dp"
|
android:layout_height="@dimen/log_button_height"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:text="LV:"
|
android:text="LV:"
|
||||||
android:layout_toRightOf="@+id/viewlogButtonClean"
|
android:layout_toRightOf="@+id/viewlogButtonClean"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
@@ -37,28 +37,29 @@
|
|||||||
<Spinner
|
<Spinner
|
||||||
android:background="#FFFFFFFF"
|
android:background="#FFFFFFFF"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="24dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_toRightOf="@+id/viewlogTextView1"
|
android:layout_toRightOf="@+id/viewlogTextView1"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:id="@+id/viewlogSpinner1"/>
|
android:id="@+id/viewlogSpinner1"
|
||||||
|
style="@style/LogActivitySpinnerStyle"/>
|
||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="24dp"
|
android:layout_height="@dimen/log_button_height"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:layout_toLeftOf="@+id/viewlogButtonCopy"
|
android:layout_toLeftOf="@+id/viewlogButtonCopy"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:text="Selectable"
|
android:text="Selectable"
|
||||||
android:background="#FFFFFFFF"
|
android:background="#FFFFFFFF"
|
||||||
android:paddingRight="10dp"
|
android:paddingRight="10dp"
|
||||||
android:textSize="16dp"
|
|
||||||
android:id="@+id/viewlogCheckBoxSelectable"/>
|
android:id="@+id/viewlogCheckBoxSelectable"/>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="36dp"
|
android:layout_height="@dimen/log_button_height"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:text="Copy"
|
android:text="Copy"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:textSize="14dp"
|
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:id="@+id/viewlogButtonCopy"
|
android:id="@+id/viewlogButtonCopy"
|
||||||
android:layout_marginRight="5dp"/>
|
android:layout_marginRight="5dp"/>
|
||||||
@@ -68,7 +69,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="40dp"
|
android:layout_height="@dimen/log_button_height"
|
||||||
android:layout_below="@+id/viewlogRelativeLayoutToolbar"
|
android:layout_below="@+id/viewlogRelativeLayoutToolbar"
|
||||||
android:id="@+id/viewlogLinearLayout1"
|
android:id="@+id/viewlogLinearLayout1"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
@@ -76,7 +77,8 @@
|
|||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="@dimen/button_height"
|
android:layout_height="@dimen/log_button_height"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:text="ALL"
|
android:text="ALL"
|
||||||
android:id="@+id/viewlogCheckBox1"
|
android:id="@+id/viewlogCheckBox1"
|
||||||
android:background="@drawable/bg_border_round"
|
android:background="@drawable/bg_border_round"
|
||||||
@@ -86,7 +88,8 @@
|
|||||||
<EditText
|
<EditText
|
||||||
android:layout_width="50dp"
|
android:layout_width="50dp"
|
||||||
android:ems="10"
|
android:ems="10"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="@dimen/log_button_height"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:id="@+id/tagsearch_et"/>
|
android:id="@+id/tagsearch_et"/>
|
||||||
|
|
||||||
@@ -125,6 +128,7 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
android:textSize="@dimen/log_text_size"
|
||||||
android:text="Text"
|
android:text="Text"
|
||||||
android:textColor="#FF00FF00"
|
android:textColor="#FF00FF00"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<!-- 定义一个名为text_size_normal的尺寸,值为16sp -->
|
|
||||||
<dimen name="text_size_normal">16dp</dimen>
|
|
||||||
<!-- 定义一个名为margin_small的尺寸,值为8dp -->
|
|
||||||
<dimen name="margin_small">8dp</dimen>
|
|
||||||
<!-- 定义一个名为image_width的尺寸,值为200dp -->
|
<!-- 定义一个名为image_width的尺寸,值为200dp -->
|
||||||
<dimen name="button_height">24dp</dimen>
|
<dimen name="log_button_height">34dp</dimen>
|
||||||
|
<!-- 定义一个名为text_size_normal的尺寸,值为16sp -->
|
||||||
|
<dimen name="log_text_size">12dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -12,4 +12,16 @@
|
|||||||
<item name="colorTextBackgound">#FF000000</item>
|
<item name="colorTextBackgound">#FF000000</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<!-- 定义 Spinner 下拉项的文字样式 -->
|
||||||
|
<style name="LogActivitySpinnerItemTextStyle" parent="@android:style/Widget.Spinner">
|
||||||
|
<item name="android:textSize">@dimen/log_text_size</item> <!-- 目标文字大小 -->
|
||||||
|
<!--<item name="android:textColor">#333333</item>--> <!-- 文字颜色 -->
|
||||||
|
<item name="android:layout_height">@dimen/log_button_height</item> <!-- 下拉项高度 -->
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<!-- 定义 Spinner 全局默认样式 -->
|
||||||
|
<style name="LogActivitySpinnerStyle" parent="@android:style/Widget.Spinner">
|
||||||
|
<item name="android:dropDownItemStyle">@style/LogActivitySpinnerItemTextStyle</item>
|
||||||
|
</style>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user