6.6.3 - Alpha2 - 主题色扩充适配范围并支持更多控件类型

This commit is contained in:
SuperMonster003
2025-05-09 17:27:27 +08:00
parent a9f178ac8c
commit 9f82114757
94 changed files with 1451 additions and 565 deletions

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="btn_radio_to_on_mtrl"
android:width="32dp"
android:viewportWidth="32"
android:height="32dp"
android:viewportHeight="32"
android:tint="?attr/colorPrimary">
<group
android:name="btn_radio_to_on_mtrl_0"
android:translateX="16"
android:translateY="16" >
<group
android:name="ring_outer" >
<path
android:name="ring_outer_path"
android:strokeColor="#FF000000"
android:strokeWidth="2"
android:pathData="M 0.0,-9.0 c 4.9705627482,0.0 9.0,4.0294372518 9.0,9.0 c 0.0,4.9705627482 -4.0294372518,9.0 -9.0,9.0 c -4.9705627482,0.0 -9.0,-4.0294372518 -9.0,-9.0 c 0.0,-4.9705627482 4.0294372518,-9.0 9.0,-9.0 Z" />
</group>
<group
android:name="dot_group"
android:scaleX="0"
android:scaleY="0" >
<path
android:name="dot_path"
android:pathData="M 0.0,-5.0 c -2.7619934082,0.0 -5.0,2.2380065918 -5.0,5.0 c 0.0,2.7619934082 2.2380065918,5.0 5.0,5.0 c 2.7619934082,0.0 5.0,-2.2380065918 5.0,-5.0 c 0.0,-2.7619934082 -2.2380065918,-5.0 -5.0,-5.0 Z"
android:fillColor="#FF000000" />
</group>
</group>
</vector>

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:name="btn_radio_to_off_mtrl"
android:width="32dp"
android:viewportWidth="32"
android:height="32dp"
android:viewportHeight="32"
android:tint="?attr/colorPrimary">
<group
android:name="btn_radio_to_off_mtrl_0"
android:translateX="16"
android:translateY="16" >
<group
android:name="ring_outer" >
<path
android:name="ring_outer_path"
android:strokeColor="#FF000000"
android:strokeWidth="2"
android:pathData="M 0.0,-9.0 c 4.9705627482,0.0 9.0,4.0294372518 9.0,9.0 c 0.0,4.9705627482 -4.0294372518,9.0 -9.0,9.0 c -4.9705627482,0.0 -9.0,-4.0294372518 -9.0,-9.0 c 0.0,-4.9705627482 4.0294372518,-9.0 9.0,-9.0 Z" />
</group>
<group
android:name="dot_group" >
<path
android:name="dot_path"
android:pathData="M 0.0,-5.0 c -2.7619934082,0.0 -5.0,2.2380065918 -5.0,5.0 c 0.0,2.7619934082 2.2380065918,5.0 5.0,5.0 c 2.7619934082,0.0 5.0,-2.2380065918 5.0,-5.0 c 0.0,-2.7619934082 -2.2380065918,-5.0 -5.0,-5.0 Z"
android:fillColor="#FF000000" />
</group>
</group>
</vector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="4dp"/>
<corners android:radius="12dp"/>
<solid android:color="#727379"/>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="12dp"/>
<solid android:color="#00000000"/>
<stroke android:width="2dp" android:color="#000000" />
</shape>

View File

@@ -57,7 +57,7 @@
android:layout_marginTop="8dp"
android:orientation="horizontal">
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -72,7 +72,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<ImageView
android:id="@+id/select_source"
@@ -94,7 +94,7 @@
android:layout_marginTop="8dp"
android:orientation="horizontal">
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -109,7 +109,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<ImageView
android:id="@+id/select_output"
@@ -143,7 +143,7 @@
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
android:textColor="?android:textColorSecondary" />
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_app_name"
@@ -155,9 +155,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/package_name_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -176,7 +176,7 @@
android:inputType="text"
android:imeOptions="actionNext" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<LinearLayout
android:layout_width="match_parent"
@@ -190,7 +190,7 @@
android:layout_weight="1"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/version_name_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -205,9 +205,9 @@
android:inputType="text"
tools:text="1.0.0" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/version_code_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -222,7 +222,7 @@
android:inputType="number"
tools:text="1" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</LinearLayout>

View File

@@ -49,7 +49,7 @@
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
android:textColor="?android:textColorSecondary" />
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_app_name"
@@ -61,9 +61,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
@@ -81,7 +81,7 @@
android:inputType="text"
android:imeOptions="actionNext" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<LinearLayout
android:layout_width="match_parent"
@@ -95,7 +95,7 @@
android:layout_weight="1"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
@@ -109,9 +109,9 @@
android:inputType="text"
android:text="1.0.0" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
@@ -125,7 +125,7 @@
android:inputType="number"
android:text="1" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</LinearLayout>
@@ -159,7 +159,7 @@
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/project_location_wrapper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -175,7 +175,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</LinearLayout>
@@ -194,7 +194,7 @@
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
android:textColor="?android:textColorSecondary" />
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_main_file_name"
@@ -207,7 +207,7 @@
android:layout_height="wrap_content"
android:text="@string/default_main_file_name" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.core.ui.widget.JsCheckBox
android:id="@+id/default_stable_mode"

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -61,7 +62,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/daily_task_radio"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -86,7 +87,7 @@
</com.github.aakira.expandablelayout.ExpandableRelativeLayout>
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/disposable_task_radio"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -129,6 +130,7 @@
android:gravity="center_vertical"
android:textColor="?android:textColorPrimary"
android:textSize="16sp" />
</LinearLayout>
<LinearLayout
@@ -158,11 +160,12 @@
android:gravity="center_vertical"
android:textColor="?android:textColorPrimary"
android:textSize="16sp" />
</LinearLayout>
</com.github.aakira.expandablelayout.ExpandableRelativeLayout>
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/weekly_task_radio"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -197,26 +200,26 @@
android:orientation="horizontal"
android:weightSum="4">
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/text_day1"
tools:ignore="TooDeepLayout" />
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/text_day2" />
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/text_day3" />
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -230,19 +233,19 @@
android:orientation="horizontal"
android:weightSum="4">
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/text_day5" />
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/text_day6" />
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
@@ -254,7 +257,7 @@
</com.github.aakira.expandablelayout.ExpandableRelativeLayout>
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_broadcast"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -282,7 +285,7 @@
android:layout_height="wrap_content"
android:orientation="vertical">
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_startup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -291,7 +294,7 @@
android:text="@string/text_run_on_startup"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_boot"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -300,7 +303,7 @@
android:text="@string/text_run_on_boot"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_screen_on"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -309,7 +312,7 @@
android:text="@string/text_run_on_screen_on"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_screen_off"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -318,7 +321,7 @@
android:text="@string/text_run_on_screen_off"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_screen_unlock"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -327,7 +330,7 @@
android:text="@string/text_run_on_screen_unlock"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_battery_change"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -336,7 +339,7 @@
android:text="@string/text_run_on_battery_change"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_power_connect"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -345,7 +348,7 @@
android:text="@string/text_run_on_power_connect"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_power_disconnect"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -354,7 +357,7 @@
android:text="@string/text_run_on_power_disconnect"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_conn_change"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -363,7 +366,7 @@
android:text="@string/text_run_on_conn_change"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_package_install"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -372,7 +375,7 @@
android:text="@string/text_run_on_package_install"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_package_uninstall"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -381,7 +384,7 @@
android:text="@string/text_run_on_package_uninstall"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_package_update"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -390,7 +393,7 @@
android:text="@string/text_run_on_package_update"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_headset_plug"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -399,7 +402,7 @@
android:text="@string/text_run_on_headset_plug"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_config_change"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -408,7 +411,7 @@
android:text="@string/text_run_on_config_change"
tools:ignore="RtlSymmetry" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_time_tick"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -417,8 +420,8 @@
android:text="@string/text_run_on_time_tick"
tools:ignore="RtlSymmetry" />
<RadioButton
android:id="@+id/run_on_other_broadcast"
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/run_on_custom_broadcast"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
@@ -428,12 +431,13 @@
</RadioGroup>
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="36dp"
android:layout_marginTop="2dp"
android:hint="@string/text_broadcast_action">
android:layout_marginTop="6dp"
android:hint="@string/text_broadcast_action"
app:expandedHintEnabled="false">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/action"
@@ -442,7 +446,7 @@
android:maxLines="2"
android:text="@string/text_broadcast_action_prefix" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</LinearLayout>

