mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-13 20:01:17 +08:00
Compare commits
6 Commits
l10n_main
...
12848808d3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12848808d3 | ||
|
|
7f23f07209 | ||
|
|
54b31ea478 | ||
|
|
44e6995da1 | ||
|
|
12e76869dd | ||
|
|
97212d74d3 |
50
.github/workflows/dev.yml
vendored
Normal file
50
.github/workflows/dev.yml
vendored
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
name: Dev
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ "main" ]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: set up JDK 11
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
java-version: '11'
|
||||||
|
distribution: 'temurin'
|
||||||
|
cache: gradle
|
||||||
|
|
||||||
|
- name: Grant execute permission for gradlew
|
||||||
|
run: chmod +x gradlew
|
||||||
|
|
||||||
|
- name: Clone UI
|
||||||
|
run: |
|
||||||
|
cd blockmiui
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: |
|
||||||
|
bash ./gradlew assembleDebug
|
||||||
|
|
||||||
|
- name: Sign Debug APK
|
||||||
|
if: success()
|
||||||
|
id: sign_debug
|
||||||
|
uses: r0adkll/sign-android-release@v1.0.4
|
||||||
|
with:
|
||||||
|
releaseDirectory: ./app/build/outputs/apk/debug
|
||||||
|
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
|
||||||
|
alias: ${{ secrets.KEY_STORE_ALIAS }}
|
||||||
|
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
|
keyPassword: ${{ secrets.KEY_STORE_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Upload Debug APK
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: WooBox_Debug
|
||||||
|
path: ${{ steps.sign_debug.outputs.signedReleaseFile }}
|
||||||
@@ -12,10 +12,9 @@ import cn.fkj233.ui.activity.view.TextSummaryV
|
|||||||
import cn.fkj233.ui.activity.view.TextV
|
import cn.fkj233.ui.activity.view.TextV
|
||||||
import cn.fkj233.ui.dialog.MIUIDialog
|
import cn.fkj233.ui.dialog.MIUIDialog
|
||||||
import com.lt2333.simplicitytools.R
|
import com.lt2333.simplicitytools.R
|
||||||
import java.util.HashMap
|
|
||||||
|
|
||||||
|
|
||||||
@BMPage("scope_systemui","System UI", hideMenu = false)
|
@BMPage("scope_systemui", "System UI", hideMenu = false)
|
||||||
class SystemUIPageForS : BasePage() {
|
class SystemUIPageForS : BasePage() {
|
||||||
|
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
@@ -54,11 +53,10 @@ class SystemUIPageForS : BasePage() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
val layoutCompatibilityModeBinding = GetDataBinding({
|
val layoutCompatibilityBinding = GetDataBinding({
|
||||||
MIUIActivity.safeSP.getInt(
|
MIUIActivity.safeSP.getBoolean(
|
||||||
"screen_hole_location",
|
"layout_compatibility_mode", false
|
||||||
0
|
)
|
||||||
) == 2
|
|
||||||
}) { view, flags, data ->
|
}) { view, flags, data ->
|
||||||
when (flags) {
|
when (flags) {
|
||||||
1 -> (view as Switch).isEnabled = data as Boolean
|
1 -> (view as Switch).isEnabled = data as Boolean
|
||||||
@@ -66,57 +64,23 @@ class SystemUIPageForS : BasePage() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val screenHoleLocation: HashMap<Int, String> = hashMapOf<Int, String>().also {
|
TextSummaryWithSwitch(
|
||||||
it[0] = getString(R.string.off)
|
|
||||||
it[1] = getString(R.string.center)
|
|
||||||
it[2] = getString(R.string.left_or_right)
|
|
||||||
}
|
|
||||||
TextSummaryWithSpinner(
|
|
||||||
TextSummaryV(
|
TextSummaryV(
|
||||||
textId = R.string.layout_compatibility_mode,
|
textId = R.string.layout_compatibility_mode, tipsId = R.string.layout_compatibility_mode_summary
|
||||||
tipsId = R.string.screen_hole_location
|
), SwitchV("layout_compatibility_mode", dataBindingSend = layoutCompatibilityBinding.bindingSend)
|
||||||
),
|
)
|
||||||
SpinnerV(
|
|
||||||
screenHoleLocation[MIUIActivity.safeSP.getInt(
|
|
||||||
"screen_hole_location",
|
|
||||||
0
|
|
||||||
)].toString()
|
|
||||||
) {
|
|
||||||
add(screenHoleLocation[0].toString()) {
|
|
||||||
MIUIActivity.safeSP.putAny("screen_hole_location", 0)
|
|
||||||
layoutCompatibilityModeBinding.binding.Send().send(false)
|
|
||||||
}
|
|
||||||
add(screenHoleLocation[1].toString()) {
|
|
||||||
MIUIActivity.safeSP.putAny("screen_hole_location", 1)
|
|
||||||
layoutCompatibilityModeBinding.binding.Send().send(false)
|
|
||||||
}
|
|
||||||
add(screenHoleLocation[2].toString()) {
|
|
||||||
MIUIActivity.safeSP.putAny("screen_hole_location", 2)
|
|
||||||
layoutCompatibilityModeBinding.binding.Send().send(true)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
textId = R.string.left_margin,
|
textId = R.string.left_margin, dataBindingRecv = layoutCompatibilityBinding.binding.getRecv(2)
|
||||||
dataBindingRecv = layoutCompatibilityModeBinding.binding.getRecv(2)
|
|
||||||
)
|
)
|
||||||
SeekBarWithText(
|
SeekBarWithText(
|
||||||
"status_bar_left_margin",
|
"status_bar_left_margin", 0, 300, 0, dataBindingRecv = layoutCompatibilityBinding.binding.getRecv(2)
|
||||||
0,
|
|
||||||
300,
|
|
||||||
0,
|
|
||||||
dataBindingRecv = layoutCompatibilityModeBinding.binding.getRecv(2)
|
|
||||||
)
|
)
|
||||||
Text(
|
Text(
|
||||||
textId = R.string.right_margin,
|
textId = R.string.right_margin, dataBindingRecv = layoutCompatibilityBinding.binding.getRecv(2)
|
||||||
dataBindingRecv = layoutCompatibilityModeBinding.binding.getRecv(2)
|
|
||||||
)
|
)
|
||||||
SeekBarWithText(
|
SeekBarWithText(
|
||||||
"status_bar_right_margin",
|
"status_bar_right_margin", 0, 300, 0, dataBindingRecv = layoutCompatibilityBinding.binding.getRecv(2)
|
||||||
0,
|
|
||||||
300,
|
|
||||||
0,
|
|
||||||
dataBindingRecv = layoutCompatibilityModeBinding.binding.getRecv(2)
|
|
||||||
)
|
)
|
||||||
Line()
|
Line()
|
||||||
TitleText(textId = R.string.status_bar_clock_format)
|
TitleText(textId = R.string.status_bar_clock_format)
|
||||||
@@ -248,7 +212,11 @@ class SystemUIPageForS : BasePage() {
|
|||||||
TextSummaryWithArrow(TextSummaryV(textId = R.string.custom_clock_format_geek) {
|
TextSummaryWithArrow(TextSummaryV(textId = R.string.custom_clock_format_geek) {
|
||||||
MIUIDialog(activity) {
|
MIUIDialog(activity) {
|
||||||
setTitle(R.string.custom_clock_format_geek)
|
setTitle(R.string.custom_clock_format_geek)
|
||||||
setEditText(MIUIActivity.safeSP.getString("custom_clock_format_geek", "HH:mm:ss"), "", isSingleLine = false)
|
setEditText(
|
||||||
|
MIUIActivity.safeSP.getString("custom_clock_format_geek", "HH:mm:ss"),
|
||||||
|
"",
|
||||||
|
isSingleLine = false
|
||||||
|
)
|
||||||
setLButton(textId = R.string.cancel) {
|
setLButton(textId = R.string.cancel) {
|
||||||
dismiss()
|
dismiss()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.lt2333.simplicitytools.hooks.rules.s.systemui
|
package com.lt2333.simplicitytools.hooks.rules.s.systemui
|
||||||
|
|
||||||
|
|
||||||
import android.app.KeyguardManager
|
import android.app.KeyguardManager
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.res.Configuration
|
import android.content.res.Configuration
|
||||||
@@ -16,10 +17,11 @@ import com.lt2333.simplicitytools.utils.XSPUtils
|
|||||||
import com.lt2333.simplicitytools.utils.hasEnable
|
import com.lt2333.simplicitytools.utils.hasEnable
|
||||||
import com.lt2333.simplicitytools.utils.xposed.base.HookRegister
|
import com.lt2333.simplicitytools.utils.xposed.base.HookRegister
|
||||||
|
|
||||||
|
|
||||||
object StatusBarLayoutForS : HookRegister() {
|
object StatusBarLayoutForS : HookRegister() {
|
||||||
|
|
||||||
private val getMode = XSPUtils.getInt("status_bar_layout_mode", 0)
|
private val getMode = XSPUtils.getInt("status_bar_layout_mode", 0)
|
||||||
private val getHoleLocation = XSPUtils.getInt("screen_hole_location", 0)
|
private val isCompatibilityMode = XSPUtils.getBoolean("layout_compatibility_mode", false)
|
||||||
|
|
||||||
private var statusBarLeft = 0
|
private var statusBarLeft = 0
|
||||||
private var statusBarTop = 0
|
private var statusBarTop = 0
|
||||||
@@ -32,23 +34,31 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
var mCenterLayout: LinearLayout?
|
var mCenterLayout: LinearLayout?
|
||||||
var statusBar: ViewGroup? = null
|
var statusBar: ViewGroup? = null
|
||||||
|
|
||||||
fun updateLayout(context: Context) {
|
//判断屏幕状态更新布局 mode: 1正常布局 2居中布局
|
||||||
//判断屏幕方向
|
fun updateLayout(context: Context,mode: Int) {
|
||||||
val mConfiguration: Configuration = context.resources.configuration
|
when(mode){
|
||||||
if (mConfiguration.orientation == Configuration.ORIENTATION_PORTRAIT) {
|
1->{
|
||||||
mLeftLayout!!.setPadding(statusBarLeft, 0, 0, 0)
|
val mConfiguration: Configuration = context.resources.configuration
|
||||||
mRightLayout!!.setPadding(0, 0, statusBarRight, 0)
|
if (mConfiguration.orientation == Configuration.ORIENTATION_PORTRAIT) { //横屏
|
||||||
statusBar!!.setPadding(0, statusBarTop, 0, statusBarBottom)
|
statusBar!!.setPadding(statusBarLeft, statusBarTop, statusBarRight, statusBarBottom)
|
||||||
} else {
|
}
|
||||||
//横屏状态
|
}
|
||||||
mLeftLayout!!.setPadding(175, 0, 0, 0)
|
2->{
|
||||||
mRightLayout!!.setPadding(0, 0, 175, 0)
|
val mConfiguration: Configuration = context.resources.configuration
|
||||||
statusBar!!.setPadding(0, statusBarTop, 0, statusBarBottom)
|
if (mConfiguration.orientation == Configuration.ORIENTATION_PORTRAIT) { //横屏
|
||||||
|
mLeftLayout!!.setPadding(statusBarLeft, 0, 0, 0)
|
||||||
|
mRightLayout!!.setPadding(0, 0, statusBarRight, 0)
|
||||||
|
statusBar!!.setPadding(0, statusBarTop, 0, statusBarBottom)
|
||||||
|
}else{ //竖屏
|
||||||
|
mLeftLayout!!.setPadding(0, 0, 0, 0)
|
||||||
|
mRightLayout!!.setPadding(0, 0, 0, 0)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//判断是否开启居中挖孔兼容模式
|
//判断是否开启挖孔兼容模式
|
||||||
if (getHoleLocation == 1) {
|
if (isCompatibilityMode) {
|
||||||
findMethod("com.android.systemui.ScreenDecorations\$DisplayCutoutView") {
|
findMethod("com.android.systemui.ScreenDecorations\$DisplayCutoutView") {
|
||||||
name == "boundsFromDirection" && parameterCount == 3 && isStatic
|
name == "boundsFromDirection" && parameterCount == 3 && isStatic
|
||||||
}.hookBefore {
|
}.hookBefore {
|
||||||
@@ -56,48 +66,83 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//修改对应布局
|
||||||
when (getMode) {
|
when (getMode) {
|
||||||
//默认
|
//默认
|
||||||
0 -> return
|
0 -> {
|
||||||
|
|
||||||
|
findMethod("com.android.systemui.statusbar.phone.CollapsedStatusBarFragment") {
|
||||||
|
name == "onViewCreated" && parameterCount == 2
|
||||||
|
}.hookAfter { param ->
|
||||||
|
val miuiPhoneStatusBarView = param.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
||||||
|
val context: Context = miuiPhoneStatusBarView.context
|
||||||
|
val res: Resources = miuiPhoneStatusBarView.resources
|
||||||
|
val statusBarId: Int = res.getIdentifier("status_bar", "id", "com.android.systemui")
|
||||||
|
statusBar = miuiPhoneStatusBarView.findViewById(statusBarId)
|
||||||
|
if (statusBar == null) return@hookAfter
|
||||||
|
|
||||||
|
statusBarLeft = statusBar!!.paddingLeft
|
||||||
|
statusBarTop = statusBar!!.paddingTop
|
||||||
|
statusBarRight = statusBar!!.paddingRight
|
||||||
|
statusBarBottom = statusBar!!.paddingBottom
|
||||||
|
|
||||||
|
|
||||||
|
if (isCompatibilityMode) {
|
||||||
|
val customLeftMargin = XSPUtils.getInt("status_bar_left_margin", 0)
|
||||||
|
if (customLeftMargin != 0) {
|
||||||
|
statusBarLeft = customLeftMargin
|
||||||
|
}
|
||||||
|
|
||||||
|
val customRightMargin = XSPUtils.getInt("status_bar_right_margin", 0)
|
||||||
|
if (customRightMargin != 0) {
|
||||||
|
statusBarRight = customRightMargin
|
||||||
|
}
|
||||||
|
updateLayout(context,1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//兼容模式
|
||||||
|
findMethod("com.android.systemui.statusbar.phone.PhoneStatusBarView") {
|
||||||
|
name == "updateLayoutForCutout"
|
||||||
|
}.hookAfter {
|
||||||
|
if (isCompatibilityMode) {
|
||||||
|
val context = (it.thisObject as ViewGroup).context
|
||||||
|
updateLayout(context,1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
//时钟居中
|
//时钟居中
|
||||||
1 -> {
|
1 -> {
|
||||||
findMethod("com.android.systemui.statusbar.phone.CollapsedStatusBarFragment") {
|
findMethod("com.android.systemui.statusbar.phone.CollapsedStatusBarFragment") {
|
||||||
name == "onViewCreated" && parameterCount == 2
|
name == "onViewCreated" && parameterCount == 2
|
||||||
}.hookAfter { param ->
|
}.hookAfter { param ->
|
||||||
val miuiPhoneStatusBarView =
|
val miuiPhoneStatusBarView = param.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
||||||
param.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
|
||||||
val context: Context = miuiPhoneStatusBarView.context
|
val context: Context = miuiPhoneStatusBarView.context
|
||||||
val res: Resources = miuiPhoneStatusBarView.resources
|
val res: Resources = miuiPhoneStatusBarView.resources
|
||||||
val statusBarId: Int =
|
val statusBarId: Int = res.getIdentifier("status_bar", "id", "com.android.systemui")
|
||||||
res.getIdentifier("status_bar", "id", "com.android.systemui")
|
val statusBarContentsId: Int = res.getIdentifier(
|
||||||
val statusBarContentsId: Int =
|
"status_bar_contents", "id", "com.android.systemui"
|
||||||
res.getIdentifier("status_bar_contents", "id", "com.android.systemui")
|
)
|
||||||
val systemIconAreaId: Int =
|
val systemIconAreaId: Int = res.getIdentifier("system_icon_area", "id", "com.android.systemui")
|
||||||
res.getIdentifier("system_icon_area", "id", "com.android.systemui")
|
|
||||||
val clockId: Int = res.getIdentifier("clock", "id", "com.android.systemui")
|
val clockId: Int = res.getIdentifier("clock", "id", "com.android.systemui")
|
||||||
val phoneStatusBarLeftContainerId: Int =
|
val phoneStatusBarLeftContainerId: Int = res.getIdentifier(
|
||||||
res.getIdentifier(
|
"phone_status_bar_left_container", "id", "com.android.systemui"
|
||||||
"phone_status_bar_left_container",
|
)
|
||||||
"id",
|
val notificationIconAreaInnerId: Int = res.getIdentifier(
|
||||||
"com.android.systemui"
|
"notification_icon_area_inner", "id", "com.android.systemui"
|
||||||
)
|
)
|
||||||
val notificationIconAreaInnerId: Int =
|
|
||||||
res.getIdentifier(
|
|
||||||
"notification_icon_area_inner",
|
|
||||||
"id",
|
|
||||||
"com.android.systemui"
|
|
||||||
)
|
|
||||||
statusBar = miuiPhoneStatusBarView.findViewById(statusBarId)
|
statusBar = miuiPhoneStatusBarView.findViewById(statusBarId)
|
||||||
val statusBarContents: ViewGroup =
|
val statusBarContents: ViewGroup = miuiPhoneStatusBarView.findViewById(statusBarContentsId)
|
||||||
miuiPhoneStatusBarView.findViewById(statusBarContentsId)
|
|
||||||
if (statusBar == null) return@hookAfter
|
if (statusBar == null) return@hookAfter
|
||||||
val clock: TextView = miuiPhoneStatusBarView.findViewById(clockId)
|
val clock: TextView = miuiPhoneStatusBarView.findViewById(clockId)
|
||||||
val phoneStatusBarLeftContainer: ViewGroup =
|
val phoneStatusBarLeftContainer: ViewGroup = miuiPhoneStatusBarView.findViewById(
|
||||||
miuiPhoneStatusBarView.findViewById(phoneStatusBarLeftContainerId)
|
phoneStatusBarLeftContainerId
|
||||||
val notificationIconAreaInner: ViewGroup =
|
)
|
||||||
miuiPhoneStatusBarView.findViewById(notificationIconAreaInnerId)
|
val notificationIconAreaInner: ViewGroup = miuiPhoneStatusBarView.findViewById(
|
||||||
val systemIconArea: ViewGroup =
|
notificationIconAreaInnerId
|
||||||
miuiPhoneStatusBarView.findViewById(systemIconAreaId)
|
)
|
||||||
|
val systemIconArea: ViewGroup = miuiPhoneStatusBarView.findViewById(systemIconAreaId)
|
||||||
|
|
||||||
(clock.parent as ViewGroup).removeView(clock)
|
(clock.parent as ViewGroup).removeView(clock)
|
||||||
(phoneStatusBarLeftContainer.parent as ViewGroup).removeView(
|
(phoneStatusBarLeftContainer.parent as ViewGroup).removeView(
|
||||||
@@ -108,41 +153,39 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
)
|
)
|
||||||
(systemIconArea.parent as ViewGroup).removeView(systemIconArea)
|
(systemIconArea.parent as ViewGroup).removeView(systemIconArea)
|
||||||
|
|
||||||
val mConstraintLayout =
|
val mConstraintLayout = ConstraintLayout(context).also {
|
||||||
ConstraintLayout(context).also {
|
it.layoutParams = ConstraintLayout.LayoutParams(
|
||||||
it.layoutParams = ConstraintLayout.LayoutParams(
|
ConstraintLayout.LayoutParams.MATCH_PARENT, ConstraintLayout.LayoutParams.MATCH_PARENT
|
||||||
ConstraintLayout.LayoutParams.MATCH_PARENT,
|
)
|
||||||
ConstraintLayout.LayoutParams.MATCH_PARENT
|
}
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
mConstraintLayout.addView(notificationIconAreaInner)
|
mConstraintLayout.addView(notificationIconAreaInner)
|
||||||
|
|
||||||
val fullscreenNotificationIconAreaLp = LinearLayout.LayoutParams(
|
val fullscreenNotificationIconAreaLp = LinearLayout.LayoutParams(
|
||||||
ConstraintLayout.LayoutParams.MATCH_PARENT,
|
ConstraintLayout.LayoutParams.MATCH_PARENT, ConstraintLayout.LayoutParams.MATCH_PARENT
|
||||||
ConstraintLayout.LayoutParams.MATCH_PARENT
|
|
||||||
)
|
)
|
||||||
|
|
||||||
notificationIconAreaInner.layoutParams = fullscreenNotificationIconAreaLp
|
notificationIconAreaInner.layoutParams = fullscreenNotificationIconAreaLp
|
||||||
|
|
||||||
//增加一个左对齐布局
|
//增加一个左对齐布局
|
||||||
mLeftLayout = LinearLayout(context)
|
mLeftLayout = LinearLayout(context)
|
||||||
val leftLp: LinearLayout.LayoutParams =
|
val leftLp: LinearLayout.LayoutParams = LinearLayout.LayoutParams(
|
||||||
LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)
|
0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f
|
||||||
|
)
|
||||||
mLeftLayout!!.layoutParams = leftLp
|
mLeftLayout!!.layoutParams = leftLp
|
||||||
mLeftLayout!!.gravity = Gravity.START or Gravity.CENTER_VERTICAL
|
mLeftLayout!!.gravity = Gravity.START or Gravity.CENTER_VERTICAL
|
||||||
|
|
||||||
//增加一个居中布局
|
//增加一个居中布局
|
||||||
mCenterLayout = LinearLayout(context)
|
mCenterLayout = LinearLayout(context)
|
||||||
val centerLp: LinearLayout.LayoutParams = LinearLayout.LayoutParams(
|
val centerLp: LinearLayout.LayoutParams = LinearLayout.LayoutParams(
|
||||||
LinearLayout.LayoutParams.WRAP_CONTENT,
|
LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT
|
||||||
LinearLayout.LayoutParams.MATCH_PARENT
|
|
||||||
)
|
)
|
||||||
mCenterLayout!!.layoutParams = centerLp
|
mCenterLayout!!.layoutParams = centerLp
|
||||||
mCenterLayout!!.gravity = Gravity.CENTER or Gravity.CENTER_VERTICAL
|
mCenterLayout!!.gravity = Gravity.CENTER or Gravity.CENTER_VERTICAL
|
||||||
mRightLayout = LinearLayout(context)
|
mRightLayout = LinearLayout(context)
|
||||||
val rightLp: LinearLayout.LayoutParams =
|
val rightLp: LinearLayout.LayoutParams = LinearLayout.LayoutParams(
|
||||||
LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)
|
0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f
|
||||||
|
)
|
||||||
mRightLayout!!.layoutParams = rightLp
|
mRightLayout!!.layoutParams = rightLp
|
||||||
mRightLayout!!.gravity = Gravity.END or Gravity.CENTER_VERTICAL
|
mRightLayout!!.gravity = Gravity.END or Gravity.CENTER_VERTICAL
|
||||||
mLeftLayout!!.addView(phoneStatusBarLeftContainer)
|
mLeftLayout!!.addView(phoneStatusBarLeftContainer)
|
||||||
@@ -160,7 +203,7 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
statusBarBottom = statusBar!!.paddingBottom
|
statusBarBottom = statusBar!!.paddingBottom
|
||||||
|
|
||||||
|
|
||||||
if (getHoleLocation == 2) {
|
if (isCompatibilityMode) {
|
||||||
val customLeftMargin = XSPUtils.getInt("status_bar_left_margin", 0)
|
val customLeftMargin = XSPUtils.getInt("status_bar_left_margin", 0)
|
||||||
if (customLeftMargin != 0) {
|
if (customLeftMargin != 0) {
|
||||||
statusBarLeft = customLeftMargin
|
statusBarLeft = customLeftMargin
|
||||||
@@ -170,7 +213,7 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
if (customRightMargin != 0) {
|
if (customRightMargin != 0) {
|
||||||
statusBarRight = customRightMargin
|
statusBarRight = customRightMargin
|
||||||
}
|
}
|
||||||
updateLayout(context)
|
updateLayout(context,2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -179,7 +222,7 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
}.hookAfter {
|
}.hookAfter {
|
||||||
hasEnable("layout_compatibility_mode") {
|
hasEnable("layout_compatibility_mode") {
|
||||||
val context = (it.thisObject as ViewGroup).context
|
val context = (it.thisObject as ViewGroup).context
|
||||||
updateLayout(context)
|
updateLayout(context,2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -188,14 +231,12 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
findMethod("com.android.systemui.statusbar.phone.CollapsedStatusBarFragment") {
|
findMethod("com.android.systemui.statusbar.phone.CollapsedStatusBarFragment") {
|
||||||
name == "onViewCreated" && parameterCount == 2
|
name == "onViewCreated" && parameterCount == 2
|
||||||
}.hookAfter { param ->
|
}.hookAfter { param ->
|
||||||
val miuiPhoneStatusBarView =
|
val miuiPhoneStatusBarView = param.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
||||||
param.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
|
||||||
val context: Context = miuiPhoneStatusBarView.context
|
val context: Context = miuiPhoneStatusBarView.context
|
||||||
val res: Resources = miuiPhoneStatusBarView.resources
|
val res: Resources = miuiPhoneStatusBarView.resources
|
||||||
|
|
||||||
//组件ID
|
//组件ID
|
||||||
val statusBarId: Int =
|
val statusBarId: Int = res.getIdentifier("status_bar", "id", "com.android.systemui")
|
||||||
res.getIdentifier("status_bar", "id", "com.android.systemui")
|
|
||||||
val clockId: Int = res.getIdentifier("clock", "id", "com.android.systemui")
|
val clockId: Int = res.getIdentifier("clock", "id", "com.android.systemui")
|
||||||
val batteryId: Int = res.getIdentifier("battery", "id", "com.android.systemui")
|
val batteryId: Int = res.getIdentifier("battery", "id", "com.android.systemui")
|
||||||
|
|
||||||
@@ -207,8 +248,7 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
|
|
||||||
//新建布局
|
//新建布局
|
||||||
val rightLp = LinearLayout.LayoutParams(
|
val rightLp = LinearLayout.LayoutParams(
|
||||||
LinearLayout.LayoutParams.WRAP_CONTENT,
|
LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT
|
||||||
LinearLayout.LayoutParams.MATCH_PARENT
|
|
||||||
).also {
|
).also {
|
||||||
it.marginStart = dp2px(context, 5f)
|
it.marginStart = dp2px(context, 5f)
|
||||||
}
|
}
|
||||||
@@ -220,6 +260,36 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
battery.addView(mRightLayout)
|
battery.addView(mRightLayout)
|
||||||
(clock.parent as ViewGroup).removeView(clock)
|
(clock.parent as ViewGroup).removeView(clock)
|
||||||
mRightLayout!!.addView(clock)
|
mRightLayout!!.addView(clock)
|
||||||
|
|
||||||
|
|
||||||
|
statusBarLeft = statusBar!!.paddingLeft
|
||||||
|
statusBarTop = statusBar!!.paddingTop
|
||||||
|
statusBarRight = statusBar!!.paddingRight
|
||||||
|
statusBarBottom = statusBar!!.paddingBottom
|
||||||
|
|
||||||
|
|
||||||
|
if (isCompatibilityMode) {
|
||||||
|
val customLeftMargin = XSPUtils.getInt("status_bar_left_margin", 0)
|
||||||
|
if (customLeftMargin != 0) {
|
||||||
|
statusBarLeft = customLeftMargin
|
||||||
|
}
|
||||||
|
|
||||||
|
val customRightMargin = XSPUtils.getInt("status_bar_right_margin", 0)
|
||||||
|
if (customRightMargin != 0) {
|
||||||
|
statusBarRight = customRightMargin
|
||||||
|
}
|
||||||
|
updateLayout(context,1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//兼容模式
|
||||||
|
findMethod("com.android.systemui.statusbar.phone.PhoneStatusBarView") {
|
||||||
|
name == "updateLayoutForCutout"
|
||||||
|
}.hookAfter {
|
||||||
|
if (isCompatibilityMode) {
|
||||||
|
val context = (it.thisObject as ViewGroup).context
|
||||||
|
updateLayout(context,1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//时钟居中+图标居左
|
//时钟居中+图标居左
|
||||||
@@ -227,65 +297,45 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
findMethod("com.android.systemui.statusbar.phone.CollapsedStatusBarFragment") {
|
findMethod("com.android.systemui.statusbar.phone.CollapsedStatusBarFragment") {
|
||||||
name == "onViewCreated" && parameterCount == 2
|
name == "onViewCreated" && parameterCount == 2
|
||||||
}.hookAfter { param ->
|
}.hookAfter { param ->
|
||||||
val miuiPhoneStatusBarView =
|
val miuiPhoneStatusBarView = param.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
||||||
param.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
|
||||||
val context: Context = miuiPhoneStatusBarView.context
|
val context: Context = miuiPhoneStatusBarView.context
|
||||||
val res: Resources = miuiPhoneStatusBarView.resources
|
val res: Resources = miuiPhoneStatusBarView.resources
|
||||||
val statusBarId: Int =
|
val statusBarId: Int = res.getIdentifier("status_bar", "id", "com.android.systemui")
|
||||||
res.getIdentifier("status_bar", "id", "com.android.systemui")
|
val statusBarContentsId: Int = res.getIdentifier(
|
||||||
val statusBarContentsId: Int =
|
"status_bar_contents", "id", "com.android.systemui"
|
||||||
res.getIdentifier("status_bar_contents", "id", "com.android.systemui")
|
)
|
||||||
val systemIconAreaId: Int =
|
val systemIconAreaId: Int = res.getIdentifier("system_icon_area", "id", "com.android.systemui")
|
||||||
res.getIdentifier("system_icon_area", "id", "com.android.systemui")
|
|
||||||
val clockId: Int = res.getIdentifier("clock", "id", "com.android.systemui")
|
val clockId: Int = res.getIdentifier("clock", "id", "com.android.systemui")
|
||||||
val phoneStatusBarLeftContainerId: Int =
|
val phoneStatusBarLeftContainerId: Int = res.getIdentifier(
|
||||||
res.getIdentifier(
|
"phone_status_bar_left_container", "id", "com.android.systemui"
|
||||||
"phone_status_bar_left_container",
|
)
|
||||||
"id",
|
val fullscreenNotificationIconAreaId: Int = res.getIdentifier(
|
||||||
"com.android.systemui"
|
"fullscreen_notification_icon_area", "id", "com.android.systemui"
|
||||||
)
|
)
|
||||||
val fullscreenNotificationIconAreaId: Int =
|
val statusIconsId: Int = res.getIdentifier(
|
||||||
res.getIdentifier(
|
"statusIcons", "id", "com.android.systemui"
|
||||||
"fullscreen_notification_icon_area",
|
)
|
||||||
"id",
|
val systemIconsId: Int = res.getIdentifier(
|
||||||
"com.android.systemui"
|
"system_icons", "id", "com.android.systemui"
|
||||||
)
|
)
|
||||||
val statusIconsId: Int =
|
val batteryId: Int = res.getIdentifier(
|
||||||
res.getIdentifier(
|
"battery", "id", "com.android.systemui"
|
||||||
"statusIcons",
|
)
|
||||||
"id",
|
|
||||||
"com.android.systemui"
|
|
||||||
)
|
|
||||||
val systemIconsId: Int =
|
|
||||||
res.getIdentifier(
|
|
||||||
"system_icons",
|
|
||||||
"id",
|
|
||||||
"com.android.systemui"
|
|
||||||
)
|
|
||||||
val batteryId: Int =
|
|
||||||
res.getIdentifier(
|
|
||||||
"battery",
|
|
||||||
"id",
|
|
||||||
"com.android.systemui"
|
|
||||||
)
|
|
||||||
|
|
||||||
statusBar = miuiPhoneStatusBarView.findViewById(statusBarId)
|
statusBar = miuiPhoneStatusBarView.findViewById(statusBarId)
|
||||||
val statusBarContents: ViewGroup =
|
val statusBarContents: ViewGroup = miuiPhoneStatusBarView.findViewById(statusBarContentsId)
|
||||||
miuiPhoneStatusBarView.findViewById(statusBarContentsId)
|
|
||||||
if (statusBar == null) return@hookAfter
|
if (statusBar == null) return@hookAfter
|
||||||
val clock: TextView = miuiPhoneStatusBarView.findViewById(clockId)
|
val clock: TextView = miuiPhoneStatusBarView.findViewById(clockId)
|
||||||
val phoneStatusBarLeftContainer: ViewGroup =
|
val phoneStatusBarLeftContainer: ViewGroup = miuiPhoneStatusBarView.findViewById(
|
||||||
miuiPhoneStatusBarView.findViewById(phoneStatusBarLeftContainerId)
|
phoneStatusBarLeftContainerId
|
||||||
val fullscreenNotificationIconArea: ViewGroup =
|
)
|
||||||
miuiPhoneStatusBarView.findViewById(fullscreenNotificationIconAreaId)
|
val fullscreenNotificationIconArea: ViewGroup = miuiPhoneStatusBarView.findViewById(
|
||||||
val systemIconArea: ViewGroup =
|
fullscreenNotificationIconAreaId
|
||||||
miuiPhoneStatusBarView.findViewById(systemIconAreaId)
|
)
|
||||||
val statusIcons: ViewGroup =
|
val systemIconArea: ViewGroup = miuiPhoneStatusBarView.findViewById(systemIconAreaId)
|
||||||
miuiPhoneStatusBarView.findViewById(statusIconsId)
|
val statusIcons: ViewGroup = miuiPhoneStatusBarView.findViewById(statusIconsId)
|
||||||
val systemIcons: ViewGroup =
|
val systemIcons: ViewGroup = miuiPhoneStatusBarView.findViewById(systemIconsId)
|
||||||
miuiPhoneStatusBarView.findViewById(systemIconsId)
|
val battery: ViewGroup = miuiPhoneStatusBarView.findViewById(batteryId)
|
||||||
val battery: ViewGroup =
|
|
||||||
miuiPhoneStatusBarView.findViewById(batteryId)
|
|
||||||
|
|
||||||
(clock.parent as ViewGroup).removeView(clock)
|
(clock.parent as ViewGroup).removeView(clock)
|
||||||
(phoneStatusBarLeftContainer.parent as ViewGroup).removeView(
|
(phoneStatusBarLeftContainer.parent as ViewGroup).removeView(
|
||||||
@@ -299,29 +349,25 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
fullscreenNotificationIconArea
|
fullscreenNotificationIconArea
|
||||||
)
|
)
|
||||||
|
|
||||||
val mConstraintLayout =
|
val mConstraintLayout = ConstraintLayout(context).also {
|
||||||
ConstraintLayout(context).also {
|
it.layoutParams = ConstraintLayout.LayoutParams(
|
||||||
it.layoutParams = ConstraintLayout.LayoutParams(
|
ConstraintLayout.LayoutParams.MATCH_PARENT, ConstraintLayout.LayoutParams.MATCH_PARENT
|
||||||
ConstraintLayout.LayoutParams.MATCH_PARENT,
|
)
|
||||||
ConstraintLayout.LayoutParams.MATCH_PARENT
|
}
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
mConstraintLayout.addView(fullscreenNotificationIconArea)
|
mConstraintLayout.addView(fullscreenNotificationIconArea)
|
||||||
mConstraintLayout.addView(battery)
|
mConstraintLayout.addView(battery)
|
||||||
|
|
||||||
|
|
||||||
battery.layoutParams = ConstraintLayout.LayoutParams(
|
battery.layoutParams = ConstraintLayout.LayoutParams(
|
||||||
ConstraintLayout.LayoutParams.WRAP_CONTENT,
|
ConstraintLayout.LayoutParams.WRAP_CONTENT, ConstraintLayout.LayoutParams.MATCH_PARENT
|
||||||
ConstraintLayout.LayoutParams.MATCH_PARENT
|
|
||||||
).also {
|
).also {
|
||||||
it.endToEnd = 0
|
it.endToEnd = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
fullscreenNotificationIconArea.layoutParams = ConstraintLayout.LayoutParams(
|
fullscreenNotificationIconArea.layoutParams = ConstraintLayout.LayoutParams(
|
||||||
0,
|
0, ConstraintLayout.LayoutParams.MATCH_PARENT
|
||||||
ConstraintLayout.LayoutParams.MATCH_PARENT
|
|
||||||
).also {
|
).also {
|
||||||
it.startToEnd = batteryId
|
it.startToEnd = batteryId
|
||||||
it.endToEnd = 0
|
it.endToEnd = 0
|
||||||
@@ -331,24 +377,25 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
|
|
||||||
//增加一个左对齐布局
|
//增加一个左对齐布局
|
||||||
mLeftLayout = LinearLayout(context)
|
mLeftLayout = LinearLayout(context)
|
||||||
val leftLp: LinearLayout.LayoutParams =
|
val leftLp: LinearLayout.LayoutParams = LinearLayout.LayoutParams(
|
||||||
LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)
|
0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f
|
||||||
|
)
|
||||||
mLeftLayout!!.layoutParams = leftLp
|
mLeftLayout!!.layoutParams = leftLp
|
||||||
mLeftLayout!!.gravity = Gravity.START or Gravity.CENTER_VERTICAL
|
mLeftLayout!!.gravity = Gravity.START or Gravity.CENTER_VERTICAL
|
||||||
|
|
||||||
//增加一个居中布局
|
//增加一个居中布局
|
||||||
mCenterLayout = LinearLayout(context)
|
mCenterLayout = LinearLayout(context)
|
||||||
val centerLp: LinearLayout.LayoutParams = LinearLayout.LayoutParams(
|
val centerLp: LinearLayout.LayoutParams = LinearLayout.LayoutParams(
|
||||||
LinearLayout.LayoutParams.WRAP_CONTENT,
|
LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.MATCH_PARENT
|
||||||
LinearLayout.LayoutParams.MATCH_PARENT
|
|
||||||
)
|
)
|
||||||
mCenterLayout!!.layoutParams = centerLp
|
mCenterLayout!!.layoutParams = centerLp
|
||||||
mCenterLayout!!.gravity = Gravity.CENTER or Gravity.CENTER_VERTICAL
|
mCenterLayout!!.gravity = Gravity.CENTER or Gravity.CENTER_VERTICAL
|
||||||
|
|
||||||
//增加一个右布局
|
//增加一个右布局
|
||||||
mRightLayout = LinearLayout(context)
|
mRightLayout = LinearLayout(context)
|
||||||
val rightLp: LinearLayout.LayoutParams =
|
val rightLp: LinearLayout.LayoutParams = LinearLayout.LayoutParams(
|
||||||
LinearLayout.LayoutParams(0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)
|
0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f
|
||||||
|
)
|
||||||
mRightLayout!!.layoutParams = rightLp
|
mRightLayout!!.layoutParams = rightLp
|
||||||
mRightLayout!!.gravity = Gravity.END or Gravity.CENTER_VERTICAL
|
mRightLayout!!.gravity = Gravity.END or Gravity.CENTER_VERTICAL
|
||||||
|
|
||||||
@@ -375,7 +422,7 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
statusBarBottom = statusBar!!.paddingBottom
|
statusBarBottom = statusBar!!.paddingBottom
|
||||||
|
|
||||||
|
|
||||||
if (getHoleLocation == 2) {
|
if (isCompatibilityMode) {
|
||||||
val customLeftMargin = XSPUtils.getInt("status_bar_left_margin", 0)
|
val customLeftMargin = XSPUtils.getInt("status_bar_left_margin", 0)
|
||||||
if (customLeftMargin != 0) {
|
if (customLeftMargin != 0) {
|
||||||
statusBarLeft = customLeftMargin
|
statusBarLeft = customLeftMargin
|
||||||
@@ -385,16 +432,16 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
if (customRightMargin != 0) {
|
if (customRightMargin != 0) {
|
||||||
statusBarRight = customRightMargin
|
statusBarRight = customRightMargin
|
||||||
}
|
}
|
||||||
updateLayout(context)
|
updateLayout(context,2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//兼容模式
|
//兼容模式
|
||||||
findMethod("com.android.systemui.statusbar.phone.PhoneStatusBarView") {
|
findMethod("com.android.systemui.statusbar.phone.PhoneStatusBarView") {
|
||||||
name == "updateLayoutForCutout"
|
name == "updateLayoutForCutout"
|
||||||
}.hookAfter {
|
}.hookAfter {
|
||||||
if (getHoleLocation == 2) {
|
if (isCompatibilityMode) {
|
||||||
val context = (it.thisObject as ViewGroup).context
|
val context = (it.thisObject as ViewGroup).context
|
||||||
updateLayout(context)
|
updateLayout(context,2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -404,12 +451,10 @@ object StatusBarLayoutForS : HookRegister() {
|
|||||||
}.hookAfter {
|
}.hookAfter {
|
||||||
val miuiPhoneStatusBarView = it.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
val miuiPhoneStatusBarView = it.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
||||||
val res = miuiPhoneStatusBarView.resources
|
val res = miuiPhoneStatusBarView.resources
|
||||||
val statusBarId =
|
val statusBarId = res.getIdentifier("status_bar", "id", "com.android.systemui")
|
||||||
res.getIdentifier("status_bar", "id", "com.android.systemui")
|
|
||||||
val statusBar1 = miuiPhoneStatusBarView.findViewById<ViewGroup>(statusBarId)
|
val statusBar1 = miuiPhoneStatusBarView.findViewById<ViewGroup>(statusBarId)
|
||||||
//非锁屏下整个状态栏布局
|
//非锁屏下整个状态栏布局
|
||||||
val keyguardMgr =
|
val keyguardMgr = statusBar1.context.getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager
|
||||||
statusBar1.context.getSystemService(Context.KEYGUARD_SERVICE) as KeyguardManager
|
|
||||||
if (keyguardMgr.isKeyguardLocked) {
|
if (keyguardMgr.isKeyguardLocked) {
|
||||||
statusBar1!!.visibility = View.GONE
|
statusBar1!!.visibility = View.GONE
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -28,21 +28,31 @@ object StatusBarLayoutForT : HookRegister() {
|
|||||||
private var statusBarBottom = 0
|
private var statusBarBottom = 0
|
||||||
|
|
||||||
override fun init() {
|
override fun init() {
|
||||||
|
|
||||||
// TODO: Android13状态栏布局不可用
|
|
||||||
|
|
||||||
var mLeftLayout: LinearLayout? = null
|
var mLeftLayout: LinearLayout? = null
|
||||||
var mRightLayout: LinearLayout? = null
|
var mRightLayout: LinearLayout? = null
|
||||||
var mCenterLayout: LinearLayout?
|
var mCenterLayout: LinearLayout?
|
||||||
var statusBar: ViewGroup? = null
|
var statusBar: ViewGroup? = null
|
||||||
|
|
||||||
fun updateLayout(context: Context) {
|
//判断屏幕状态更新布局 mode: 1正常布局 2居中布局
|
||||||
//判断屏幕方向
|
fun updateLayout(context: Context,mode: Int) {
|
||||||
val mConfiguration: Configuration = context.resources.configuration
|
when(mode){
|
||||||
if (mConfiguration.orientation == Configuration.ORIENTATION_PORTRAIT) {
|
1->{
|
||||||
mLeftLayout!!.setPadding(statusBarLeft, 0, 0, 0)
|
val mConfiguration: Configuration = context.resources.configuration
|
||||||
mRightLayout!!.setPadding(0, 0, statusBarRight, 0)
|
if (mConfiguration.orientation == Configuration.ORIENTATION_PORTRAIT) { //横屏
|
||||||
statusBar!!.setPadding(0, statusBarTop, 0, statusBarBottom)
|
statusBar!!.setPadding(statusBarLeft, statusBarTop, statusBarRight, statusBarBottom)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
2->{
|
||||||
|
val mConfiguration: Configuration = context.resources.configuration
|
||||||
|
if (mConfiguration.orientation == Configuration.ORIENTATION_PORTRAIT) { //横屏
|
||||||
|
mLeftLayout!!.setPadding(statusBarLeft, 0, 0, 0)
|
||||||
|
mRightLayout!!.setPadding(0, 0, statusBarRight, 0)
|
||||||
|
statusBar!!.setPadding(0, statusBarTop, 0, statusBarBottom)
|
||||||
|
}else{ //竖屏
|
||||||
|
mLeftLayout!!.setPadding(0, 0, 0, 0)
|
||||||
|
mRightLayout!!.setPadding(0, 0, 0, 0)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,9 +65,52 @@ object StatusBarLayoutForT : HookRegister() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//修改对应布局
|
||||||
when (getMode) {
|
when (getMode) {
|
||||||
//默认
|
//默认
|
||||||
0 -> return
|
0 -> {
|
||||||
|
|
||||||
|
findMethod("com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment") {
|
||||||
|
name == "onViewCreated" && parameterCount == 2
|
||||||
|
}.hookAfter { param ->
|
||||||
|
val miuiPhoneStatusBarView = param.thisObject.getObjectAs<ViewGroup>("mStatusBar")
|
||||||
|
val context: Context = miuiPhoneStatusBarView.context
|
||||||
|
val res: Resources = miuiPhoneStatusBarView.resources
|
||||||
|
val statusBarId: Int = res.getIdentifier("status_bar", "id", "com.android.systemui")
|
||||||
|
statusBar = miuiPhoneStatusBarView.findViewById(statusBarId)
|
||||||
|
if (statusBar == null) return@hookAfter
|
||||||
|
|
||||||
|
statusBarLeft = statusBar!!.paddingLeft
|
||||||
|
statusBarTop = statusBar!!.paddingTop
|
||||||
|
statusBarRight = statusBar!!.paddingRight
|
||||||
|
statusBarBottom = statusBar!!.paddingBottom
|
||||||
|
|
||||||
|
|
||||||
|
if (isCompatibilityMode) {
|
||||||
|
val customLeftMargin = XSPUtils.getInt("status_bar_left_margin", 0)
|
||||||
|
if (customLeftMargin != 0) {
|
||||||
|
statusBarLeft = customLeftMargin
|
||||||
|
}
|
||||||
|
|
||||||
|
val customRightMargin = XSPUtils.getInt("status_bar_right_margin", 0)
|
||||||
|
if (customRightMargin != 0) {
|
||||||
|
statusBarRight = customRightMargin
|
||||||
|
}
|
||||||
|
updateLayout(context,1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//兼容模式
|
||||||
|
findMethod("com.android.systemui.statusbar.phone.PhoneStatusBarView") {
|
||||||
|
name == "updateLayoutForCutout"
|
||||||
|
}.hookAfter {
|
||||||
|
if (isCompatibilityMode) {
|
||||||
|
val context = (it.thisObject as ViewGroup).context
|
||||||
|
updateLayout(context,1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
//时钟居中
|
//时钟居中
|
||||||
1 -> {
|
1 -> {
|
||||||
findMethod("com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment") {
|
findMethod("com.android.systemui.statusbar.phone.fragment.CollapsedStatusBarFragment") {
|
||||||
@@ -159,7 +212,7 @@ object StatusBarLayoutForT : HookRegister() {
|
|||||||
if (customRightMargin != 0) {
|
if (customRightMargin != 0) {
|
||||||
statusBarRight = customRightMargin
|
statusBarRight = customRightMargin
|
||||||
}
|
}
|
||||||
updateLayout(context)
|
updateLayout(context,2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -168,7 +221,7 @@ object StatusBarLayoutForT : HookRegister() {
|
|||||||
}.hookAfter {
|
}.hookAfter {
|
||||||
hasEnable("layout_compatibility_mode") {
|
hasEnable("layout_compatibility_mode") {
|
||||||
val context = (it.thisObject as ViewGroup).context
|
val context = (it.thisObject as ViewGroup).context
|
||||||
updateLayout(context)
|
updateLayout(context,2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -206,6 +259,36 @@ object StatusBarLayoutForT : HookRegister() {
|
|||||||
battery.addView(mRightLayout)
|
battery.addView(mRightLayout)
|
||||||
(clock.parent as ViewGroup).removeView(clock)
|
(clock.parent as ViewGroup).removeView(clock)
|
||||||
mRightLayout!!.addView(clock)
|
mRightLayout!!.addView(clock)
|
||||||
|
|
||||||
|
|
||||||
|
statusBarLeft = statusBar!!.paddingLeft
|
||||||
|
statusBarTop = statusBar!!.paddingTop
|
||||||
|
statusBarRight = statusBar!!.paddingRight
|
||||||
|
statusBarBottom = statusBar!!.paddingBottom
|
||||||
|
|
||||||
|
|
||||||
|
if (isCompatibilityMode) {
|
||||||
|
val customLeftMargin = XSPUtils.getInt("status_bar_left_margin", 0)
|
||||||
|
if (customLeftMargin != 0) {
|
||||||
|
statusBarLeft = customLeftMargin
|
||||||
|
}
|
||||||
|
|
||||||
|
val customRightMargin = XSPUtils.getInt("status_bar_right_margin", 0)
|
||||||
|
if (customRightMargin != 0) {
|
||||||
|
statusBarRight = customRightMargin
|
||||||
|
}
|
||||||
|
updateLayout(context,1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//兼容模式
|
||||||
|
findMethod("com.android.systemui.statusbar.phone.PhoneStatusBarView") {
|
||||||
|
name == "updateLayoutForCutout"
|
||||||
|
}.hookAfter {
|
||||||
|
if (isCompatibilityMode) {
|
||||||
|
val context = (it.thisObject as ViewGroup).context
|
||||||
|
updateLayout(context,1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//时钟居中+图标居左
|
//时钟居中+图标居左
|
||||||
@@ -348,7 +431,7 @@ object StatusBarLayoutForT : HookRegister() {
|
|||||||
if (customRightMargin != 0) {
|
if (customRightMargin != 0) {
|
||||||
statusBarRight = customRightMargin
|
statusBarRight = customRightMargin
|
||||||
}
|
}
|
||||||
updateLayout(context)
|
updateLayout(context,2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//兼容模式
|
//兼容模式
|
||||||
@@ -357,7 +440,7 @@ object StatusBarLayoutForT : HookRegister() {
|
|||||||
}.hookAfter {
|
}.hookAfter {
|
||||||
if (isCompatibilityMode) {
|
if (isCompatibilityMode) {
|
||||||
val context = (it.thisObject as ViewGroup).context
|
val context = (it.thisObject as ViewGroup).context
|
||||||
updateLayout(context)
|
updateLayout(context,2)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
<string name="github_url">Vítejte více vývojářů, aby se podíleli na vývoji</string>
|
<string name="github_url">Vítejte více vývojářů, aby se podíleli na vývoji</string>
|
||||||
<string name="issues">Zpětná vazba/návrh</string>
|
<string name="issues">Zpětná vazba/návrh</string>
|
||||||
<string name="issues_url">Kliknutím zobrazíte problémy GitHub</string>
|
<string name="issues_url">Kliknutím zobrazíte problémy GitHub</string>
|
||||||
|
<string name="xposeddescription">Nástroj pro přizpůsobení MIUI13(Android 12)</string>
|
||||||
<string name="statusbar">Stavová lišta</string>
|
<string name="statusbar">Stavová lišta</string>
|
||||||
<string name="status_bar_time_seconds">Zobrazit vteřiny</string>
|
<string name="status_bar_time_seconds">Zobrazit vteřiny</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Obnovení rychlosti sítě v sekundách</string>
|
<string name="status_bar_network_speed_refresh_speed">Obnovení rychlosti sítě v sekundách</string>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<string name="github_url">Más desarrolladores están invitados a participar en el proyecto</string>
|
<string name="github_url">Más desarrolladores están invitados a participar en el proyecto</string>
|
||||||
<string name="issues">Comentarios/Sugerencias</string>
|
<string name="issues">Comentarios/Sugerencias</string>
|
||||||
<string name="issues_url">Clic para ver errores en GitHub</string>
|
<string name="issues_url">Clic para ver errores en GitHub</string>
|
||||||
<string name="xposeddescription">Herramienta de personalización para MIUI13+(Android 12+)</string>
|
<string name="xposeddescription">Herramienta de personalización para MIUI13 (Android 12)</string>
|
||||||
<string name="statusbar">Barra de estado</string>
|
<string name="statusbar">Barra de estado</string>
|
||||||
<string name="status_bar_time_seconds">Mostrar segundos</string>
|
<string name="status_bar_time_seconds">Mostrar segundos</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">La velocidad de red se actualiza en segundos</string>
|
<string name="status_bar_network_speed_refresh_speed">La velocidad de red se actualiza en segundos</string>
|
||||||
@@ -240,12 +240,4 @@
|
|||||||
<string name="miuihome_recentview_remove_card_animation">Modificar la animación de marcado de tarjetas</string>
|
<string name="miuihome_recentview_remove_card_animation">Modificar la animación de marcado de tarjetas</string>
|
||||||
<string name="miuihome_recentview_remove_card_animation_summary">Modificar el efecto de animación al remover ventana de tareas recientes</string>
|
<string name="miuihome_recentview_remove_card_animation_summary">Modificar el efecto de animación al remover ventana de tareas recientes</string>
|
||||||
<string name="miuihome_recentwiew_wallpaper_darkening">Deshabilitar atenuación de fondo de pantalla</string>
|
<string name="miuihome_recentwiew_wallpaper_darkening">Deshabilitar atenuación de fondo de pantalla</string>
|
||||||
<string name="miuihome_recentwiew_wallpaper_darkening_summary">Esto deshabilitará el efecto en el que el fondo de pantalla se ilumina gradualmente cuando se abre y se cierra una tarea reciente</string>
|
|
||||||
<string name="miuihome_scroll_icon_name">Desplazar el nombre de la app</string>
|
|
||||||
<string name="miuihome_scroll_icon_name_summary">Si el nombre de la aplicación es demasiado largo se mostrará con desplazamiento y sin ningúna línea nueva</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window">Añadir ventana al menú de accesos directos</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window_summary">Mantener presionando el icono del escritorio para añadir a una ventana de acceso rápido</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window_title">Ventana pequeña </string>
|
|
||||||
<string name="click_to_view_use_cases">Clic para ver casos de uso</string>
|
|
||||||
<string name="disable_bluetooth_temporarily_off" comment="This function is used to completely close Bluetooth">Deshabilitar Bluetooth temporalmente apagado</string>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
<string name="github_url">Bienvenue à d\'autres développeurs pour participer au développement</string>
|
<string name="github_url">Bienvenue à d\'autres développeurs pour participer au développement</string>
|
||||||
<string name="issues">Feed-back/Proposition</string>
|
<string name="issues">Feed-back/Proposition</string>
|
||||||
<string name="issues_url">Cliquez pour voir GitHub</string>
|
<string name="issues_url">Cliquez pour voir GitHub</string>
|
||||||
|
<string name="xposeddescription">Outil de personnalisation pour MIUI13(Android 12)</string>
|
||||||
<string name="statusbar">Barre d\'État</string>
|
<string name="statusbar">Barre d\'État</string>
|
||||||
<string name="status_bar_time_seconds">Affichage des secondes</string>
|
<string name="status_bar_time_seconds">Affichage des secondes</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Rafraichissement de la vitesse du réseau en secondes</string>
|
<string name="status_bar_network_speed_refresh_speed">Rafraichissement de la vitesse du réseau en secondes</string>
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
<string name="github_url">Szeretnénk, hogy több fejlesztő vegyen részt a fejlesztésben</string>
|
<string name="github_url">Szeretnénk, hogy több fejlesztő vegyen részt a fejlesztésben</string>
|
||||||
<string name="issues">Visszajelzés/javaslat</string>
|
<string name="issues">Visszajelzés/javaslat</string>
|
||||||
<string name="issues_url">Kattintson a GitHub problémák megtekintéséhez</string>
|
<string name="issues_url">Kattintson a GitHub problémák megtekintéséhez</string>
|
||||||
|
<string name="xposeddescription">Testreszabási eszköz a MIUI13(Android 12) számára</string>
|
||||||
<string name="statusbar">Állapotsor</string>
|
<string name="statusbar">Állapotsor</string>
|
||||||
<string name="status_bar_time_seconds">Másodpercek kijelzése</string>
|
<string name="status_bar_time_seconds">Másodpercek kijelzése</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Hálózati sebesség frissítése másodpercekben</string>
|
<string name="status_bar_network_speed_refresh_speed">Hálózati sebesség frissítése másodpercekben</string>
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
<string name="github_url">Selamat datang lebih banyak developer untuk berpartisipasi dalam pengembangan</string>
|
<string name="github_url">Selamat datang lebih banyak developer untuk berpartisipasi dalam pengembangan</string>
|
||||||
<string name="issues">Umpan Balik/Usulan</string>
|
<string name="issues">Umpan Balik/Usulan</string>
|
||||||
<string name="issues_url">Klik untuk melihat Masalah GitHub</string>
|
<string name="issues_url">Klik untuk melihat Masalah GitHub</string>
|
||||||
|
<string name="xposeddescription">Alat perubahan untuk MIUI13 (Android 12)</string>
|
||||||
<string name="status_bar_time_seconds">Tampilkan detik</string>
|
<string name="status_bar_time_seconds">Tampilkan detik</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Perubahan kecepatan jaringan dalam detik</string>
|
<string name="status_bar_network_speed_refresh_speed">Perubahan kecepatan jaringan dalam detik</string>
|
||||||
<string name="remove_the_maximum_number_of_notification_icons">Hapus jumlah maksimum ikon notifikasi</string>
|
<string name="remove_the_maximum_number_of_notification_icons">Hapus jumlah maksimum ikon notifikasi</string>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<string name="github_url">開発に参加できる開発者を歓迎します</string>
|
<string name="github_url">開発に参加できる開発者を歓迎します</string>
|
||||||
<string name="issues">ご意見・ご提案</string>
|
<string name="issues">ご意見・ご提案</string>
|
||||||
<string name="issues_url">クリックして GitHub Issues を表示する</string>
|
<string name="issues_url">クリックして GitHub Issues を表示する</string>
|
||||||
<string name="xposeddescription">MIUI13 (Android 12) 以降向けカスタマイズツール</string>
|
<string name="xposeddescription">MIUI13 (Android 12) のカスタマイズツール</string>
|
||||||
<string name="statusbar">ステータスバー</string>
|
<string name="statusbar">ステータスバー</string>
|
||||||
<string name="status_bar_time_seconds">秒を表示する</string>
|
<string name="status_bar_time_seconds">秒を表示する</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">ネットワーク速度を秒単位で更新</string>
|
<string name="status_bar_network_speed_refresh_speed">ネットワーク速度を秒単位で更新</string>
|
||||||
@@ -247,5 +247,4 @@
|
|||||||
<string name="miuihome_shortcut_add_small_window_summary">ホーム画面のアイコンを長押しすると、素早く開けるウィンドウを追加できます</string>
|
<string name="miuihome_shortcut_add_small_window_summary">ホーム画面のアイコンを長押しすると、素早く開けるウィンドウを追加できます</string>
|
||||||
<string name="miuihome_shortcut_add_small_window_title">小さいウィンドウ</string>
|
<string name="miuihome_shortcut_add_small_window_title">小さいウィンドウ</string>
|
||||||
<string name="click_to_view_use_cases">クリックして使用例を表示</string>
|
<string name="click_to_view_use_cases">クリックして使用例を表示</string>
|
||||||
<string name="disable_bluetooth_temporarily_off" comment="This function is used to completely close Bluetooth">Bluetooth を一時的に無効にする</string>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
<string name="github_url">개발에 참여하는 더 많은 개발자를 환영합니다</string>
|
<string name="github_url">개발에 참여하는 더 많은 개발자를 환영합니다</string>
|
||||||
<string name="issues">피드백 및 제안</string>
|
<string name="issues">피드백 및 제안</string>
|
||||||
<string name="issues_url">클릭해 GitHub 이슈 보기</string>
|
<string name="issues_url">클릭해 GitHub 이슈 보기</string>
|
||||||
|
<string name="xposeddescription">MIUI 13(Android 12) 용 커스텀 도구</string>
|
||||||
<string name="statusbar">상태 바</string>
|
<string name="statusbar">상태 바</string>
|
||||||
<string name="status_bar_time_seconds">화면 표시 시간</string>
|
<string name="status_bar_time_seconds">화면 표시 시간</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">몇 초에 네트워크 속도 새로 고침</string>
|
<string name="status_bar_network_speed_refresh_speed">몇 초에 네트워크 속도 새로 고침</string>
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
<string name="github_url">Welkom meer ontwikkelaars om deel te nemen in de ontwikkeling</string>
|
<string name="github_url">Welkom meer ontwikkelaars om deel te nemen in de ontwikkeling</string>
|
||||||
<string name="issues">Feedback/Voorstel</string>
|
<string name="issues">Feedback/Voorstel</string>
|
||||||
<string name="issues_url">Klik om GitHub Problemen te bekijken</string>
|
<string name="issues_url">Klik om GitHub Problemen te bekijken</string>
|
||||||
|
<string name="xposeddescription">Aanpassingsgereedschap voor MIUI13(Android 12)</string>
|
||||||
<string name="statusbar">Statusbalk</string>
|
<string name="statusbar">Statusbalk</string>
|
||||||
<string name="status_bar_time_seconds">Seconden weergeven</string>
|
<string name="status_bar_time_seconds">Seconden weergeven</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Netwerksnelheid vernieuwen in seconden</string>
|
<string name="status_bar_network_speed_refresh_speed">Netwerksnelheid vernieuwen in seconden</string>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<string name="github_url">Zachęcam do rozwijania projektu innych deweloperów</string>
|
<string name="github_url">Zachęcam do rozwijania projektu innych deweloperów</string>
|
||||||
<string name="issues">Opinie/propozycje</string>
|
<string name="issues">Opinie/propozycje</string>
|
||||||
<string name="issues_url">Kliknij, aby wyświetlić zgłoszenia na GitHubie</string>
|
<string name="issues_url">Kliknij, aby wyświetlić zgłoszenia na GitHubie</string>
|
||||||
<string name="xposeddescription">Narzędzie do dostosowywania MIUI 13+ (Android 12+)</string>
|
<string name="xposeddescription">Narzędzie do dostosowywania MIUI 13 (Android 12)</string>
|
||||||
<string name="statusbar">Pasek statusu</string>
|
<string name="statusbar">Pasek statusu</string>
|
||||||
<string name="status_bar_time_seconds">Wyświetlaj sekundy</string>
|
<string name="status_bar_time_seconds">Wyświetlaj sekundy</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Odświeżenie prędkości sieci w sekundach</string>
|
<string name="status_bar_network_speed_refresh_speed">Odświeżenie prędkości sieci w sekundach</string>
|
||||||
@@ -136,7 +136,6 @@
|
|||||||
<string name="layout_compatibility_mode">Tryb zgodności</string>
|
<string name="layout_compatibility_mode">Tryb zgodności</string>
|
||||||
<string name="left_margin">Lewy margines (0: autom.)</string>
|
<string name="left_margin">Lewy margines (0: autom.)</string>
|
||||||
<string name="right_margin">Prawy margines (0: autom.)</string>
|
<string name="right_margin">Prawy margines (0: autom.)</string>
|
||||||
<string name="layout_compatibility_mode_summary">Wymuś układ pełnoekranowy (obsługuje wszystkie ekrany o specjalnym kształcie)</string>
|
|
||||||
<string name="remove_macro_blacklist">Usuń czarną listę gier, dla których wyłączono obsługę makr</string>
|
<string name="remove_macro_blacklist">Usuń czarną listę gier, dla których wyłączono obsługę makr</string>
|
||||||
<string name="hide_network_speed_splitter">Ukryj rozdzielacz prędkości sieci</string>
|
<string name="hide_network_speed_splitter">Ukryj rozdzielacz prędkości sieci</string>
|
||||||
<string name="updater">Aktualizacje</string>
|
<string name="updater">Aktualizacje</string>
|
||||||
@@ -237,14 +236,4 @@
|
|||||||
<string name="pkg_installer_summary">Wyłącz sprawdzanie licznika instalacji aplikacji</string>
|
<string name="pkg_installer_summary">Wyłącz sprawdzanie licznika instalacji aplikacji</string>
|
||||||
<string name="big_mobile_type_only_show_network_card">Duża ikona typu sieci tylko dla aktywnej karty SIM</string>
|
<string name="big_mobile_type_only_show_network_card">Duża ikona typu sieci tylko dla aktywnej karty SIM</string>
|
||||||
<string name="big_mobile_type_location">Pozycja dużej ikony typu sieci</string>
|
<string name="big_mobile_type_location">Pozycja dużej ikony typu sieci</string>
|
||||||
<string name="miuihome_recentview_remove_card_animation">Zmodyfikuj animację oznaczania kart</string>
|
|
||||||
<string name="miuihome_recentview_remove_card_animation_summary">Zmodyfikuj efekt animacji karty usunięcia ostatniego zadania</string>
|
|
||||||
<string name="miuihome_recentwiew_wallpaper_darkening">Wyłącz przyciemnianie tapety</string>
|
|
||||||
<string name="miuihome_recentwiew_wallpaper_darkening_summary">Spowoduje to wyłączenie efektu polegającego na tym, że tapeta stopniowo rozjaśnia się od przyciemnienia podczas wchodzenia i wychodzenia z ostatnich zadań</string>
|
|
||||||
<string name="miuihome_scroll_icon_name">Przewiń nazwę aplikacji</string>
|
|
||||||
<string name="miuihome_scroll_icon_name_summary">Zbyt długa nazwa aplikacji zostanie przewinięta i wyświetlona bez nowego wiersza</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window">Dodaj widżet \"Menu skrótów\"</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window_summary">Naciśnij i przytrzymaj ikonę na ekranie głównym, aby dodać okno szybkiego otwierania</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window_title">Małe okno</string>
|
|
||||||
<string name="click_to_view_use_cases">Kliknij, aby wyświetlić przypadki użycia</string>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -1,4 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
<string name="performance">Desempenho</string>
|
||||||
|
<string name="lock_max_fps">Bloqueie o limite superior da taxa de atualização atual</string>
|
||||||
|
<string name="ui">‘Interface’</string>
|
||||||
|
<string name="delete_on_post_notification">Remover exibição sobre notificação</string>
|
||||||
|
<string name="delete_on_post_notification_summary">Remover a notificação \"este aplicativo é exibido sobre outros aplicativos\"</string>
|
||||||
|
<string name="other">Outros</string>
|
||||||
|
<string name="disable_flag_secure">Permitir captura de ecrã</string>
|
||||||
<!--Status bar icons-->
|
<!--Status bar icons-->
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
<string name="github_url">Sunt bineveniți mai mulți dezvoltatori să participe la dezvoltare</string>
|
<string name="github_url">Sunt bineveniți mai mulți dezvoltatori să participe la dezvoltare</string>
|
||||||
<string name="issues">Feedback/Propunere</string>
|
<string name="issues">Feedback/Propunere</string>
|
||||||
<string name="issues_url">Clic pentru a vizualiza problemele pe GitHub</string>
|
<string name="issues_url">Clic pentru a vizualiza problemele pe GitHub</string>
|
||||||
|
<string name="xposeddescription">Instrument de personalizare pentru MIUI13 (Android 12)</string>
|
||||||
<string name="statusbar">Bară de stare</string>
|
<string name="statusbar">Bară de stare</string>
|
||||||
<string name="status_bar_time_seconds">Afișare secunde</string>
|
<string name="status_bar_time_seconds">Afișare secunde</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Reîmprospătare viteză rețea în secunde</string>
|
<string name="status_bar_network_speed_refresh_speed">Reîmprospătare viteză rețea în secunde</string>
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
<string name="github_url">Приглашаем больше разработчиков принять участие в разработке</string>
|
<string name="github_url">Приглашаем больше разработчиков принять участие в разработке</string>
|
||||||
<string name="issues">Обратная связь</string>
|
<string name="issues">Обратная связь</string>
|
||||||
<string name="issues_url">Нажмите, чтобы просмотреть обсуждение на GitHub</string>
|
<string name="issues_url">Нажмите, чтобы просмотреть обсуждение на GitHub</string>
|
||||||
|
<string name="xposeddescription">Инструмент настройки для MIUI13 (Android 12)</string>
|
||||||
<string name="statusbar">Строка состояния</string>
|
<string name="statusbar">Строка состояния</string>
|
||||||
<string name="status_bar_time_seconds">Секунды</string>
|
<string name="status_bar_time_seconds">Секунды</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Обновление скорости сети в секундах</string>
|
<string name="status_bar_network_speed_refresh_speed">Обновление скорости сети в секундах</string>
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
<string name="github_url">Geliştirmeye katılmak için daha fazla geliştiriciye hoş geldiniz</string>
|
<string name="github_url">Geliştirmeye katılmak için daha fazla geliştiriciye hoş geldiniz</string>
|
||||||
<string name="issues">Geribildirim/Teklif</string>
|
<string name="issues">Geribildirim/Teklif</string>
|
||||||
<string name="issues_url">GitHub Sorunlarını görüntülemek için tıklayın</string>
|
<string name="issues_url">GitHub Sorunlarını görüntülemek için tıklayın</string>
|
||||||
|
<string name="xposeddescription">MIUI13 (Android 12) için özelleştirme aracı</string>
|
||||||
<string name="statusbar">Durum çubuğu</string>
|
<string name="statusbar">Durum çubuğu</string>
|
||||||
<string name="status_bar_time_seconds">Saniye göster</string>
|
<string name="status_bar_time_seconds">Saniye göster</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Saniyeler içinde ağ hızı yenileme</string>
|
<string name="status_bar_network_speed_refresh_speed">Saniyeler içinde ağ hızı yenileme</string>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<string name="github_url">Chào mừng các nhà phát triển tham gia vào quá trình phát triển</string>
|
<string name="github_url">Chào mừng các nhà phát triển tham gia vào quá trình phát triển</string>
|
||||||
<string name="issues">Phản hồi/Đề xuất</string>
|
<string name="issues">Phản hồi/Đề xuất</string>
|
||||||
<string name="issues_url">Ấn để xem GitHub Issues</string>
|
<string name="issues_url">Ấn để xem GitHub Issues</string>
|
||||||
<string name="xposeddescription">Công cụ tuỳ chỉnh cho MIUI13+(Android 12+)</string>
|
<string name="xposeddescription">Công cụ tuỳ chỉnh hoá MIUI13(Android 12)</string>
|
||||||
<string name="statusbar">Thanh trạng thái</string>
|
<string name="statusbar">Thanh trạng thái</string>
|
||||||
<string name="status_bar_time_seconds">Hiển thị giây</string>
|
<string name="status_bar_time_seconds">Hiển thị giây</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Làm mới tốc độ mạng trong vài giây</string>
|
<string name="status_bar_network_speed_refresh_speed">Làm mới tốc độ mạng trong vài giây</string>
|
||||||
@@ -247,5 +247,4 @@
|
|||||||
<string name="miuihome_shortcut_add_small_window_summary">Nhấn và giữ biểu tượng màn hình chính để thêm cửa sổ mở nhanh</string>
|
<string name="miuihome_shortcut_add_small_window_summary">Nhấn và giữ biểu tượng màn hình chính để thêm cửa sổ mở nhanh</string>
|
||||||
<string name="miuihome_shortcut_add_small_window_title">Cửa sổ nhỏ</string>
|
<string name="miuihome_shortcut_add_small_window_title">Cửa sổ nhỏ</string>
|
||||||
<string name="click_to_view_use_cases">Nhấp để xem các trường hợp sử dụng</string>
|
<string name="click_to_view_use_cases">Nhấp để xem các trường hợp sử dụng</string>
|
||||||
<string name="disable_bluetooth_temporarily_off" comment="This function is used to completely close Bluetooth">Vô hiệu hóa bluetooth tạm thời tắt</string>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<string name="github_url">欢迎更多开发者共同参与开发</string>
|
<string name="github_url">欢迎更多开发者共同参与开发</string>
|
||||||
<string name="issues">反馈/提议</string>
|
<string name="issues">反馈/提议</string>
|
||||||
<string name="issues_url">点击查看GitHub Issues</string>
|
<string name="issues_url">点击查看GitHub Issues</string>
|
||||||
<string name="xposeddescription">基于 MIUI13+(Android 12+) 适配的自定义工具</string>
|
<string name="xposeddescription">基于 MIUI13(Android 12) 适配的自定义工具</string>
|
||||||
<string name="statusbar">状态栏</string>
|
<string name="statusbar">状态栏</string>
|
||||||
<string name="status_bar_time_seconds">显示秒数</string>
|
<string name="status_bar_time_seconds">显示秒数</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">网速秒刷新</string>
|
<string name="status_bar_network_speed_refresh_speed">网速秒刷新</string>
|
||||||
@@ -247,5 +247,4 @@
|
|||||||
<string name="miuihome_shortcut_add_small_window_summary">桌面图标长按快捷菜单位置添加快速打开小窗</string>
|
<string name="miuihome_shortcut_add_small_window_summary">桌面图标长按快捷菜单位置添加快速打开小窗</string>
|
||||||
<string name="miuihome_shortcut_add_small_window_title">小窗</string>
|
<string name="miuihome_shortcut_add_small_window_title">小窗</string>
|
||||||
<string name="click_to_view_use_cases">点击查看用例</string>
|
<string name="click_to_view_use_cases">点击查看用例</string>
|
||||||
<string name="disable_bluetooth_temporarily_off" comment="This function is used to completely close Bluetooth">禁用临时关闭蓝牙</string>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -1,251 +1,178 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="performance">性能</string>
|
<string name="performance">性能</string>
|
||||||
<string name="lock_max_fps">鎖定目前重新整理速率上限</string>
|
<string name="lock_max_fps">鎖定當前刷新率上限</string>
|
||||||
<string name="ui">介面</string>
|
<string name="ui">界面</string>
|
||||||
<string name="delete_on_post_notification">移除上層顯示通知</string>
|
<string name="delete_on_post_notification">移除上層顯示通知</string>
|
||||||
<string name="delete_on_post_notification_summary">移除「此應用程式正顯示在螢幕上其他應用程式的上層」通知</string>
|
<string name="delete_on_post_notification_summary">移除 \"此應用正顯示在螢幕上其他應用的上層\" 通知</string>
|
||||||
<string name="other">其他</string>
|
<string name="other">其他</string>
|
||||||
<string name="disable_flag_secure">允許螢幕截圖</string>
|
<string name="disable_flag_secure">允許截圖</string>
|
||||||
<string name="disable_flag_secure_summary">開啟後允許在不允許截圖的軟件中截圖\n支援新增下拉控制中心快速開關,保障安全</string>
|
<string name="disable_flag_secure_summary">開啟後允許在不允許截圖的軟件中截圖\n支持添加下拉控制中心快速開關,保障安全</string>
|
||||||
<string name="home">桌面</string>
|
<string name="home">桌面</string>
|
||||||
<string name="home_time">始終顯示桌面時鐘</string>
|
<string name="home_time">始終顯示桌面時鐘</string>
|
||||||
<string name="reboot_host">重啟所有作用範圍</string>
|
<string name="reboot_host">重啟全部作用域</string>
|
||||||
<string name="reboot">重啟系統</string>
|
<string name="reboot">重啟系統</string>
|
||||||
<!--Status bar icons-->
|
<!--Status bar icons-->
|
||||||
<string name="status_bar_icon">狀態列圖示</string>
|
<string name="status_bar_icon">狀態欄圖標</string>
|
||||||
<string name="hide_no_sim_icon">隱藏「無 SIM 卡」圖示</string>
|
<string name="hide_no_sim_icon">隱藏 無SIM卡 圖標</string>
|
||||||
<string name="hide_sim_one_icon">隱藏「SIM 卡 1」圖示</string>
|
<string name="hide_sim_one_icon">隱藏 SIM卡一 圖標</string>
|
||||||
<string name="hide_sim_two_icon">隱藏「SIM 卡 2」圖示</string>
|
<string name="hide_sim_two_icon">隱藏 SIM卡二 圖標</string>
|
||||||
<string name="hide_vpn_icon">隱藏「VPN」圖示</string>
|
<string name="hide_vpn_icon">隱藏 VPN 圖標</string>
|
||||||
<string name="hide_airplane_icon">隱藏「飛行模式」圖示</string>
|
<string name="hide_airplane_icon">隱藏 飛行模式 圖標</string>
|
||||||
<string name="hide_wifi_icon">隱藏「WIFI」圖示</string>
|
<string name="hide_wifi_icon">隱藏 WIFI 圖標</string>
|
||||||
<string name="hide_bluetooth_icon">隱藏「藍牙」圖示</string>
|
<string name="hide_bluetooth_icon">隱藏 藍牙 圖標</string>
|
||||||
<string name="hide_volume_zen_icon">隱藏「聲音、勿擾」圖示</string>
|
<string name="hide_volume_zen_icon">隱藏 聲音、勿擾 圖標</string>
|
||||||
<string name="hide_alarm_icon">隱藏「鬧鐘」圖示</string>
|
<string name="hide_alarm_icon">隱藏 鬧鐘 圖標</string>
|
||||||
<string name="hide_hotspot_icon">隱藏「WIFI 熱點」圖示</string>
|
<string name="hide_hotspot_icon">隱藏 WIFI熱點 圖標</string>
|
||||||
<string name="hide_headset_icon">隱藏「耳機」圖示</string>
|
<string name="hide_headset_icon">隱藏 耳機 圖標</string>
|
||||||
<string name="hide_bluetooth_battery_icon">隱藏「藍牙電量」圖示</string>
|
<string name="hide_bluetooth_battery_icon">隱藏 藍牙電量 圖標</string>
|
||||||
<string name="hide_nfc_icon">隱藏「NFC」圖示</string>
|
<string name="hide_nfc_icon">隱藏 NFC 圖標</string>
|
||||||
<string name="hide_big_hd_icon">隱藏「大型 HD」圖示</string>
|
<string name="hide_big_hd_icon">隱藏 大HD 圖標</string>
|
||||||
<string name="hide_small_hd_icon">隱藏「小型 HD」圖示</string>
|
<string name="hide_small_hd_icon">隱藏 小HD 圖標</string>
|
||||||
<string name="hide_new_hd_icon">隱藏「新 HD」圖示</string>
|
<string name="hide_new_hd_icon">隱藏 新HD 圖標</string>
|
||||||
<string name="hide_hd_no_service_icon">隱藏「HD 無服務」圖示</string>
|
<string name="hide_hd_no_service_icon">隱藏 HD無服務 圖標</string>
|
||||||
<string name="about">關於</string>
|
<string name="about">關於</string>
|
||||||
<string name="about_module">關於模組</string>
|
<string name="about_module">關於模塊</string>
|
||||||
<string name="verison">版本</string>
|
<string name="verison">版本</string>
|
||||||
<string name="dev_coolapk">開發人員酷安</string>
|
<string name="dev_coolapk">開發者酷安</string>
|
||||||
<string name="opensource">開放原始碼存放庫</string>
|
<string name="opensource">開源倉庫</string>
|
||||||
<string name="github_url">歡迎更多開發人員共同參與開發</string>
|
<string name="github_url">歡迎更多開發者共同參與開發</string>
|
||||||
<string name="issues">回饋/提議</string>
|
<string name="issues">反饋/提議</string>
|
||||||
<string name="issues_url">按一下以檢視 GitHub 問題</string>
|
<string name="issues_url">點擊查看GitHub Issues</string>
|
||||||
<string name="xposeddescription">基於 MIUI13+(Android 12+) 的客製化工具</string>
|
<string name="xposeddescription">基於 MIUI13(Android 12) 適配的自定義工具</string>
|
||||||
<string name="statusbar">狀態列</string>
|
<string name="statusbar">狀態欄</string>
|
||||||
<string name="status_bar_time_seconds">顯示秒數</string>
|
<string name="status_bar_time_seconds">顯示秒數</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">每秒更新即時網絡速度</string>
|
<string name="status_bar_network_speed_refresh_speed">網速秒刷新</string>
|
||||||
<string name="remove_the_maximum_number_of_notification_icons">移除通知圖示數目上限</string>
|
<string name="remove_the_maximum_number_of_notification_icons">解除通知圖標個數上限</string>
|
||||||
<string name="main_switch">模組主開關</string>
|
<string name="main_switch">模塊總開關</string>
|
||||||
<string name="hide_gps_icon">隱藏「GPS」圖示</string>
|
<string name="hide_gps_icon">隱藏 GPS 圖標</string>
|
||||||
<string name="hide_status_bar_network_speed_second">隱藏網絡速度 (/s) 單位</string>
|
<string name="hide_status_bar_network_speed_second">隱藏網速(/s)單位</string>
|
||||||
<string name="menu">選單</string>
|
<string name="menu">菜單</string>
|
||||||
<string name="Tips">提示</string>
|
<string name="Tips">提示</string>
|
||||||
<string name="skip_waiting_time">跳過 5/10 秒警告時間</string>
|
<string name="skip_waiting_time">跳過 5/10 秒警告時間</string>
|
||||||
<string name="unlock_unlimited_cropping">移除裁剪圖片/螢幕截圖的限制</string>
|
<string name="unlock_unlimited_cropping">移除裁剪圖片/螢幕截圖的限制</string>
|
||||||
<string name="hide_slave_wifi_icon">隱藏「WIFI 次要」圖示</string>
|
<string name="hide_slave_wifi_icon">隱藏 WIFI輔助 圖標</string>
|
||||||
<string name="HideLauncherIcon">隱藏桌面圖示</string>
|
<string name="HideLauncherIcon">隱藏桌面圖標</string>
|
||||||
<string name="hide_battery_percentage_icon">隱藏電量 (%)</string>
|
<string name="hide_battery_percentage_icon">隱藏電量(%)</string>
|
||||||
<string name="hide_battery_icon">隱藏「電池」圖示</string>
|
<string name="hide_battery_icon">隱藏 電池 圖標</string>
|
||||||
<string name="status_bar_clock_format">狀態列時鐘格式</string>
|
<string name="status_bar_clock_format">狀態欄時鐘格式</string>
|
||||||
<string name="status_bar_time_year">顯示年份</string>
|
<string name="status_bar_time_year">顯示年份</string>
|
||||||
<string name="status_bar_time_month">顯示月份</string>
|
<string name="status_bar_time_month">顯示月份</string>
|
||||||
<string name="status_bar_time_day">顯示日期</string>
|
<string name="status_bar_time_day">顯示日期</string>
|
||||||
<string name="status_bar_time_week">顯示星期</string>
|
<string name="status_bar_time_week">顯示星期</string>
|
||||||
<string name="status_bar_time_hide_space">隱藏間隔</string>
|
<string name="status_bar_time_hide_space">隱藏間隔</string>
|
||||||
<string name="allow_screenshots">允許截圖</string>
|
<string name="allow_screenshots">允許截圖</string>
|
||||||
<string name="lock_max">鎖定目前上限</string>
|
<string name="lock_max">鎖定當前上限</string>
|
||||||
<string name="status_bar_time_double_hour">顯示時辰</string>
|
<string name="status_bar_time_double_hour">顯示時辰</string>
|
||||||
<string name="custom_clock_switch">自訂時鐘 - 主開關</string>
|
<string name="custom_clock_switch">自定義時鐘-總開關</string>
|
||||||
<string name="status_bar_time_period">顯示時段</string>
|
<string name="status_bar_time_period">顯示時段</string>
|
||||||
<string name="status_bar_time_double_line">雙列顯示</string>
|
<string name="status_bar_time_double_line">雙行顯示</string>
|
||||||
<string name="status_bar_clock_size">時鐘大小 (0:無變更)</string>
|
<string name="status_bar_clock_size">時鐘大小(0:不更改)</string>
|
||||||
<string name="status_bar_clock_double_line_size">雙列大小 (0:無變更)</string>
|
<string name="status_bar_clock_double_line_size">雙排大小(0:不更改)</string>
|
||||||
<string name="matters_needing_attention">功能無法生效?</string>
|
<string name="matters_needing_attention">功能無法生效?</string>
|
||||||
<string name="Done">確定</string>
|
<string name="Done">確定</string>
|
||||||
<string name="about_module_summary">檢視模組相關資訊</string>
|
<string name="about_module_summary">查看模塊相關訊息</string>
|
||||||
<string name="contributor_list">開放原始碼存放庫貢獻者名單</string>
|
<string name="contributor_list">開源倉庫貢獻者名單</string>
|
||||||
<string name="developer">開發人員</string>
|
<string name="developer">開發者</string>
|
||||||
<string name="thank_list">感謝名單</string>
|
<string name="thank_list">感謝名單</string>
|
||||||
<string name="third_party_open_source_statement">第三方開放原始碼聲明</string>
|
<string name="third_party_open_source_statement">第三方開源聲明</string>
|
||||||
<string name="corepacth">移除安裝限制</string>
|
<string name="corepacth">解除安裝限制</string>
|
||||||
<string name="corepacth_summary">支援降級/不同簽章/無簽章安裝</string>
|
<string name="corepacth_summary">支持降級/不同簽名/無簽名安裝</string>
|
||||||
<string name="prevent_recovery_of_battery_optimization_white_list">防止復原電池效能最佳化白名單</string>
|
<string name="prevent_recovery_of_battery_optimization_white_list">防止恢復電池優化白名單</string>
|
||||||
<string name="failed_after_restart">系統重啟後仍會還原</string>
|
<string name="failed_after_restart">系統重啟後仍會還原</string>
|
||||||
<string name="battery_optimization">電池效能最佳化</string>
|
<string name="battery_optimization">電池優化</string>
|
||||||
<string name="battery_optimization_summary">快速開啟被 MIUI 隱藏的電池效能最佳化功能</string>
|
<string name="battery_optimization_summary">快速打開被MIUI隱藏的電池優化功能</string>
|
||||||
<string name="remove_small_window_restrictions">強制使用小窗</string>
|
<string name="remove_small_window_restrictions">強制使用小窗</string>
|
||||||
<string name="app_coolapk_url">來酷安給我們五星好評</string>
|
<string name="app_coolapk_url">來酷安給我們五星好評</string>
|
||||||
<string name="app_coolapk_url_summary">這可以使我們被更多的人發現</string>
|
<string name="app_coolapk_url_summary">這可以使我們被更多的人發現</string>
|
||||||
<string name="qq_channel">加入官方 QQ 頻道</string>
|
<string name="qq_channel">加入 官方QQ頻道</string>
|
||||||
<string name="tg_channel">加入官方 TG 頻道</string>
|
<string name="tg_channel">加入 官方TG頻道</string>
|
||||||
<string name="tg_channel_summary">可在頻道頁面進入聊天群組</string>
|
<string name="tg_channel_summary">可在頻道資料頁進入交流群</string>
|
||||||
<string name="discussions">討論</string>
|
<string name="discussions">討論</string>
|
||||||
<string name="remove_small_window_restrictions_summary">忽略系統黑名單與軟件小窗封鎖</string>
|
<string name="remove_small_window_restrictions_summary">忽略系統黑名單與軟件禁止小窗</string>
|
||||||
<string name="remove_the_left_side_of_the_lock_screen">移除負一屏功能鎖定</string>
|
<string name="remove_the_left_side_of_the_lock_screen">移除鎖定螢幕負一屏功能</string>
|
||||||
<string name="remove_lock_screen_camera">移除鎖定螢幕相機功能</string>
|
<string name="remove_lock_screen_camera">移除鎖定螢幕相機功能</string>
|
||||||
<string name="only_official_default_themes_are_supported">僅支援官方預設主題</string>
|
<string name="only_official_default_themes_are_supported">僅支持官方默認主題</string>
|
||||||
<string name="lock_one_hundred">手機管家鎖定 100 分</string>
|
<string name="lock_one_hundred">手機管家鎖定100分</string>
|
||||||
<string name="scope">作用範圍</string>
|
<string name="scope">作用域</string>
|
||||||
<string name="scope_android">系統架構</string>
|
<string name="scope_android">系統框架</string>
|
||||||
<string name="scope_systemui">系統 UI</string>
|
<string name="scope_systemui">系統界面</string>
|
||||||
<string name="scope_miuihome">系統桌面</string>
|
<string name="scope_miuihome">系統桌面</string>
|
||||||
<string name="scope_other">其他</string>
|
<string name="scope_other">其他</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed_summary">將狀態列網絡速度元件的更新間隔變更為 1s</string>
|
<string name="status_bar_network_speed_refresh_speed_summary">將狀態欄網速組件的刷新頻率改成1s</string>
|
||||||
<string name="hide_battery_percentage_icon_summary">需自行開啟電池百分比外顯功能</string>
|
<string name="hide_battery_percentage_icon_summary">需自行開啟電池百分比外顯功能</string>
|
||||||
<string name="hide_status_bar_network_speed_second_summary">隱藏狀態列網絡速度元件的 (/s) 單位</string>
|
<string name="hide_status_bar_network_speed_second_summary">隱藏狀態欄網速組件的(/s)單位</string>
|
||||||
<string name="remove_the_maximum_number_of_notification_icons_summary">移除狀態列最多僅能顯示三條通知的限制</string>
|
<string name="remove_the_maximum_number_of_notification_icons_summary">解除狀態欄最多只能顯示3個通知的限制</string>
|
||||||
<string name="scope_systemui_summary">自訂系統介面、狀態列、鎖定螢幕等</string>
|
<string name="scope_systemui_summary">自定義系統界面、狀態欄、鎖定螢幕等</string>
|
||||||
<string name="scope_android_summary">首次啟動模組或模組更新後,\n此處的功能需重啟系統後才能生效</string>
|
<string name="scope_android_summary">首次啟動模塊 或 模塊更新後,\n此處的功能需重啟系統後才能生效</string>
|
||||||
<string name="scope_other_summary">手機管家、相簿編輯、電量與性能等</string>
|
<string name="scope_other_summary">手機管家、相冊編輯、電量與性能等</string>
|
||||||
<string name="scope_powerkeeper">電量與性能</string>
|
<string name="scope_powerkeeper">電量與性能</string>
|
||||||
<string name="scope_securitycenter">手機管家</string>
|
<string name="scope_securitycenter">手機管家</string>
|
||||||
<string name="scope_mediaeditor">相簿編輯器</string>
|
<string name="scope_mediaeditor">相冊編輯</string>
|
||||||
<string name="home_time_summary">開啟後即使存在時鐘小工具,\n也不會隱藏狀態列時鐘</string>
|
<string name="home_time_summary">開啟後即使存在時鐘小組件,\n也不會對狀態欄隱藏時鐘</string>
|
||||||
<string name="skip_waiting_time_summary">開啟後可忽略 MIUI 在開啟 USB 偵錯、\n未知應用程式來源、無障礙時的凍結時間</string>
|
<string name="skip_waiting_time_summary">開啟後可忽略MIUI在開啟USB調試、\n未知來源、無障礙時的凍結時間</string>
|
||||||
<string name="lock_one_hundred_summary">鎖定手機管家 100 分並封鎖修復按鈕</string>
|
<string name="lock_one_hundred_summary">鎖定手機管家100分並屏蔽修復按鈕</string>
|
||||||
<string name="unlock_unlimited_cropping_summary">忽略 MIUI 對圖片裁切的最小限制</string>
|
<string name="unlock_unlimited_cropping_summary">無視MIUI對圖片裁切的最小限制</string>
|
||||||
<string name="hide_wifi_activity_icon">隱藏「WIFI 活動」圖示</string>
|
<string name="hide_wifi_activity_icon">隱藏 WIFI箭頭 圖標</string>
|
||||||
<string name="hide_mobile_activity_icon">隱藏「流動網絡活動」圖示</string>
|
<string name="hide_mobile_activity_icon">隱藏 移動箭頭 圖標</string>
|
||||||
<string name="hide_mobile_type_icon">隱藏「流動網絡類型」圖示</string>
|
<string name="hide_mobile_type_icon">隱藏 移動類型 圖標</string>
|
||||||
<string name="show_weather_main_switch">顯示天氣 - 主開關</string>
|
<string name="show_weather_main_switch">顯示天氣-總開關</string>
|
||||||
<string name="lock_screen">鎖定螢幕</string>
|
<string name="lock_screen">鎖定螢幕</string>
|
||||||
<string name="notification_center">通知中心</string>
|
<string name="notification_center">通知中心</string>
|
||||||
<string name="show_city">顯示城市</string>
|
<string name="show_city">顯示城市</string>
|
||||||
<string name="lock_max_fps_summary">支援新增下拉控制中心快速開關,即時切換</string>
|
<string name="lock_max_fps_summary">支持添加下拉控制中心快速開關,實時切換</string>
|
||||||
<string name="control_center">控制中心</string>
|
<string name="control_center">控制中心</string>
|
||||||
<string name="control_center_weather_summary">暫不支援妙享版控制中心</string>
|
<string name="control_center_weather_summary">暫不支持妙享版控制中心</string>
|
||||||
<string name="not_support">您似乎正在使用過時的 LSPosed 版本或 LSPosed 未啟用,請更新 LSPosed 或啟用後再試一次。</string>
|
<string name="not_support">您似乎正在使用過時的 LSPosed 版本或 LSPosed 未啟動,請更新 LSPosed 或者啟動後再試。</string>
|
||||||
<string name="matters_needing_attention_context">首次啟動或更新後建議重啟手機\n絕大部分功能變更後需要在右上角重啟範圍後生效</string>
|
<string name="matters_needing_attention_context">首次啟動或更新後建議重啟手機\n絕大部分功能更改後需要在右上角重啟作用域後生效</string>
|
||||||
<string name="are_you_sure_reboot">確定重啟系統?</string>
|
<string name="are_you_sure_reboot">確定重啟系統?</string>
|
||||||
<string name="cancel">取消</string>
|
<string name="cancel">取消</string>
|
||||||
<string name="are_you_sure_reboot_scope">確定要重啟所有作用範圍?</string>
|
<string name="are_you_sure_reboot_scope">確定重啟全部作用域?</string>
|
||||||
<string name="hide_battery_charging_icon">隱藏「充電」圖示</string>
|
<string name="hide_battery_charging_icon">隱藏 充電 圖標</string>
|
||||||
<string name="hide_wifi_standard_icon">隱藏「WIFI 標準」圖示</string>
|
<string name="hide_wifi_standard_icon">隱藏 WIFI標準 圖標</string>
|
||||||
<string name="status_bar_time_center">時間置中</string>
|
<string name="status_bar_time_center">時間居中</string>
|
||||||
<string name="status_bar_layout_summary">更多狀態列配置等候開發中</string>
|
<string name="status_bar_layout_summary">更多狀態欄佈局等待開發中</string>
|
||||||
<string name="status_bar_layout">狀態列配置</string>
|
<string name="status_bar_layout">狀態欄佈局</string>
|
||||||
<string name="layout_compatibility_mode">相容性模式</string>
|
<string name="layout_compatibility_mode">兼容模式</string>
|
||||||
<string name="left_margin">左邊距 (0:自動)</string>
|
<string name="left_margin">左邊距 (0: 自動)</string>
|
||||||
<string name="right_margin">右邊距 (0:自動)</string>
|
<string name="right_margin">右邊距 (0: 自動)</string>
|
||||||
<string name="layout_compatibility_mode_summary">強制全螢幕配置 (支援所有螢幕凹口或空缺)</string>
|
<string name="remove_macro_blacklist">去除遊戲自動連招黑名單</string>
|
||||||
<string name="remove_macro_blacklist">移除遊戲自動連招黑名單</string>
|
<string name="hide_network_speed_splitter">隱藏網速分隔符</string>
|
||||||
<string name="hide_network_speed_splitter">隱藏網絡速度分割器</string>
|
|
||||||
<string name="updater">系統更新</string>
|
<string name="updater">系統更新</string>
|
||||||
<string name="remove_ota_validate">*移除 OTA 驗證 [實驗性]</string>
|
<string name="remove_ota_validate">*移除OTA驗證 [實驗性]</string>
|
||||||
<string name="remove_ota_validate_summary">- 僅支援 VAB 系列使用,其餘系列請不要開啟。\n- 無需內測資格即可刷入完整內測包。\n- 擁有內測權限的使用者將無法接收內測更新\n可用於隱藏系統更新。\n- 跨版本類型升級後,建議清除資料。\n- 不支援非官方 ROM 使用。</string>
|
<string name="remove_ota_validate_summary">- 僅支持VAB系列使用,其餘系列請不要開啟。\n- 無需內測試資格即可刷入完整內測包。\n- 擁有內測權限的用戶將無法接收內測更新\n可用於屏蔽系統更新。\n- 跨版本類型升級後,建議清空數據。\n- 不支持非官方ROM使用。</string>
|
||||||
<string name="settings">設定</string>
|
<string name="settings">設定</string>
|
||||||
<string name="show_notification_importance">顯示通知重要程度</string>
|
<string name="show_notification_importance">顯示通知重要程度</string>
|
||||||
<string name="show_notification_importance_summary">顯示 MIUI 12 及之後版本被隱藏的通知重要程度設定</string>
|
<string name="show_notification_importance_summary">顯示 MIUI 12 及之後版本被隱藏的通知重要程度設定</string>
|
||||||
<string name="remove_ad">移除廣告</string>
|
<string name="remove_ad">去廣告</string>
|
||||||
<string name="remove_thememanager_ads">移除個性主題廣告</string>
|
<string name="remove_thememanager_ads">拿掉主題壁紙的廣告</string>
|
||||||
<string name="battery_life_function">電池頁面顯示目前溫度</string>
|
<string name="battery_life_function">電池頁面展示當前溫度</string>
|
||||||
<string name="enable_wave_charge_animation">啟用 MIX Alpha 充電動畫</string>
|
<string name="enable_wave_charge_animation">啟用Alpha充電動畫</string>
|
||||||
<string name="max_wallpaper_scale">桌布縮放比例</string>
|
<string name="max_wallpaper_scale">壁紙縮放比例</string>
|
||||||
<string name="def">"預設值: "</string>
|
<string name="def">"默認值:"</string>
|
||||||
<string name="current">目前值:</string>
|
<string name="current">當前值:</string>
|
||||||
<string name="participate_in_translation">參與翻譯</string>
|
<string name="participate_in_translation">參與翻譯</string>
|
||||||
<string name="participate_in_translation_summary">協助我們將這個應用程式翻譯為您的語言</string>
|
<string name="participate_in_translation_summary">幫助我們將這個APP翻譯成您的語言</string>
|
||||||
<string name="lock_screen_charging_current">充電時顯示目前電流</string>
|
<string name="lock_screen_charging_current">充電時顯示當前電流</string>
|
||||||
<string name="current_current">目前電流</string>
|
<string name="current_current">當前電流</string>
|
||||||
<string name="remove_open_app_confirmation_popup">移除「開啟應用程式」彈出式視窗</string>
|
<string name="remove_open_app_confirmation_popup">移除打開應用彈窗</string>
|
||||||
<string name="remove_open_app_confirmation_popup_summary">移除「XXX 想要開啟 XXX」的彈出式視窗</string>
|
<string name="remove_open_app_confirmation_popup_summary">移除 \"XXX 想要打開 XXX\" 的彈窗 。</string>
|
||||||
<string name="hide_volume_icon">隱藏「音量」圖示</string>
|
<string name="hide_volume_icon">隱藏 音量 圖標</string>
|
||||||
<string name="hide_zen_icon">隱藏「勿擾」圖示</string>
|
<string name="hide_zen_icon">隱藏 勿擾 圖標</string>
|
||||||
<string name="hide_icon">隱藏圖示</string>
|
<string name="hide_icon">隱藏圖標</string>
|
||||||
<string name="double_tap_to_sleep">輕觸兩下鎖定螢幕</string>
|
<string name="double_tap_to_sleep">雙擊鎖定螢幕</string>
|
||||||
<string name="home_double_tap_to_sleep_summary">輕觸兩下空白位置鎖定螢幕</string>
|
<string name="home_double_tap_to_sleep_summary">雙擊空白處鎖定螢幕</string>
|
||||||
<string name="old_quick_settings_panel">舊版快速設定面板</string>
|
<string name="old_quick_settings_panel">舊版快速設定面板</string>
|
||||||
<string name="old_qs_custom_switch">自訂行列</string>
|
<string name="old_qs_custom_switch">自定義行列數</string>
|
||||||
<string name="qs_custom_columns_unexpanded">行 (未展開)</string>
|
<string name="qs_custom_columns_unexpanded">列 (未展開)</string>
|
||||||
<string name="qs_custom_rows">列</string>
|
<string name="qs_custom_rows">行</string>
|
||||||
<string name="qs_custom_columns">行</string>
|
<string name="qs_custom_columns">列</string>
|
||||||
<string name="qs_custom_rows_horizontal">列 (橫向)</string>
|
<string name="qs_custom_rows_horizontal">列 (橫屏)</string>
|
||||||
<string name="status_bar_dual_row_network_speed">雙列網絡速度</string>
|
<string name="status_bar_dual_row_network_speed">雙排網路速度</string>
|
||||||
<string name="status_bar_dual_row_network_speed_summary">上下列網絡速度顯示</string>
|
<string name="status_bar_dual_row_network_speed_summary">上下行網路速度顯示</string>
|
||||||
<string name="status_bar_network_speed">狀態列網絡速度</string>
|
<string name="status_bar_network_speed">狀態列網路速度</string>
|
||||||
<string name="status_bar_network_speed_dual_row_size">雙列大小 (0:無變更)</string>
|
<string name="status_bar_network_speed_dual_row_size">雙排大小(0:不更改)</string>
|
||||||
<string name="status_bar_network_speed_dual_row_icon">雙列圖示</string>
|
<string name="status_bar_network_speed_dual_row_icon">雙排圖標</string>
|
||||||
<string name="none">無</string>
|
<string name="pkg_installer">應用包管理組件</string>
|
||||||
<string name="status_bar_network_speed_dual_row_gravity">雙列對齊</string>
|
<string name="pkg_installer_summary">禁用頻繁安裝應用檢查</string>
|
||||||
<string name="left">置左</string>
|
|
||||||
<string name="right">置右</string>
|
|
||||||
<string name="big_mobile_type_icon">大型流動網絡圖示</string>
|
|
||||||
<string name="show_wifi_standard">顯示 WiFi 標準</string>
|
|
||||||
<string name="can_notification_slide">強制允許所有通知使用小窗</string>
|
|
||||||
<string name="battery_percentage_font_size">電量百分比字型大小</string>
|
|
||||||
<string name="zero_do_no_change">0:無變更</string>
|
|
||||||
<string name="big_mobile_type_icon_size">大型流動網絡圖示大小</string>
|
|
||||||
<string name="big_mobile_type_icon_bold">大型流動網絡圖示粗體</string>
|
|
||||||
<string name="big_mobile_type_icon_up_and_down_position">大型流動網絡圖示上下位置</string>
|
|
||||||
<string name="input_error">輸入錯誤</string>
|
|
||||||
<string name="range">範圍:</string>
|
|
||||||
<string name="big_mobile_type_icon_left_and_right_margins">大型流動網絡圖示左右邊距</string>
|
|
||||||
<string name="cast">投放</string>
|
|
||||||
<string name="force_support_send_app">強制所有應用程式支援在其他裝置開啟</string>
|
|
||||||
<string name="status_bar_time_double_line_center_align">雙列置中對齊</string>
|
|
||||||
<string name="default1">預設值</string>
|
|
||||||
<string name="clock_center">時鐘置中</string>
|
|
||||||
<string name="clock_right">時鐘置右</string>
|
|
||||||
<string name="status_bar_layout_mode">狀態列配置模式</string>
|
|
||||||
<string name="clock_center_and_icon_left">時鐘置中 + 圖示置左</string>
|
|
||||||
<string name="maximum_number_of_notification_icons">通知圖示最大數目</string>
|
|
||||||
<string name="maximum_number_of_notification_dots">通知圓點最大數目</string>
|
|
||||||
<string name="custom_mobile_type_text">自訂流動網絡類型文字</string>
|
|
||||||
<string name="custom_mobile_type_text_switch">自訂流動網絡類型文字開關</string>
|
|
||||||
<string name="downgr">允許降級安裝應用程式</string>
|
|
||||||
<string name="downgr_summary">允許在已安裝新版的情況下覆寫為舊版本</string>
|
|
||||||
<string name="authcreak">停用安裝程式簽章驗證</string>
|
|
||||||
<string name="authcreak_summary">關閉安裝應用程式時的簽名驗證,可以安裝被修改的 APK</string>
|
|
||||||
<string name="digestCreak">停用 APK 簽章驗證</string>
|
|
||||||
<string name="digestCreak_summary">允許安裝套件名稱相同但簽章不同的應用程式</string>
|
|
||||||
<string name="UsePreSig">安裝時始終使用已安裝應用程式的簽章</string>
|
|
||||||
<string name="UsePreSig_summary">安裝時始終使用已安裝應用程式的簽章\n這非常<b>危險</b>\n僅在真正需要時啟用!</string>
|
|
||||||
<string name="enhancedMode">增強模式</string>
|
|
||||||
<string name="enhancedMode_summary">可以解決一些應用程式內部的完整性驗證,一般不需要開啟</string>
|
|
||||||
<string name="rear_display">後方螢幕 (11 Ultra)</string>
|
|
||||||
<string name="lock_screen_clock_display_seconds">時鐘顯示秒數</string>
|
|
||||||
<string name="sound">聲音</string>
|
|
||||||
<string name="media_volume_steps_switch">媒體音量階數</string>
|
|
||||||
<string name="allow_untrusted_touches">允許不受信任的觸控</string>
|
|
||||||
<string name="take_effect_after_reboot">重新開機後生效</string>
|
|
||||||
<string name="media_volume_steps_summary">開啟後可能會導致音量列捲動卡頓或藍牙音量異常</string>
|
|
||||||
<string name="can_notification_slide_summary">可能無法支援一些使用小米推送 (Mi Push) 推播的通知</string>
|
|
||||||
<string name="screen_hole_location">螢幕凹口位置</string>
|
|
||||||
<string name="custom_clock_mode">自訂時鐘模式</string>
|
|
||||||
<string name="custom_clock_format_geek">時鐘格式</string>
|
|
||||||
<string name="off">關閉</string>
|
|
||||||
<string name="center">置中</string>
|
|
||||||
<string name="left_or_right">左右</string>
|
|
||||||
<string name="preset">預設</string>
|
|
||||||
<string name="geek">極客</string>
|
|
||||||
<string name="do_not_clear_app">防止終止背景應用程式</string>
|
|
||||||
<string name="do_not_clear_app_summary">可能會增加耗電,建議配合「使 Millet 更加積極」使用,不建議配合墓碑、A1 記憶體管理等會強制應用程式進入快取的模組使用</string>
|
|
||||||
<string name="make_millet_more_aggressive">使 Millet 更加積極</string>
|
|
||||||
<string name="make_millet_more_aggressive_summary">允許 Millet 在背景應用程式有通知、有服務執行、有處理程序執行的狀況下凍結應用程式。\n不希望被凍結的應用程式可將省電策略設為無限制\n啟用前請先解除安裝墓碑和 NoANR 相關模組。</string>
|
|
||||||
<string name="make_millet_ignore_active">允許 Millet 凍結使用中的應用程式</string>
|
|
||||||
<string name="make_millet_ignore_active_summary">非常積極,可能會影響應用程式執行</string>
|
|
||||||
<string name="pkg_installer">套件安裝程式</string>
|
|
||||||
<string name="pkg_installer_summary">停用頻繁應用程式安裝檢查</string>
|
|
||||||
<string name="big_mobile_type_only_show_network_card">大型流動網絡僅會顯示網絡卡</string>
|
|
||||||
<string name="big_mobile_type_location">大型流動網絡位置</string>
|
|
||||||
<string name="miuihome_recentview_remove_card_animation">修改卡片動畫</string>
|
|
||||||
<string name="miuihome_recentview_remove_card_animation_summary">修改在最近任務介面移除卡片的動畫效果</string>
|
|
||||||
<string name="miuihome_recentwiew_wallpaper_darkening">停用桌布壓暗</string>
|
|
||||||
<string name="miuihome_recentwiew_wallpaper_darkening_summary">這將會停用進出最近任務介面時的桌布壓暗效果</string>
|
|
||||||
<string name="miuihome_scroll_icon_name">捲動顯示應用程式名稱</string>
|
|
||||||
<string name="miuihome_scroll_icon_name_summary">過長的應用程式名稱將會捲動,而不會在多列顯示</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window">捷徑選單新增小窗</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window_summary">長按桌面圖示以快速開啟小窗應用程式</string>
|
|
||||||
<string name="miuihome_shortcut_add_small_window_title">小窗應用程式</string>
|
|
||||||
<string name="click_to_view_use_cases">按一下以檢視案例</string>
|
|
||||||
<string name="disable_bluetooth_temporarily_off" comment="This function is used to completely close Bluetooth">停用暫時關閉藍牙</string>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<string name="performance">性能</string>
|
<string name="performance">效能</string>
|
||||||
<string name="lock_max_fps">鎖定目前重新整理速率上限</string>
|
<string name="lock_max_fps">鎖定目前重新整理速率上限</string>
|
||||||
<string name="ui">介面</string>
|
<string name="ui">介面</string>
|
||||||
<string name="delete_on_post_notification">移除上層顯示通知</string>
|
<string name="delete_on_post_notification">移除上層顯示通知</string>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<string name="disable_flag_secure_summary">開啟後允許在不允許截圖的軟體中截圖\n支援新增下拉控制中心快速開關,保障安全</string>
|
<string name="disable_flag_secure_summary">開啟後允許在不允許截圖的軟體中截圖\n支援新增下拉控制中心快速開關,保障安全</string>
|
||||||
<string name="home">桌面</string>
|
<string name="home">桌面</string>
|
||||||
<string name="home_time">始終顯示桌面時鐘</string>
|
<string name="home_time">始終顯示桌面時鐘</string>
|
||||||
<string name="reboot_host">重啟所有作用範圍</string>
|
<string name="reboot_host">重啟所有範圍</string>
|
||||||
<string name="reboot">重啟系統</string>
|
<string name="reboot">重啟系統</string>
|
||||||
<!--Status bar icons-->
|
<!--Status bar icons-->
|
||||||
<string name="status_bar_icon">狀態列圖示</string>
|
<string name="status_bar_icon">狀態列圖示</string>
|
||||||
@@ -39,11 +39,11 @@
|
|||||||
<string name="github_url">歡迎更多開發人員共同參與開發</string>
|
<string name="github_url">歡迎更多開發人員共同參與開發</string>
|
||||||
<string name="issues">回饋/提議</string>
|
<string name="issues">回饋/提議</string>
|
||||||
<string name="issues_url">按一下以檢視 GitHub 問題</string>
|
<string name="issues_url">按一下以檢視 GitHub 問題</string>
|
||||||
<string name="xposeddescription">基於 MIUI13+(Android 12+) 的客製化工具</string>
|
<string name="xposeddescription">基於 MIUI13(Android 12) 適配的自訂工具</string>
|
||||||
<string name="statusbar">狀態列</string>
|
<string name="statusbar">狀態列</string>
|
||||||
<string name="status_bar_time_seconds">顯示秒數</string>
|
<string name="status_bar_time_seconds">顯示秒數</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">每秒更新即時網路速度</string>
|
<string name="status_bar_network_speed_refresh_speed">每秒更新即時網路速度</string>
|
||||||
<string name="remove_the_maximum_number_of_notification_icons">移除通知圖示數量上限</string>
|
<string name="remove_the_maximum_number_of_notification_icons">解除通知圖示數量上限</string>
|
||||||
<string name="main_switch">模組主開關</string>
|
<string name="main_switch">模組主開關</string>
|
||||||
<string name="hide_gps_icon">隱藏「GPS」圖示</string>
|
<string name="hide_gps_icon">隱藏「GPS」圖示</string>
|
||||||
<string name="hide_status_bar_network_speed_second">隱藏網路速度 (/s) 單位</string>
|
<string name="hide_status_bar_network_speed_second">隱藏網路速度 (/s) 單位</string>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<string name="skip_waiting_time">跳過 5/10 秒警告時間</string>
|
<string name="skip_waiting_time">跳過 5/10 秒警告時間</string>
|
||||||
<string name="unlock_unlimited_cropping">移除裁剪圖片/螢幕截圖的限制</string>
|
<string name="unlock_unlimited_cropping">移除裁剪圖片/螢幕截圖的限制</string>
|
||||||
<string name="hide_slave_wifi_icon">隱藏「WIFI 次要」圖示</string>
|
<string name="hide_slave_wifi_icon">隱藏「WIFI 次要」圖示</string>
|
||||||
<string name="HideLauncherIcon">隱藏桌面圖示</string>
|
<string name="HideLauncherIcon">隱藏「桌面」圖示</string>
|
||||||
<string name="hide_battery_percentage_icon">隱藏電量 (%)</string>
|
<string name="hide_battery_percentage_icon">隱藏電量 (%)</string>
|
||||||
<string name="hide_battery_icon">隱藏「電池」圖示</string>
|
<string name="hide_battery_icon">隱藏「電池」圖示</string>
|
||||||
<string name="status_bar_clock_format">狀態列時鐘格式</string>
|
<string name="status_bar_clock_format">狀態列時鐘格式</string>
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
<string name="developer">開發人員</string>
|
<string name="developer">開發人員</string>
|
||||||
<string name="thank_list">感謝名單</string>
|
<string name="thank_list">感謝名單</string>
|
||||||
<string name="third_party_open_source_statement">第三方開放原始碼聲明</string>
|
<string name="third_party_open_source_statement">第三方開放原始碼聲明</string>
|
||||||
<string name="corepacth">移除安裝限制</string>
|
<string name="corepacth">解除安裝限制</string>
|
||||||
<string name="corepacth_summary">支援降級/不同簽章/無簽章安裝</string>
|
<string name="corepacth_summary">支援降級/不同簽章/無簽章安裝</string>
|
||||||
<string name="prevent_recovery_of_battery_optimization_white_list">防止復原電池效能最佳化白名單</string>
|
<string name="prevent_recovery_of_battery_optimization_white_list">防止復原電池效能最佳化白名單</string>
|
||||||
<string name="failed_after_restart">系統重啟後仍會還原</string>
|
<string name="failed_after_restart">系統重啟後仍會還原</string>
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
<string name="remove_lock_screen_camera">移除鎖定螢幕相機功能</string>
|
<string name="remove_lock_screen_camera">移除鎖定螢幕相機功能</string>
|
||||||
<string name="only_official_default_themes_are_supported">僅支援官方預設主題</string>
|
<string name="only_official_default_themes_are_supported">僅支援官方預設主題</string>
|
||||||
<string name="lock_one_hundred">手機管家鎖定 100 分</string>
|
<string name="lock_one_hundred">手機管家鎖定 100 分</string>
|
||||||
<string name="scope">作用範圍</string>
|
<string name="scope">範圍</string>
|
||||||
<string name="scope_android">系統架構</string>
|
<string name="scope_android">系統架構</string>
|
||||||
<string name="scope_systemui">系統 UI</string>
|
<string name="scope_systemui">系統 UI</string>
|
||||||
<string name="scope_miuihome">系統桌面</string>
|
<string name="scope_miuihome">系統桌面</string>
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
<string name="status_bar_network_speed_refresh_speed_summary">將狀態列網路速度元件的更新間隔變更為 1s</string>
|
<string name="status_bar_network_speed_refresh_speed_summary">將狀態列網路速度元件的更新間隔變更為 1s</string>
|
||||||
<string name="hide_battery_percentage_icon_summary">需自行開啟電池百分比外顯功能</string>
|
<string name="hide_battery_percentage_icon_summary">需自行開啟電池百分比外顯功能</string>
|
||||||
<string name="hide_status_bar_network_speed_second_summary">隱藏狀態列網路速度元件的 (/s) 單位</string>
|
<string name="hide_status_bar_network_speed_second_summary">隱藏狀態列網路速度元件的 (/s) 單位</string>
|
||||||
<string name="remove_the_maximum_number_of_notification_icons_summary">移除狀態列最多僅能顯示三條通知的限制</string>
|
<string name="remove_the_maximum_number_of_notification_icons_summary">解除狀態列最多僅能顯示三條通知的限制</string>
|
||||||
<string name="scope_systemui_summary">自訂系統介面、狀態列、鎖定螢幕等</string>
|
<string name="scope_systemui_summary">自訂系統介面、狀態列、鎖定螢幕等</string>
|
||||||
<string name="scope_android_summary">首次啟動模組或模組更新後,\n此處的功能需重啟系統後才能生效</string>
|
<string name="scope_android_summary">首次啟動模組或模組更新後,\n此處的功能需重啟系統後才能生效</string>
|
||||||
<string name="scope_other_summary">手機管家、相簿編輯、電量與性能等</string>
|
<string name="scope_other_summary">手機管家、相簿編輯、電量與性能等</string>
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
<string name="matters_needing_attention_context">首次啟動或更新後建議重啟手機\n絕大部分功能變更後需要在右上角重啟範圍後生效</string>
|
<string name="matters_needing_attention_context">首次啟動或更新後建議重啟手機\n絕大部分功能變更後需要在右上角重啟範圍後生效</string>
|
||||||
<string name="are_you_sure_reboot">確定重啟系統?</string>
|
<string name="are_you_sure_reboot">確定重啟系統?</string>
|
||||||
<string name="cancel">取消</string>
|
<string name="cancel">取消</string>
|
||||||
<string name="are_you_sure_reboot_scope">確定要重啟所有作用範圍?</string>
|
<string name="are_you_sure_reboot_scope">確定重啟所有範圍?</string>
|
||||||
<string name="hide_battery_charging_icon">隱藏「充電」圖示</string>
|
<string name="hide_battery_charging_icon">隱藏「充電」圖示</string>
|
||||||
<string name="hide_wifi_standard_icon">隱藏「WIFI 標準」圖示</string>
|
<string name="hide_wifi_standard_icon">隱藏「WIFI 標準」圖示</string>
|
||||||
<string name="status_bar_time_center">時間置中</string>
|
<string name="status_bar_time_center">時間置中</string>
|
||||||
@@ -157,69 +157,69 @@
|
|||||||
<string name="lock_screen_charging_current">充電時顯示目前電流</string>
|
<string name="lock_screen_charging_current">充電時顯示目前電流</string>
|
||||||
<string name="current_current">目前電流</string>
|
<string name="current_current">目前電流</string>
|
||||||
<string name="remove_open_app_confirmation_popup">移除「開啟應用程式」彈出式視窗</string>
|
<string name="remove_open_app_confirmation_popup">移除「開啟應用程式」彈出式視窗</string>
|
||||||
<string name="remove_open_app_confirmation_popup_summary">移除「XXX 想要開啟 XXX」的彈出式視窗</string>
|
<string name="remove_open_app_confirmation_popup_summary">移除 \"XXX 想要打開 XXX\" 的彈出視窗 。</string>
|
||||||
<string name="hide_volume_icon">隱藏「音量」圖示</string>
|
<string name="hide_volume_icon">隱藏 音量 圖示</string>
|
||||||
<string name="hide_zen_icon">隱藏「勿擾」圖示</string>
|
<string name="hide_zen_icon">隱藏 勿擾 圖示</string>
|
||||||
<string name="hide_icon">隱藏圖示</string>
|
<string name="hide_icon">隱藏圖示</string>
|
||||||
<string name="double_tap_to_sleep">輕觸兩下鎖定螢幕</string>
|
<string name="double_tap_to_sleep">雙擊鎖定螢幕</string>
|
||||||
<string name="home_double_tap_to_sleep_summary">輕觸兩下空白位置鎖定螢幕</string>
|
<string name="home_double_tap_to_sleep_summary">雙擊空白位置鎖定螢幕</string>
|
||||||
<string name="old_quick_settings_panel">舊版快速設定面板</string>
|
<string name="old_quick_settings_panel">舊快速設定面板</string>
|
||||||
<string name="old_qs_custom_switch">自訂行列</string>
|
<string name="old_qs_custom_switch">自定義行與列</string>
|
||||||
<string name="qs_custom_columns_unexpanded">行 (未展開)</string>
|
<string name="qs_custom_columns_unexpanded">列 (未展開)</string>
|
||||||
<string name="qs_custom_rows">列</string>
|
<string name="qs_custom_rows">行</string>
|
||||||
<string name="qs_custom_columns">行</string>
|
<string name="qs_custom_columns">列</string>
|
||||||
<string name="qs_custom_rows_horizontal">列 (橫向)</string>
|
<string name="qs_custom_rows_horizontal">行 (橫向)</string>
|
||||||
<string name="status_bar_dual_row_network_speed">雙列網路速度</string>
|
<string name="status_bar_dual_row_network_speed">雙行網路速度</string>
|
||||||
<string name="status_bar_dual_row_network_speed_summary">上下列網路速度顯示</string>
|
<string name="status_bar_dual_row_network_speed_summary">上下行網路速度顯示</string>
|
||||||
<string name="status_bar_network_speed">狀態列網路速度</string>
|
<string name="status_bar_network_speed">狀態欄網路速度</string>
|
||||||
<string name="status_bar_network_speed_dual_row_size">雙列大小 (0:無變更)</string>
|
<string name="status_bar_network_speed_dual_row_size">雙行大小(0:不更改)</string>
|
||||||
<string name="status_bar_network_speed_dual_row_icon">雙列圖示</string>
|
<string name="status_bar_network_speed_dual_row_icon">雙行圖示</string>
|
||||||
<string name="none">無</string>
|
<string name="none">無</string>
|
||||||
<string name="status_bar_network_speed_dual_row_gravity">雙列對齊</string>
|
<string name="status_bar_network_speed_dual_row_gravity">雙行網速對齊</string>
|
||||||
<string name="left">置左</string>
|
<string name="left">置左</string>
|
||||||
<string name="right">置右</string>
|
<string name="right">置右</string>
|
||||||
<string name="big_mobile_type_icon">大型行動網路圖示</string>
|
<string name="big_mobile_type_icon">大行動網路圖示</string>
|
||||||
<string name="show_wifi_standard">顯示 WiFi 標準</string>
|
<string name="show_wifi_standard">顯示 Wifi 標準</string>
|
||||||
<string name="can_notification_slide">強制允許所有通知使用小窗</string>
|
<string name="can_notification_slide">強制允許全部通知可使用小窗</string>
|
||||||
<string name="battery_percentage_font_size">電量百分比字型大小</string>
|
<string name="battery_percentage_font_size">電量百分比字體大小</string>
|
||||||
<string name="zero_do_no_change">0:無變更</string>
|
<string name="zero_do_no_change">0:不修改</string>
|
||||||
<string name="big_mobile_type_icon_size">大型行動網路圖示大小</string>
|
<string name="big_mobile_type_icon_size">大行動網路圖示大小</string>
|
||||||
<string name="big_mobile_type_icon_bold">大型行動網路圖示粗體</string>
|
<string name="big_mobile_type_icon_bold">大行動網路圖示加粗</string>
|
||||||
<string name="big_mobile_type_icon_up_and_down_position">大型行動網路圖示上下位置</string>
|
<string name="big_mobile_type_icon_up_and_down_position">大行動網路圖示上下位置</string>
|
||||||
<string name="input_error">輸入錯誤</string>
|
<string name="input_error">輸入錯誤</string>
|
||||||
<string name="range">範圍:</string>
|
<string name="range">範圍:</string>
|
||||||
<string name="big_mobile_type_icon_left_and_right_margins">大型行動網路圖示左右邊距</string>
|
<string name="big_mobile_type_icon_left_and_right_margins">大行動網路圖示左右邊距</string>
|
||||||
<string name="cast">投放</string>
|
<string name="cast">接力</string>
|
||||||
<string name="force_support_send_app">強制所有應用程式支援在其他裝置開啟</string>
|
<string name="force_support_send_app">允許所有應用使用接力</string>
|
||||||
<string name="status_bar_time_double_line_center_align">雙列置中對齊</string>
|
<string name="status_bar_time_double_line_center_align">雙行居中對齊</string>
|
||||||
<string name="default1">預設值</string>
|
<string name="default1">預設值</string>
|
||||||
<string name="clock_center">時鐘置中</string>
|
<string name="clock_center">時鐘置中</string>
|
||||||
<string name="clock_right">時鐘置右</string>
|
<string name="clock_right">時鐘置右</string>
|
||||||
<string name="status_bar_layout_mode">狀態列版面配置模式</string>
|
<string name="status_bar_layout_mode">狀態欄布局模式</string>
|
||||||
<string name="clock_center_and_icon_left">時鐘置中 + 圖示置左</string>
|
<string name="clock_center_and_icon_left">時間居中+圖示置左</string>
|
||||||
<string name="maximum_number_of_notification_icons">通知圖示最大數量</string>
|
<string name="maximum_number_of_notification_icons">通知圖示最大數量</string>
|
||||||
<string name="maximum_number_of_notification_dots">通知圓點最大數量</string>
|
<string name="maximum_number_of_notification_dots">通知點點數量</string>
|
||||||
<string name="custom_mobile_type_text">自訂行動網路類型文字</string>
|
<string name="custom_mobile_type_text">自訂行動網路類型文字</string>
|
||||||
<string name="custom_mobile_type_text_switch">自訂行動網路類型文字開關</string>
|
<string name="custom_mobile_type_text_switch">自訂行動網路類型文字開關</string>
|
||||||
<string name="downgr">允許降級安裝應用程式</string>
|
<string name="downgr">允許降級安裝應用</string>
|
||||||
<string name="downgr_summary">允許在已安裝新版的情況下覆寫為舊版本</string>
|
<string name="downgr_summary">允許在已安裝新版的情況下覆蓋安裝舊版本</string>
|
||||||
<string name="authcreak">停用安裝程式簽章驗證</string>
|
<string name="authcreak">禁用應用安裝管理器簽名驗證</string>
|
||||||
<string name="authcreak_summary">關閉安裝應用程式時的簽名驗證,可以安裝被修改的 APK</string>
|
<string name="authcreak_summary">關閉安裝應用時的簽名驗證,可以安裝被修改的APK</string>
|
||||||
<string name="digestCreak">停用 APK 簽章驗證</string>
|
<string name="digestCreak">禁用APK簽名驗證</string>
|
||||||
<string name="digestCreak_summary">允許安裝套件名稱相同但簽章不同的應用程式</string>
|
<string name="digestCreak_summary">允許覆蓋安裝同包名不同簽名的應用</string>
|
||||||
<string name="UsePreSig">安裝時始終使用已安裝應用程式的簽章</string>
|
<string name="UsePreSig">安裝時始終使用已安裝應用的簽名</string>
|
||||||
<string name="UsePreSig_summary">安裝時始終使用已安裝應用程式的簽章\n這非常<b>危險</b>\n僅在真正需要時啟用!</string>
|
<string name="UsePreSig_summary">安裝時始終使用已安裝應用的簽名\n這非常<b>危險</b>\n僅在真正需要時啟用!</string>
|
||||||
<string name="enhancedMode">增強模式</string>
|
<string name="enhancedMode">增強模式</string>
|
||||||
<string name="enhancedMode_summary">可以解決一些應用程式內部的完整性驗證,一般不需要開啟</string>
|
<string name="enhancedMode_summary">可以解決一些應用內部的完整性較驗,一般不需要開啟</string>
|
||||||
<string name="rear_display">後方螢幕 (11 Ultra)</string>
|
<string name="rear_display">後螢幕(11Ultra)</string>
|
||||||
<string name="lock_screen_clock_display_seconds">時鐘顯示秒數</string>
|
<string name="lock_screen_clock_display_seconds">時鐘顯示秒數</string>
|
||||||
<string name="sound">聲音</string>
|
<string name="sound">聲音</string>
|
||||||
<string name="media_volume_steps_switch">媒體音量階數</string>
|
<string name="media_volume_steps_switch">媒體音量階數</string>
|
||||||
<string name="allow_untrusted_touches">允許不受信任的觸控</string>
|
<string name="allow_untrusted_touches">允許不受信任的觸控</string>
|
||||||
<string name="take_effect_after_reboot">重新開機後生效</string>
|
<string name="take_effect_after_reboot">重新開機後生效</string>
|
||||||
<string name="media_volume_steps_summary">開啟後可能會導致音量列捲動卡頓或藍牙音量異常</string>
|
<string name="media_volume_steps_summary">開啟後可能會導致音量條的滾動卡頓或藍牙音量異常</string>
|
||||||
<string name="can_notification_slide_summary">可能無法支援一些使用小米推送 (Mi Push) 推播的通知</string>
|
<string name="can_notification_slide_summary">可能無法支援一些使用小米推送(Mi Push)推播的通知</string>
|
||||||
<string name="screen_hole_location">螢幕凹口位置</string>
|
<string name="screen_hole_location">螢幕挖孔位置</string>
|
||||||
<string name="custom_clock_mode">自訂時鐘模式</string>
|
<string name="custom_clock_mode">自訂時鐘模式</string>
|
||||||
<string name="custom_clock_format_geek">時鐘格式</string>
|
<string name="custom_clock_format_geek">時鐘格式</string>
|
||||||
<string name="off">關閉</string>
|
<string name="off">關閉</string>
|
||||||
@@ -233,10 +233,10 @@
|
|||||||
<string name="make_millet_more_aggressive_summary">允許 Millet 在背景應用程式有通知、有服務執行、有處理程序執行的狀況下凍結應用程式。\n不希望被凍結的應用程式可將省電策略設為無限制\n啟用前請先解除安裝墓碑和 NoANR 相關模組。</string>
|
<string name="make_millet_more_aggressive_summary">允許 Millet 在背景應用程式有通知、有服務執行、有處理程序執行的狀況下凍結應用程式。\n不希望被凍結的應用程式可將省電策略設為無限制\n啟用前請先解除安裝墓碑和 NoANR 相關模組。</string>
|
||||||
<string name="make_millet_ignore_active">允許 Millet 凍結使用中的應用程式</string>
|
<string name="make_millet_ignore_active">允許 Millet 凍結使用中的應用程式</string>
|
||||||
<string name="make_millet_ignore_active_summary">非常積極,可能會影響應用程式執行</string>
|
<string name="make_millet_ignore_active_summary">非常積極,可能會影響應用程式執行</string>
|
||||||
<string name="pkg_installer">套件安裝程式</string>
|
<string name="pkg_installer">應用包管理組件</string>
|
||||||
<string name="pkg_installer_summary">停用頻繁應用程式安裝檢查</string>
|
<string name="pkg_installer_summary">禁用頻繁安裝應用檢查</string>
|
||||||
<string name="big_mobile_type_only_show_network_card">大型行動網路僅會顯示網路卡</string>
|
<string name="big_mobile_type_only_show_network_card">大行動網路僅會顯示網路卡</string>
|
||||||
<string name="big_mobile_type_location">大型行動網路位置</string>
|
<string name="big_mobile_type_location">大行動網路位置</string>
|
||||||
<string name="miuihome_recentview_remove_card_animation">修改卡片動畫</string>
|
<string name="miuihome_recentview_remove_card_animation">修改卡片動畫</string>
|
||||||
<string name="miuihome_recentview_remove_card_animation_summary">修改在最近任務介面移除卡片的動畫效果</string>
|
<string name="miuihome_recentview_remove_card_animation_summary">修改在最近任務介面移除卡片的動畫效果</string>
|
||||||
<string name="miuihome_recentwiew_wallpaper_darkening">停用桌布壓暗</string>
|
<string name="miuihome_recentwiew_wallpaper_darkening">停用桌布壓暗</string>
|
||||||
@@ -246,6 +246,5 @@
|
|||||||
<string name="miuihome_shortcut_add_small_window">捷徑選單新增小窗</string>
|
<string name="miuihome_shortcut_add_small_window">捷徑選單新增小窗</string>
|
||||||
<string name="miuihome_shortcut_add_small_window_summary">長按桌面圖示以快速開啟小窗應用程式</string>
|
<string name="miuihome_shortcut_add_small_window_summary">長按桌面圖示以快速開啟小窗應用程式</string>
|
||||||
<string name="miuihome_shortcut_add_small_window_title">小窗應用程式</string>
|
<string name="miuihome_shortcut_add_small_window_title">小窗應用程式</string>
|
||||||
<string name="click_to_view_use_cases">按一下以檢視案例</string>
|
<string name="click_to_view_use_cases">按一下以檢視用例</string>
|
||||||
<string name="disable_bluetooth_temporarily_off" comment="This function is used to completely close Bluetooth">停用暫時關閉藍牙</string>
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<string name="github_url">Welcome more developers to participate in the development</string>
|
<string name="github_url">Welcome more developers to participate in the development</string>
|
||||||
<string name="issues">Feedback/Proposal</string>
|
<string name="issues">Feedback/Proposal</string>
|
||||||
<string name="issues_url">Click to view GitHub Issues</string>
|
<string name="issues_url">Click to view GitHub Issues</string>
|
||||||
<string name="xposeddescription">Customization tool for MIUI13(Android 12)</string>
|
<string name="xposeddescription">Customization tool for MIUI13+(Android 12+)</string>
|
||||||
<string name="statusbar">Status bar</string>
|
<string name="statusbar">Status bar</string>
|
||||||
<string name="status_bar_time_seconds">Display seconds</string>
|
<string name="status_bar_time_seconds">Display seconds</string>
|
||||||
<string name="status_bar_network_speed_refresh_speed">Network speed refresh in seconds</string>
|
<string name="status_bar_network_speed_refresh_speed">Network speed refresh in seconds</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user