Add full-featured number row layout and set it as default; set existing layout as basic.

This commit is contained in:
EduRGB 2025-03-22 04:57:21 +01:00 committed by GitHub
parent c67cd07ed6
commit 27d46eb851
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 56 additions and 124 deletions

View file

@ -0,0 +1,44 @@
[
[
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": { "label": "1", "popup": { "relevant": [{ "label": "¹" }, { "label": "½" }, { "label": "⅓" }, { "label": "¼" }, { "label": "⅛" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "@" },
"default": { "label": "2", "popup": { "relevant": [{ "label": "²" }, { "label": "⅔" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "#" },
"default": { "label": "3", "popup": { "relevant": [{ "label": "³" }, { "label": "¾" }, { "label": "⅜" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "$" },
"default": { "label": "4", "popup": { "relevant": [{ "label": "⁴" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "%" },
"default": { "label": "5", "popup": { "relevant": [{ "label": "⁵" }, { "label": "⅝" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "^" },
"default": { "label": "6", "popup": { "relevant": [{ "label": "⁶" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "&" },
"default": { "label": "7", "popup": { "relevant": [{ "label": "⁷" }, { "label": "⅞" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "*" },
"default": { "label": "8", "popup": { "relevant": [{ "label": "⁸" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": "(" },
"default": { "label": "9", "popup": { "relevant": [{ "label": "⁹" }] } }
},
{ "$": "shift_state_selector",
"manualOrLocked": { "label": ")" },
"default": { "label": "0", "popup": { "relevant": [{ "label": "⁰" }, { "label": "ⁿ" }, { "label": "∅" }] } }
}
]
]

View file

@ -1,124 +0,0 @@
[
[
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "!" },
"default": {
"label": "1",
"popup": {
"relevant": [
{ "label": "¹" }, { "label": "½" }, { "label": "⅓" }, { "label": "¼" }, { "label": "⅛" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "@" },
"default": {
"label": "2",
"popup": {
"relevant": [
{ "label": "²" }, { "label": "⅔" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "#" },
"default": {
"label": "3",
"popup": {
"relevant": [
{ "label": "³" }, { "label": "¾" }, { "label": "⅜" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "$" },
"default": {
"label": "4",
"popup": {
"relevant": [
{ "label": "⁴" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "%" },
"default": {
"label": "5",
"popup": {
"relevant": [
{ "label": "⁵" }, { "label": "⅝" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "^" },
"default": {
"label": "6",
"popup": {
"relevant": [
{ "label": "⁶" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "&" },
"default": {
"label": "7",
"popup": {
"relevant": [
{ "label": "⁷" }, { "label": "⅞" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "*" },
"default": {
"label": "8",
"popup": {
"relevant": [
{ "label": "⁸" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": "(" },
"default": {
"label": "9",
"popup": {
"relevant": [
{ "label": "⁹" }
]
}
}
},
{
"$": "shift_state_selector",
"manualOrLocked": { "label": ")" },
"default": {
"label": "0",
"popup": {
"relevant": [
{ "label": "⁰" }, { "label": "ⁿ" }, { "label": "∅" }
]
}
}
}
]
]

View file

@ -0,0 +1,10 @@
1 ¹ ½ ⅓ ¼ ⅛
2 ² ⅔
3 ³ ¾ ⅜
4 ⁴
5 ⁵ ⅝
6 ⁶
7 ⁷ ⅞
8 ⁸
9 ⁹
0 ⁰ ⁿ ∅

View file

@ -559,6 +559,8 @@ disposition rather than other common dispositions for Latin languages. -->
<string name="layout_numpad_landscape" tools:keep="@string/layout_numpad_landscape">Numpad (landscape)</string>
<!-- Name for number row layout -->
<string name="layout_number_row" tools:keep="@string/layout_number_row">Number row</string>
<!-- Name for number row basic layout -->
<string name="layout_number_row_basic" tools:keep="@string/layout_number_row_basic">Number row (basic)</string>
<!-- Name for bottom row layout in emoji view -->
<string name="layout_emoji_bottom_row" tools:keep="@string/layout_emoji_bottom_row">Emoji bottom row</string>
<!-- Name for bottom row layout in clipboard view -->