View File

@@ -1,19 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:hint="@string/text_class_or_package_name"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
app:expandedHintEnabled="false">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/keywords"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</com.google.android.material.textfield.TextInputLayout>
android:layout_height="wrap_content" />
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<FrameLayout
android:layout_width="match_parent"
@@ -22,14 +26,14 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/result_list"
android:layout_width="match_parent"
android:layout_height="400dp"/>
android:layout_height="400dp" />
<me.zhanghai.android.materialprogressbar.MaterialProgressBar
android:id="@+id/progress_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone"/>
android:visibility="gone" />
</FrameLayout>
</LinearLayout>

View File

@@ -1,59 +1,64 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="16dp">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingTop="16dp">
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_find">
android:hint="@string/text_find"
app:expandedHintEnabled="false">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/keywords"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</com.google.android.material.textfield.TextInputLayout>
android:layout_height="wrap_content" />
<CheckBox
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:id="@+id/checkbox_regex"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/text_regex"/>
android:text="@string/text_regex" />
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_replace">
android:hint="@string/text_replace"
app:expandedHintEnabled="false">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/replacement"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</com.google.android.material.textfield.TextInputLayout>
android:layout_height="wrap_content" />
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:id="@+id/checkbox_replace"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/text_replace"/>
android:text="@string/text_replace" />
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:id="@+id/checkbox_replace_all"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/text_replace_all"/>
android:text="@string/text_replace_all" />
</LinearLayout>
@@ -63,6 +68,6 @@
android:padding="4dp"
android:text="@string/hint_find_with_regex"
android:textColor="#929397"
android:textSize="12sp"/>
android:textSize="12sp" />
</LinearLayout>

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -24,7 +25,7 @@
android:layout_centerVertical="true"
android:layout_toStartOf="@+id/type_radio_group"
android:text="@string/text_new_key_store"
android:textColor="@color/text_color_primary"
android:textColor="@color/day_night_full"
android:textSize="24sp" />
<RadioGroup
@@ -37,7 +38,7 @@
android:orientation="horizontal"
tools:ignore="RelativeOverlap">
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/type_jks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -45,18 +46,18 @@
android:text="@string/text_jks"
android:textSize="16sp" />
<RadioButton
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/type_bks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:text="@string/text_bks"
android:textSize="16sp" />
</RadioGroup>
</RelativeLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
@@ -74,25 +75,28 @@
android:layout_marginBottom="8dp"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/filename_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_file_name">
android:hint="@string/text_file_name"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/filename"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/password_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_key_store_password"
app:endIconMode="password_toggle">
app:endIconMode="password_toggle"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/password"
@@ -100,13 +104,15 @@
android:layout_height="wrap_content"
android:inputType="textPassword"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/alias_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_key_alias">
android:hint="@string/text_key_alias"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/alias"
@@ -114,14 +120,16 @@
android:layout_height="wrap_content"
android:text="@string/text_default_alias"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/alias_password_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_alias_password"
app:endIconMode="password_toggle">
app:endIconMode="password_toggle"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/alias_password"
@@ -129,7 +137,9 @@
android:layout_height="wrap_content"
android:inputType="textPassword"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</LinearLayout>
<com.google.android.material.switchmaterial.SwitchMaterial
@@ -174,13 +184,15 @@
android:textAlignment="viewStart"
android:textColor="@color/text_color_primary"
android:textSize="16sp" />
</LinearLayout>
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/validity_years_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_validity_years">
android:hint="@string/text_validity_years"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/validity_years"
@@ -189,52 +201,60 @@
android:inputType="number"
android:text="@string/text_default_validity_years"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/first_and_last_name_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_first_and_last_name">
android:hint="@string/text_first_and_last_name"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/first_and_last_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/organization_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_organization">
android:hint="@string/text_organization"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/organization"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/organizational_unit_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_organizational_unit">
android:hint="@string/text_organizational_unit"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/organizational_unit"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/country_code_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_country_code">
android:hint="@string/text_country_code"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/country_code"
@@ -242,48 +262,58 @@
android:layout_height="wrap_content"
android:text="@string/text_default_country_code"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/state_or_province_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_state_or_province">
android:hint="@string/text_state_or_province"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/state_or_province"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/city_or_locality_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_city_or_locality">
android:hint="@string/text_city_or_locality"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/city_or_locality"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/street_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/text_street">
android:hint="@string/text_street"
app:expandedHintEnabled="false">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/street"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
<LinearLayout
@@ -295,23 +325,28 @@
<Button
android:id="@+id/cancel"
style="@style/Base.Widget.AppCompat.Button.Borderless.Colored"
style="@style/MD_ActionButton.Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:layout_marginTop="8dp"
android:elegantTextHeight="true"
android:text="@string/text_cancel" />
android:text="@string/text_cancel"
android:textColor="@color/dialog_button_default" />
<Button
android:id="@+id/confirm"
style="@style/Base.Widget.AppCompat.Button.Borderless.Colored"
style="@style/MD_ActionButton.Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:layout_marginTop="8dp"
android:elegantTextHeight="true"
android:text="@string/text_ok" />
android:text="@string/dialog_button_confirm"
android:textColor="@color/dialog_button_attraction" />
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>

View File

@@ -1,82 +1,82 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp">
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingStart="16dp"
android:paddingEnd="16dp">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="12dp"
android:textColorHint="#91000000"
android:hint="@string/text_loop_times">
android:layout_height="wrap_content"
android:layout_marginVertical="12dp"
android:hint="@string/text_loop_times"
app:expandedHintEnabled="false">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/loop_times"
android:layout_width="match_parent"
android:layout_height="48dp"
android:inputType="number"
android:text="0"
android:textColor="#ff000000"
tools:ignore="HardcodedText"
android:height="48dp" />
android:id="@+id/loop_times"
android:layout_width="match_parent"
android:layout_height="48dp"
android:height="48dp"
android:inputType="number"
android:text="0"
tools:ignore="HardcodedText" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:textColor="#80000000"
android:text="@string/hint_loop_times"
android:textSize="12sp" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="12dp"
android:textColorHint="#91000000"
android:hint="@string/text_loop_interval">
android:layout_marginStart="4dp"
android:text="@string/hint_loop_times"
android:textColor="?android:attr/textColorSecondary"
android:textSize="12sp" />
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="12dp"
android:hint="@string/text_loop_interval"
app:expandedHintEnabled="false">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/loop_interval"
android:layout_width="match_parent"
android:layout_height="48dp"
android:inputType="numberDecimal"
android:text="1.0"
tools:ignore="HardcodedText"
android:height="48dp" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/loop_interval"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="12dp"
android:textColorHint="#91000000"
android:hint="@string/text_loop_delay">
android:layout_height="48dp"
android:height="48dp"
android:inputType="numberDecimal"
android:text="1.0"
tools:ignore="HardcodedText" />
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="12dp"
android:hint="@string/text_loop_delay"
app:expandedHintEnabled="false">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/loop_delay"
android:layout_width="match_parent"
android:layout_height="48dp"
android:inputType="numberDecimal"
android:textColor="#ff000000"
android:text="0.0"
tools:ignore="HardcodedText" />
android:id="@+id/loop_delay"
android:layout_width="match_parent"
android:layout_height="48dp"
android:inputType="numberDecimal"
android:text="0.0"
tools:ignore="HardcodedText" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginBottom="8dp"
android:textColor="#80000000"
android:text="@string/hint_loop_delay"
android:textSize="12sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:layout_marginBottom="8dp"
android:textColor="?android:attr/textColorSecondary"
android:text="@string/hint_loop_delay"
android:textSize="12sp" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</LinearLayout>

View File

@@ -8,7 +8,7 @@
android:paddingEnd="16dp"
android:paddingTop="8dp">
<androidx.appcompat.widget.AppCompatSeekBar
<org.autojs.autojs.theme.widget.ThemeColorSeekBar
android:id="@+id/seekbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -54,7 +55,9 @@
android:text="@string/text_unverified"
android:textColor="@color/text_color_primary"
android:textSize="12sp" />
</LinearLayout>
</RelativeLayout>
<LinearLayout
@@ -79,6 +82,7 @@
android:layout_marginStart="4dp"
android:textSize="16sp"
tools:text="/storage/emulated/0/脚本/.KeyStore/default_key_store.jks" />
</LinearLayout>
<LinearLayout
@@ -87,7 +91,7 @@
android:layout_marginVertical="16dp"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/password_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -100,9 +104,10 @@
android:layout_height="wrap_content"
android:inputType="textPassword"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/alias_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -114,9 +119,10 @@
android:layout_height="wrap_content"
android:text="@string/text_default_alias"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:id="@+id/alias_password_text_input_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -129,7 +135,9 @@
android:layout_height="wrap_content"
android:inputType="textPassword"
android:textColor="@color/text_color_primary" />
</com.google.android.material.textfield.TextInputLayout>
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</LinearLayout>
<LinearLayout
@@ -141,23 +149,27 @@
<Button
android:id="@+id/cancel"
style="@style/Base.Widget.AppCompat.Button.Borderless.Colored"
style="@style/MD_ActionButton.Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:layout_marginTop="8dp"
android:elegantTextHeight="true"
android:text="@string/text_cancel" />
android:text="@string/text_cancel"
android:textColor="@color/dialog_button_default"/>
<Button
android:id="@+id/verify"
style="@style/Base.Widget.AppCompat.Button.Borderless.Colored"
style="@style/MD_ActionButton.Text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:layout_marginTop="8dp"
android:elegantTextHeight="true"
android:text="@string/text_verify" />
android:text="@string/text_verify"
android:textColor="@color/dialog_button_attraction"/>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>

View File

@@ -1,75 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="@dimen/ref_md_dialog_frame_margin"
android:paddingEnd="@dimen/ref_md_dialog_frame_margin"
android:orientation="vertical">
<androidx.appcompat.widget.LinearLayoutCompat
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:tools="http://schemas.android.com/tools"
android:paddingStart="@dimen/ref_md_dialog_frame_margin"
android:paddingEnd="@dimen/ref_md_dialog_frame_margin"
android:orientation="vertical">
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/md_contentPath"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="4dp"
android:textSize="@dimen/md_content_textsize"
android:text="@string/text_sample_string"
android:minHeight="48dp"/>
android:id="@+id/md_contentPath"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="4dp"
android:textSize="@dimen/md_content_textsize"
android:text="@string/text_sample_string"
android:minHeight="48dp" />
<ImageView
android:id="@+id/md_FileChooserIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_folder"
android:clickable="true"
android:focusable="true"
android:layout_gravity="center_vertical"/>
android:id="@+id/md_FileChooserIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_folder"
android:clickable="true"
android:focusable="true"
android:layout_gravity="center_vertical" />
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/md_contentFileTransfer"
android:id="@+id/md_contentFileTransfer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone"
tools:visibility="visible">
<org.autojs.autojs.theme.widget.ThemeColorSwitch
android:id="@+id/md_contentSwitch"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone">
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/md_contentSwitch"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="4dp"
android:checked="false"
android:text="@string/text_files_transfer"
android:minHeight="48dp" />
android:layout_marginTop="4dp"
android:checked="false"
android:text="@string/text_files_transfer"
android:minHeight="48dp" />
<RadioGroup
android:id="@+id/md_contentRadioGroup"
android:layout_width="match_parent"
android:id="@+id/md_contentRadioGroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:visibility="gone"
android:orientation="vertical">
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/copy"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:visibility="gone"
android:orientation="vertical">
android:checked="true"
android:text="@string/text_copy_all_files_to_new_directory"
android:minHeight="48dp" />
<RadioButton
android:id="@+id/copy"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:checked="true"
android:text="@string/text_copy_all_files_to_new_directory"
android:minHeight="48dp" />
<RadioButton
android:id="@+id/move"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/text_move_all_files_to_new_directory"
android:minHeight="48dp" />
<org.autojs.autojs.theme.widget.ThemeColorRadioButton
android:id="@+id/move"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/text_move_all_files_to_new_directory"
android:minHeight="48dp" />
</RadioGroup>

View File

@@ -1,31 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/wrapper"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:orientation="vertical">
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/wrapper"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:orientation="vertical">
<CheckBox
android:id="@+id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:button="@drawable/round_checkbox"
android:layout_gravity="center|top"
android:alpha="0.87"
android:layout_marginTop="2dp"
android:layout_marginBottom="6dp" />
android:id="@+id/checkbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
android:button="@drawable/round_checkbox"
android:layout_gravity="center|top"
android:alpha="0.87"
android:layout_marginTop="2dp"
android:layout_marginBottom="6dp" />
<TextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="2dp"
tools:text="MLKit Google OCR"
android:textSize="12sp"
android:textColor="@color/text_color_primary_full"
android:gravity="center|top" />
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="2dp"
tools:text="MLKit Google OCR"
android:textSize="12sp"
android:textColor="@color/text_color_primary_full"
android:gravity="center|top" />
</LinearLayout>

View File

@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
@@ -15,30 +17,33 @@
android:layout_width="64dp"
android:layout_height="64dp"
android:layout_marginHorizontal="8dp"
android:layout_marginBottom="8dp"
android:background="@drawable/shortcut_create_dialog_icon_bg"
android:padding="12dp"
android:src="@drawable/ic_add_white_48dp"/>
android:padding="8dp"
android:src="@drawable/ic_add_smaller_48dp" />
<com.google.android.material.textfield.TextInputLayout
<org.autojs.autojs.theme.widget.ThemeColorTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:hint="@string/text_name">
android:hint="@string/text_name"
app:expandedHintEnabled="false">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content" />
</org.autojs.autojs.theme.widget.ThemeColorTextInputLayout>
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<CheckBox
<org.autojs.autojs.theme.widget.ThemeColorCheckBox
android:id="@+id/use_android_n_shortcut"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="4dp"
android:text="@string/text_use_android_n_shortcut"/>
android:text="@string/text_use_android_n_shortcut" />
</LinearLayout>

View File

@@ -114,6 +114,7 @@
<string name="dialog_button_update_now">تحديث</string>
<string name="dialog_button_use_default">استخدم الافتراضي</string>
<string name="dialog_button_use_palette">ستخدام اللوحة</string>
<string name="dialog_button_version_histories">السجل</string>
<string name="dialog_button_view_file">استعراض الملف</string>
<string name="dialog_title_color_details">تفاصيل اللون</string>
<string name="dialog_title_color_palette">لوحة الألوان</string>
@@ -369,6 +370,7 @@
<string name="text_all_files_access_is_needed">هناك حاجة إلى \"All Files Access\" للوصول إلى ملفات البرنامج النصي على الهاتف</string>
<string name="text_all_histories">جميع السجلات</string>
<string name="text_all_histories_cleared">تم مسح جميع السجلات</string>
<string name="text_all_items_cleared">تم مسح جميع العناصر</string>
<string name="text_already_copied_to_clip">نسخ إلى الحافظة</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">تم النسخ بالفعل إلى الحافظة (فقط أحدث %d عنصر)</string>
<string name="text_already_created">مخلوق</string>
@@ -471,6 +473,7 @@
<string name="text_compatibility">التوافق</string>
<string name="text_config">تكوين</string>
<string name="text_confirm_to_clear_all_histories">هل أنت متأكد من مسح جميع السجلات؟</string>
<string name="text_confirm_to_clear_all_items">هل أنت متأكد من مسح جميع العناصر؟</string>
<string name="text_confirm_to_clear_histories_of">سيتم مسح السجلات التالية\n\n[ %1$s ]\n\nهل أنت متأكد من المسح؟</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">سيتم مسح السجلات التالية\n\n[ جميع مكتبات الألوان ]\n\nهل أنت متأكد من المسح؟</string>
<string name="text_confirm_to_delete">هل انت متأكد من الحذف؟</string>
@@ -520,6 +523,7 @@
<string name="text_device_model">طراز الجهاز</string>
<string name="text_device_name">اسم الجهاز</string>
<string name="text_device_product_name">اسم منتج الجهاز</string>
<string name="text_device_screen_resolution">دقّة شاشة الجهاز</string>
<string name="text_directly_download">التحميل الان</string>
<string name="text_directory">الدليل</string>
<string name="text_display_over_other_app">عرض على تطبيقات أخرى</string>
@@ -839,6 +843,7 @@
<string name="text_please_choose_a_script">اختر نصًا</string>
<string name="text_please_input_name">اسم الإدخال</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">الرجاء الانتظار...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">يرجى المحاولة مرة أخرى لاحقًا...</string>
<string name="text_pointer_location">موقع المؤشر</string>
<string name="text_pointer_location_toggle_failed_with_hint">فشل تبديل \"موقع المؤشر\".\nالوصول إلى الجذر مطلوب.</string>
<string name="text_post_notifications_permission">نشر الإخطارات</string>

View File

@@ -109,6 +109,7 @@
<string name="dialog_button_update_now">Update</string>
<string name="dialog_button_use_default">Use default</string>
<string name="dialog_button_use_palette">Use palette</string>
<string name="dialog_button_version_histories">Histories</string>
<string name="dialog_button_view_file">View File</string>
<string name="dialog_title_color_details">Color details</string>
<string name="dialog_title_color_palette">Color palette</string>
@@ -364,6 +365,7 @@
<string name="text_all_files_access_is_needed">\"All files access\" is needed to access script files on the phone</string>
<string name="text_all_histories">All histories</string>
<string name="text_all_histories_cleared">All histories have been cleared</string>
<string name="text_all_items_cleared">All items have been cleared</string>
<string name="text_already_copied_to_clip">Copied to clipboard</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">Already copied to clipboard (only latest %d items)</string>
<string name="text_already_created">Created</string>
@@ -466,6 +468,7 @@
<string name="text_compatibility">Compatibility</string>
<string name="text_config">Config</string>
<string name="text_confirm_to_clear_all_histories">Are you sure to clear all histories?</string>
<string name="text_confirm_to_clear_all_items">Are you sure to clear all items?</string>
<string name="text_confirm_to_clear_histories_of">All histories below will be cleared\n\n[ %1$s ]\n\nAre you sure to clear them all?</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">All histories below will be cleared\n\n[ All color libraries ]\n\nAre you sure to clear them all?</string>
<string name="text_confirm_to_delete">Are you sure to delete?</string>
@@ -515,6 +518,7 @@
<string name="text_device_model">Device model</string>
<string name="text_device_name">Device name</string>
<string name="text_device_product_name">Device product name</string>
<string name="text_device_screen_resolution">Device screen resolution</string>
<string name="text_directly_download">Download now</string>
<string name="text_directory">Directory</string>
<string name="text_display_over_other_app">Display over other apps</string>
@@ -834,6 +838,7 @@
<string name="text_please_choose_a_script">Choose a script</string>
<string name="text_please_input_name">Input name</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">Please wait...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">Please wait a moment before trying again...</string>
<string name="text_pointer_location">Pointer location</string>
<string name="text_pointer_location_toggle_failed_with_hint">Toggle \"pointer location\" failed.\nRoot access is required.</string>
<string name="text_post_notifications_permission">Post notifications</string>

View File

@@ -112,6 +112,7 @@
<string name="dialog_button_update_now">Actualizar</string>
<string name="dialog_button_use_default">Usar por defecto</string>
<string name="dialog_button_use_palette">Usar paleta</string>
<string name="dialog_button_version_histories">Historial</string>
<string name="dialog_button_view_file">Ver archivo</string>
<string name="dialog_title_color_details">Detalles del color</string>
<string name="dialog_title_color_palette">Paleta de colores</string>
@@ -367,6 +368,7 @@
<string name="text_all_files_access_is_needed">Se necesita \"All files access\" para acceder a los archivos de script en el teléfono</string>
<string name="text_all_histories">Todos los historiales</string>
<string name="text_all_histories_cleared">Todos los historiales han sido borrados</string>
<string name="text_all_items_cleared">Todos los elementos han sido borrados</string>
<string name="text_already_copied_to_clip">Copiado en el portapapeles</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">Ya se ha copiado en el portapapeles (sólo los últimos %d elementos)</string>
<string name="text_already_created">Creado</string>
@@ -469,6 +471,7 @@
<string name="text_compatibility">Compatibilidad</string>
<string name="text_config">Configuración</string>
<string name="text_confirm_to_clear_all_histories">¿Está seguro de borrar todos los historiales?</string>
<string name="text_confirm_to_clear_all_items">¿Seguro que desea borrar todos los elementos?</string>
<string name="text_confirm_to_clear_histories_of">Se borrarán los siguientes historiales\n\n[ %1$s ]\n\n¿Está seguro de borrarlos?</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">Se borrarán los historiales siguientes\n\n[ Todas las bibliotecas de colores ]\n\n¿Está seguro de borrarlos?</string>
<string name="text_confirm_to_delete">¿Seguro que quieres borrar?</string>
@@ -518,6 +521,7 @@
<string name="text_device_model">Modelo del dispositivo</string>
<string name="text_device_name">Nombre del dispositivo</string>
<string name="text_device_product_name">Nombre del producto del dispositivo</string>
<string name="text_device_screen_resolution">Resolución de pantalla del dispositivo</string>
<string name="text_directly_download">Descargar ahora</string>
<string name="text_directory">Directorio</string>
<string name="text_display_over_other_app">Mostrar sobre otras aplicaciones</string>
@@ -837,6 +841,7 @@
<string name="text_please_choose_a_script">Elija un script</string>
<string name="text_please_input_name">Nombre de entrada</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">Por favor, espere...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">Por favor, inténtalo de nuevo más tarde...</string>
<string name="text_pointer_location">Ubicación del puntero</string>
<string name="text_pointer_location_toggle_failed_with_hint">Falló la conmutación de la \"ubicación del puntero\".\nSe requiere acceso a la raíz.</string>
<string name="text_post_notifications_permission">Notificaciones postales</string>

View File

@@ -9,7 +9,7 @@
<string name="apk_builder_build" tools:ignore="TypographyEllipsis">Construire...</string>
<string name="apk_builder_clean" tools:ignore="TypographyEllipsis">Nettoyage...</string>
<string name="apk_builder_package" tools:ignore="TypographyEllipsis">Emballage...</string>
<string name="apk_builder_plugin_version_incompatible">Version incompatible de \"apk builder\".\nTéléchargez-la maintenant?</string>
<string name="apk_builder_plugin_version_incompatible">Version incompatible de \"apk builder\".\nTéléchargez-la maintenant ?</string>
<string name="apk_builder_prepare" tools:ignore="TypographyEllipsis">Préparation...</string>
<string name="apk_info_device_sdk">SDK de l\'appareil</string>
<string name="apk_info_file_size">Taille du fichier</string>
@@ -50,7 +50,7 @@
<string name="config_abi_options_contains_unavailable">La configuration \"abi\" contient des options non disponibles</string>
<string name="config_lib_options_contains_invalid">La configuration \"lib\" contient des options invalides</string>
<string name="config_lib_options_contains_unavailable">La configuration \"lib\" contient des options non disponibles</string>
<string name="confirm_overwrite_file">Fichier déjà existant.>Surécrire?</string>
<string name="confirm_overwrite_file">Fichier déjà existant.>Surécrire ?</string>
<string name="content_about_app_tips">1. Appuyez et maintenez le nom de l\'application (AutoJs6) sur la page d\'accueil pour accéder à la page des paramètres.\n2. Appuyez et maintenez une certaine option de paramètres sur la page de paramètres pour afficher des informations détaillées.</string>
<string name="content_current_theme_color_configured_by_palette">La couleur du thème actuel %1$s est configurée par la palette de couleurs</string>
<string name="content_description_fab_for_display_manifest">Un bouton d\'action flottant pour afficher le manifeste</string>
@@ -112,12 +112,13 @@
<string name="dialog_button_update_now">Mise à jour</string>
<string name="dialog_button_use_default">Par défaut</string>
<string name="dialog_button_use_palette">Utiliser la palette</string>
<string name="dialog_button_version_histories">Historique</string>
<string name="dialog_button_view_file">Voir le fichier</string>
<string name="dialog_title_color_details">Détails de la couleur</string>
<string name="dialog_title_color_palette">Palette de couleurs</string>
<string name="dialog_title_theme_color_details">Détails de la couleur du thème</string>
<string name="edit_and_run_handle_intent_error">Cannot process file</string>
<string name="edit_exit_without_save_warn">Le contenu n\'a pas été enregistré, êtes-vous sûr de vouloir quitter?</string>
<string name="edit_exit_without_save_warn">Le contenu n\'a pas été enregistré, êtes-vous sûr de vouloir quitter ?</string>
<string name="entry_app_language_auto">Suivre le système</string>
<string name="entry_documentation_source_local">Documents locaux</string>
<string name="entry_documentation_source_online">Documents en ligne</string>
@@ -367,6 +368,7 @@
<string name="text_all_files_access_is_needed">L\'option \"Accès à tous les fichiers\" est nécessaire pour accéder aux fichiers de script sur le téléphone.</string>
<string name="text_all_histories">Tous les historiques</string>
<string name="text_all_histories_cleared">Tous les historiques ont été effacés</string>
<string name="text_all_items_cleared">Tous les éléments ont été effacés</string>
<string name="text_already_copied_to_clip">Copié dans le presse-papiers</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">Déjà copié dans le presse-papiers (seulement les derniers %d éléments)</string>
<string name="text_already_created">Créé</string>
@@ -469,10 +471,11 @@
<string name="text_compatibility">Compatibilité</string>
<string name="text_config">Configuration</string>
<string name="text_confirm_to_clear_all_histories">Êtes-vous sûr de vouloir effacer tous les historiques ?</string>
<string name="text_confirm_to_clear_all_items">Voulez-vous vraiment effacer tous les éléments ?</string>
<string name="text_confirm_to_clear_histories_of">Tous les historiques ci-dessous seront effacés\n\n[ %1$s ]\n\nÊtes-vous sûr de vouloir les effacer ?</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">Tous les historiques ci-dessous seront effacés\n\n[ Toutes les bibliothèques de couleurs ]\n\nÊtes-vous sûr de vouloir les effacer ?</string>
<string name="text_confirm_to_delete">Vous êtes sûr de vouloir supprimer?</string>
<string name="text_confirm_to_remove">Etes-vous sûr de supprimer?</string>
<string name="text_confirm_to_delete">Vous êtes sûr de vouloir supprimer ?</string>
<string name="text_confirm_to_remove">Etes-vous sûr de supprimer ?</string>
<string name="text_connect_to_pc">Connexion au PC</string>
<string name="text_connection_cannot_be_established">La connexion ne peut pas être établie</string>
<string name="text_console">Console</string>
@@ -518,6 +521,7 @@
<string name="text_device_model">Modèle de l\'appareil</string>
<string name="text_device_name">Nom de l\'appareil</string>
<string name="text_device_product_name">Nom du produit de l\'appareil</string>
<string name="text_device_screen_resolution">Résolution d\'écran de l\'appareil</string>
<string name="text_directly_download">Téléchargement immédiat</string>
<string name="text_directory">Directory</string>
<string name="text_display_over_other_app">Affichage sur les autres apps</string>
@@ -837,6 +841,7 @@
<string name="text_please_choose_a_script">Choisissez un script</string>
<string name="text_please_input_name">Nom de l\'entrée</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">Veuillez patienter...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">Veuillez réessayer cette opération plus tard...</string>
<string name="text_pointer_location">L\'emplacement du pointeur</string>
<string name="text_pointer_location_toggle_failed_with_hint">Toggle \"pointer location\" failed.\nL\'accès à la racine est nécessaire.</string>
<string name="text_post_notifications_permission">Notifications postales</string>

View File

@@ -113,6 +113,7 @@
<string name="dialog_button_update_now">更新</string>
<string name="dialog_button_use_default">デフォルトを使用</string>
<string name="dialog_button_use_palette">パレットを使う</string>
<string name="dialog_button_version_histories">更新履歴</string>
<string name="dialog_button_view_file">ファイルの表示</string>
<string name="dialog_title_color_details">カラー詳細</string>
<string name="dialog_title_color_palette">カラーパレット</string>
@@ -368,6 +369,7 @@
<string name="text_all_files_access_is_needed">携帯電話上のスクリプトファイルにアクセスするために, \"すべてのファイルへのアクセス\" が必要です</string>
<string name="text_all_histories">すべての履歴</string>
<string name="text_all_histories_cleared">すべての履歴がクリアされました</string>
<string name="text_all_items_cleared">すべての項目を削除しました</string>
<string name="text_already_copied_to_clip">クリップボードにコピーされる</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">既にクリップボードにコピーされました (最新の %d アイテムのみ)</string>
<string name="text_already_created">作成</string>
@@ -470,6 +472,7 @@
<string name="text_compatibility">互換性</string>
<string name="text_config">設定</string>
<string name="text_confirm_to_clear_all_histories">すべての履歴をクリアしてもよろしいですか?</string>
<string name="text_confirm_to_clear_all_items">すべての項目を削除しますか?</string>
<string name="text_confirm_to_clear_histories_of">以下の履歴がクリアされます\n\n[ %1$s ]\n\n本当にクリアしてもよろしいですか?</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">以下の履歴がクリアされます\n\n[ すべてのカラーライブラリ ]\n\n本当にクリアしてもよろしいですか?</string>
<string name="text_confirm_to_delete">本当に削除しますか?</string>
@@ -519,6 +522,7 @@
<string name="text_device_model">デバイスのモデル</string>
<string name="text_device_name">デバイス名</string>
<string name="text_device_product_name">デバイスの製品名</string>
<string name="text_device_screen_resolution">デバイスの画面解像度</string>
<string name="text_directly_download">今すぐダウンロード</string>
<string name="text_directory">ディレクトリ</string>
<string name="text_display_over_other_app">他のアプリの上に表示する</string>
@@ -838,6 +842,7 @@
<string name="text_please_choose_a_script">スクリプトを選択してください</string>
<string name="text_please_input_name">入力名</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">しばらくお待ちください...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">しばらくしてからもう一度お試しください...</string>
<string name="text_pointer_location">ポインターの位置</string>
<string name="text_pointer_location_toggle_failed_with_hint">トグル「ポインターの位置」に失敗しました.\nroot 権限が必要です</string>
<string name="text_post_notifications_permission">ゆうびんけいほう</string>

View File

@@ -114,6 +114,7 @@
<string name="dialog_button_update_now">업데이트</string>
<string name="dialog_button_use_default">기본값을 사용하십시오</string>
<string name="dialog_button_use_palette">팔레트 사용</string>
<string name="dialog_button_version_histories">변경내역</string>
<string name="dialog_button_view_file">파일 보기</string>
<string name="dialog_title_color_details">색상 세부정보</string>
<string name="dialog_title_color_palette">색상 팔레트</string>
@@ -369,6 +370,7 @@
<string name="text_all_files_access_is_needed">\"모든 파일 액세스\"는 전화기의 스크립트 파일에 액세스하려면 필요합니다.</string>
<string name="text_all_histories">모든 기록</string>
<string name="text_all_histories_cleared">모든 기록이 삭제되었습니다</string>
<string name="text_all_items_cleared">모든 항목이 삭제되었습니다</string>
<string name="text_already_copied_to_clip">클립 보드에 복사</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">클립보드에 이미 복사되었습니다(최신 %d 항목만)</string>
<string name="text_already_created">만들어진</string>
@@ -471,6 +473,7 @@
<string name="text_compatibility">호환성</string>
<string name="text_config">구성</string>
<string name="text_confirm_to_clear_all_histories">모든 기록을 삭제하시겠습니까?</string>
<string name="text_confirm_to_clear_all_items">모든 항목을 삭제하시겠습니까?</string>
<string name="text_confirm_to_clear_histories_of">다음 기록들이 삭제됩니다\n\n[ %1$s ]\n\n정말 삭제하시겠습니까?</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">다음 기록들이 삭제됩니다\n\n[ 모든 색상 라이브러리 ]\n\n정말 삭제하시겠습니까?</string>
<string name="text_confirm_to_delete">삭제 하시겠습니까?</string>
@@ -520,6 +523,7 @@
<string name="text_device_model">기기 모델</string>
<string name="text_device_name">장치 이름</string>
<string name="text_device_product_name">장치 제품 이름</string>
<string name="text_device_screen_resolution">기기 화면 해상도</string>
<string name="text_directly_download">지금 다운로드하십시오</string>
<string name="text_directory">예배 규칙서</string>
<string name="text_display_over_other_app">다른 앱에 표시됩니다</string>
@@ -839,6 +843,7 @@
<string name="text_please_choose_a_script">스크립트를 선택하십시오</string>
<string name="text_please_input_name">입력 이름</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">잠시만 기다려주세요...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">잠시 후 다시 시도해 주세요...</string>
<string name="text_pointer_location">포인터 위치</string>
<string name="text_pointer_location_toggle_failed_with_hint">\"포인터 위치\"토글이 실패했습니다.\n루트 액세스가 필요합니다.</string>
<string name="text_post_notifications_permission">게시물 알림</string>

View File

@@ -43,7 +43,7 @@
<color name="about_app_function_buttons">#A9A9A9</color>
<color name="about_app_version_info">@color/about_app_function_buttons</color>
<color name="about_app_dev_info_dialog_background">#DE102027</color>
<color name="about_app_dev_info_dialog_background">#DE191919</color>
<color name="github_avatar_border">#26E2E5EA</color>
<color name="github_color_fg_default">@color/prefTextColorPrimary</color>
<color name="github_color_fg_muted">@color/prefTextColorSecondary</color>

View File

@@ -112,6 +112,7 @@
<string name="dialog_button_update_now">Обновить</string>
<string name="dialog_button_use_default">Использовать по умолчанию</string>
<string name="dialog_button_use_palette">Использовать палитру</string>
<string name="dialog_button_version_histories">История</string>
<string name="dialog_button_view_file">Просмотр файла</string>
<string name="dialog_title_color_details">Детали цвета</string>
<string name="dialog_title_color_palette">Цветовая палитра</string>
@@ -367,6 +368,7 @@
<string name="text_all_files_access_is_needed">\"Доступ ко всем файлам\" необходим для доступа к файлам сценариев на телефоне</string>
<string name="text_all_histories">Вся история</string>
<string name="text_all_histories_cleared">Вся история очищена</string>
<string name="text_all_items_cleared">Все элементы удалены</string>
<string name="text_already_copied_to_clip">Скопировано в буфер обмена</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">Уже скопировано в буфер обмена (только последние %d элементов)</string>
<string name="text_already_created">Создано</string>
@@ -469,6 +471,7 @@
<string name="text_compatibility">Совместимость</string>
<string name="text_config">Конфигурация</string>
<string name="text_confirm_to_clear_all_histories">Вы уверены, что хотите очистить всю историю?</string>
<string name="text_confirm_to_clear_all_items">Вы уверены, что хотите удалить все элементы?</string>
<string name="text_confirm_to_clear_histories_of">Будут очищены следующие элементы истории\n\n[ %1$s ]\n\nВы уверены, что хотите очистить их?</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">Будут очищены следующие элементы истории\n\n[ Все цветовые библиотеки ]\n\nВы уверены, что хотите их очистить?</string>
<string name="text_confirm_to_delete">Вы уверены, что хотите удалить?</string>
@@ -518,6 +521,7 @@
<string name="text_device_model">Модель устройства</string>
<string name="text_device_name">Название устройства</string>
<string name="text_device_product_name">Название продукта устройства</string>
<string name="text_device_screen_resolution">Разрешение экрана устройства</string>
<string name="text_directly_download">Загрузить сейчас</string>
<string name="text_directory">Каталог</string>
<string name="text_display_over_other_app">Отображать поверх других приложений</string>
@@ -837,6 +841,7 @@
<string name="text_please_choose_a_script">Выберите сценарий</string>
<string name="text_please_input_name">Имя ввода</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">Пожалуйста, подождите...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">Пожалуйста, повторите попытку позже...</string>
<string name="text_pointer_location">Расположение указателя</string>
<string name="text_pointer_location_toggle_failed_with_hint">Переключение \"Расположение указателя\" не удалось.\nТребуется корневой доступ.</string>
<string name="text_post_notifications_permission">почтовые уведомления</string>

View File

@@ -110,6 +110,7 @@
<string name="dialog_button_update_now">立即更新</string>
<string name="dialog_button_use_default">使用默認值</string>
<string name="dialog_button_use_palette">使用調色盤</string>
<string name="dialog_button_version_histories">版本歷史</string>
<string name="dialog_button_view_file">查看文件</string>
<string name="dialog_title_color_details">顏色詳情</string>
<string name="dialog_title_color_palette">調色盤</string>
@@ -365,6 +366,7 @@
<string name="text_all_files_access_is_needed">需要授予 \"所有文件管理權限\" 才能正常讀寫腳本文件</string>
<string name="text_all_histories">全部歷史記錄</string>
<string name="text_all_histories_cleared">歷史記錄已清空</string>
<string name="text_all_items_cleared">全部記錄已清空</string>
<string name="text_already_copied_to_clip">已複製到剪貼板</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">已複製到剪貼板 (僅最新的 %d 個條目)</string>
<string name="text_already_created">已創建</string>
@@ -467,6 +469,7 @@
<string name="text_compatibility">兼容性</string>
<string name="text_config">配置</string>
<string name="text_confirm_to_clear_all_histories">是否確定清空歷史記錄</string>
<string name="text_confirm_to_clear_all_items">是否確定清空全部記錄</string>
<string name="text_confirm_to_clear_histories_of">以下歷史記錄將被清空\n\n[ %1$s ]\n\n是否確定清空</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">以下歷史記錄將被清空\n\n[ 全部顏色庫 ]\n\n是否確定清空</string>
<string name="text_confirm_to_delete">是否確定刪除</string>
@@ -516,6 +519,7 @@
<string name="text_device_model">設備型號</string>
<string name="text_device_name">設備名稱</string>
<string name="text_device_product_name">設備產品名稱</string>
<string name="text_device_screen_resolution">設備屏幕分辨率</string>
<string name="text_directly_download">直接下載</string>
<string name="text_directory">文件夾</string>
<string name="text_display_over_other_app">顯示在其他應用上層</string>
@@ -835,6 +839,7 @@
<string name="text_please_choose_a_script">請選擇腳本</string>
<string name="text_please_input_name">請輸入名稱</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">請稍候...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">請稍後再嘗試此操作...</string>
<string name="text_pointer_location">指針位置</string>
<string name="text_pointer_location_toggle_failed_with_hint">切換 \"指針位置\" 顯示狀態失敗\n可能缺少 root 權限</string>
<string name="text_post_notifications_permission">發佈通知權限</string>

View File

@@ -110,6 +110,7 @@
<string name="dialog_button_update_now">立即更新</string>
<string name="dialog_button_use_default">使用預設值</string>
<string name="dialog_button_use_palette">使用調色盤</string>
<string name="dialog_button_version_histories">版本歷史</string>
<string name="dialog_button_view_file">檢視檔案</string>
<string name="dialog_title_color_details">顏色詳情</string>
<string name="dialog_title_color_palette">調色盤</string>
@@ -365,6 +366,7 @@
<string name="text_all_files_access_is_needed">需要授予 \"所有檔案管理許可權\" 才能正常讀寫指令碼檔案</string>
<string name="text_all_histories">全部歷史記錄</string>
<string name="text_all_histories_cleared">歷史記錄已清空</string>
<string name="text_all_items_cleared">全部記錄已清空</string>
<string name="text_already_copied_to_clip">已複製到剪貼簿</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">已複製到剪貼簿 (僅最新的 %d 個條目)</string>
<string name="text_already_created">已建立</string>
@@ -467,6 +469,7 @@
<string name="text_compatibility">相容性</string>
<string name="text_config">配置</string>
<string name="text_confirm_to_clear_all_histories">是否確定清空歷史記錄</string>
<string name="text_confirm_to_clear_all_items">是否確定清空全部記錄</string>
<string name="text_confirm_to_clear_histories_of">以下歷史記錄將被清空\n\n[ %1$s ]\n\n是否確定清空</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">以下歷史記錄將被清空\n\n[ 全部顏色庫 ]\n\n是否確定清空</string>
<string name="text_confirm_to_delete">是否確定刪除</string>
@@ -516,6 +519,7 @@
<string name="text_device_model">裝置型號</string>
<string name="text_device_name">裝置名稱</string>
<string name="text_device_product_name">裝置產品名稱</string>
<string name="text_device_screen_resolution">裝置螢幕解析度</string>
<string name="text_directly_download">直接下載</string>
<string name="text_directory">資料夾</string>
<string name="text_display_over_other_app">顯示在其他應用上層</string>
@@ -835,6 +839,7 @@
<string name="text_please_choose_a_script">請選擇指令碼</string>
<string name="text_please_input_name">請輸入名稱</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">請稍候...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">請稍後再嘗試此操作...</string>
<string name="text_pointer_location">指標位置</string>
<string name="text_pointer_location_toggle_failed_with_hint">切換 \"指標位置\" 顯示狀態失敗\n可能缺少 root 許可權</string>
<string name="text_post_notifications_permission">釋出通知許可權</string>

View File

@@ -110,6 +110,7 @@
<string name="dialog_button_update_now">立即更新</string>
<string name="dialog_button_use_default">使用默认值</string>
<string name="dialog_button_use_palette">使用调色盘</string>
<string name="dialog_button_version_histories">版本历史</string>
<string name="dialog_button_view_file">查看文件</string>
<string name="dialog_title_color_details">颜色详情</string>
<string name="dialog_title_color_palette">调色盘</string>
@@ -365,6 +366,7 @@
<string name="text_all_files_access_is_needed">需要授予 \"所有文件管理权限\" 才能正常读写脚本文件</string>
<string name="text_all_histories">全部历史记录</string>
<string name="text_all_histories_cleared">历史记录已清空</string>
<string name="text_all_items_cleared">全部记录已清空</string>
<string name="text_already_copied_to_clip">已复制到剪贴板</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">已复制到剪贴板 (仅最新的 %d 个条目)</string>
<string name="text_already_created">已创建</string>
@@ -467,6 +469,7 @@
<string name="text_compatibility">兼容性</string>
<string name="text_config">配置</string>
<string name="text_confirm_to_clear_all_histories">是否确定清空历史记录</string>
<string name="text_confirm_to_clear_all_items">是否确定清空全部记录</string>
<string name="text_confirm_to_clear_histories_of">以下历史记录将被清空\n\n[ %1$s ]\n\n是否确定清空</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">以下历史记录将被清空\n\n[ 全部颜色库 ]\n\n是否确定清空</string>
<string name="text_confirm_to_delete">是否确定删除</string>
@@ -516,6 +519,7 @@
<string name="text_device_model">设备型号</string>
<string name="text_device_name">设备名称</string>
<string name="text_device_product_name">设备产品名称</string>
<string name="text_device_screen_resolution">设备屏幕分辨率</string>
<string name="text_directly_download">直接下载</string>
<string name="text_directory">文件夹</string>
<string name="text_display_over_other_app">显示在其他应用上层</string>
@@ -835,6 +839,7 @@
<string name="text_please_choose_a_script">请选择脚本</string>
<string name="text_please_input_name">请输入名称</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">请稍候...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">请稍后再尝试此操作...</string>
<string name="text_pointer_location">指针位置</string>
<string name="text_pointer_location_toggle_failed_with_hint">切换 \"指针位置\" 显示状态失败\n可能缺少 root 权限</string>
<string name="text_post_notifications_permission">发布通知权限</string>

View File

@@ -23,7 +23,9 @@
<attr name="neutralText" format="string" />
<attr name="neutralTextShort" format="string" />
<attr name="negativeText" format="string" />
<attr name="negativeColor" format="color" />
<attr name="positiveText" format="string" />
<attr name="positiveColor" format="color" />
<attr name="onConfirmPrompt" format="string" />
</declare-styleable>
@@ -37,7 +39,9 @@
<attr name="dialogContent" />
<attr name="neutralText" />
<attr name="negativeText" />
<attr name="negativeColor" />
<attr name="positiveText" />
<attr name="positiveColor" />
<attr name="onConfirmPrompt" />
<attr name="itemKeys" format="reference" />
<attr name="itemValues" format="reference" />

View File

@@ -2,6 +2,7 @@
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="about_item_avatar_side_length">50dp</dimen>
<dimen name="about_item_avatar_side_length_land">60dp</dimen>
<dimen name="about_item_avatar_side_length_land_compact">57dp</dimen>
<dimen name="content_inset">16dp</dimen>
<dimen name="divider_drawer_menu_group">6dp</dimen>
<dimen name="fab_margin">16dp</dimen>
@@ -10,7 +11,9 @@
<dimen name="github_font_size_full_name">18sp</dimen>
<dimen name="github_font_size_nickname">15sp</dimen>
<dimen name="icon_developer_identifier_image_padding">5dp</dimen>
<dimen name="icon_developer_identifier_image_padding_compact">4dp</dimen>
<dimen name="icon_developer_identifier_image_side_length">48dp</dimen>
<dimen name="icon_developer_identifier_image_side_length_compact">40dp</dimen>
<dimen name="level_beam_view_line_offset">3dp</dimen>
<dimen name="level_beam_view_line_width">2dp</dimen>
<dimen name="level_beam_view_padding_left">2dp</dimen>

View File

@@ -90,6 +90,7 @@
<string name="key_enable_a11y_service_with_root_access" translatable="false">key_$_enable_a11y_service_with_root_access</string>
<string name="key_enable_a11y_service_with_secure_settings" translatable="false">key_$_enable_a11y_service_with_secure_settings</string>
<string name="key_enable_observe_key" translatable="false">key_$_enable_observe_key</string>
<string name="key_explorer_file_default_prefix" translatable="false">key_$_explorer_file_default_prefix</string>
<string name="key_extending_js_build_in_objects" translatable="false">key_$_extending_js_build_in_objects</string>
<string name="key_file_extensions" translatable="false">key_$_file_extensions</string>
<string name="key_file_extensions_not_show" translatable="false">key_$_file_extensions_not_show</string>
@@ -339,6 +340,7 @@
<string name="dialog_button_update_now">Update</string>
<string name="dialog_button_use_default">Use default</string>
<string name="dialog_button_use_palette">Use palette</string>
<string name="dialog_button_version_histories">Histories</string>
<string name="dialog_button_view_file">View File</string>
<string name="dialog_title_color_details">Color details</string>
<string name="dialog_title_color_palette">Color palette</string>
@@ -594,6 +596,7 @@
<string name="text_all_files_access_is_needed">\"All files access\" is needed to access script files on the phone</string>
<string name="text_all_histories">All histories</string>
<string name="text_all_histories_cleared">All histories have been cleared</string>
<string name="text_all_items_cleared">All items have been cleared</string>
<string name="text_already_copied_to_clip">Copied to clipboard</string>
<string name="text_already_copied_to_clip_but_only_latest_few_items">Already copied to clipboard (only latest %d items)</string>
<string name="text_already_created">Created</string>
@@ -696,6 +699,7 @@
<string name="text_compatibility">Compatibility</string>
<string name="text_config">Config</string>
<string name="text_confirm_to_clear_all_histories">Are you sure to clear all histories?</string>
<string name="text_confirm_to_clear_all_items">Are you sure to clear all items?</string>
<string name="text_confirm_to_clear_histories_of">All histories below will be cleared\n\n[ %1$s ]\n\nAre you sure to clear them all?</string>
<string name="text_confirm_to_clear_histories_of_all_color_libraries">All histories below will be cleared\n\n[ All color libraries ]\n\nAre you sure to clear them all?</string>
<string name="text_confirm_to_delete">Are you sure to delete?</string>
@@ -745,6 +749,7 @@
<string name="text_device_model">Device model</string>
<string name="text_device_name">Device name</string>
<string name="text_device_product_name">Device product name</string>
<string name="text_device_screen_resolution">Device screen resolution</string>
<string name="text_directly_download">Download now</string>
<string name="text_directory">Directory</string>
<string name="text_display_over_other_app">Display over other apps</string>
@@ -1064,6 +1069,7 @@
<string name="text_please_choose_a_script">Choose a script</string>
<string name="text_please_input_name">Input name</string>
<string name="text_please_wait" tools:ignore="TypographyEllipsis">Please wait...</string>
<string name="text_please_wait_a_moment_before_trying_again" tools:ignore="TypographyEllipsis">Please wait a moment before trying again...</string>
<string name="text_pointer_location">Pointer location</string>
<string name="text_pointer_location_toggle_failed_with_hint">Toggle \"pointer location\" failed.\nRoot access is required.</string>
<string name="text_post_notifications_permission">Post notifications</string>

View File

@@ -183,6 +183,16 @@
<item name="android:tint">@color/night_full</item>
</style>
<style name="PopupMenu.HideIndicator" parent="@style/ThemeOverlay.AppCompat.DayNight">
<item name="android:radioButtonStyle">@style/PopupMenu.Radio.Null</item>
<item name="android:checkboxStyle">@style/PopupMenu.Radio.Null</item>
<item name="android:textColor">@color/day_night</item>
</style>
<style name="PopupMenu.Radio.Null" parent="@style/Widget.AppCompat.CompoundButton.RadioButton">
<item name="android:button">@null</item>
</style>
<style name="SearchViewActionBar" parent="@style/Widget.AppCompat.SearchView.ActionBar" />
<style name="Material3DarkTheme" parent="@style/Theme.Material3.Dark" />

View File

@@ -241,6 +241,7 @@
app:summary="@string/summary_about_app_tips"
app:dialogContent="@string/content_about_app_tips"
app:positiveText="@string/dialog_button_dismiss"
app:positiveColor="@color/dialog_button_default"
app:longClickPrompt="@string/description_about_app_tips_preference" />
<org.autojs.autojs.ui.settings.AboutAppAndDeveloperPreference