Terminal: Convert main_split_config.xml into Kotlin
Construct rules as a Kotlin code instead of a static XML so it's
now much easier to modify the behaviors programatically.
In addition, fix the definition of 'activity_split_ratio' in xml.
It was defined as a "dimension" but it should be a float value.
Bug: 404452165
Test: Check the settings UI and see no differences
Change-Id: Ieb8a961ea3f9190798a37d4b0b02c27752fdaa94
diff --git a/android/TerminalApp/res/values/config.xml b/android/TerminalApp/res/values/config.xml
index 7f0b5e6..a2c9183 100644
--- a/android/TerminalApp/res/values/config.xml
+++ b/android/TerminalApp/res/values/config.xml
@@ -16,4 +16,5 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<bool name="terminal_portrait_only">true</bool>
+ <item name="activity_split_ratio" format="float" type="dimen">0.3</item>
</resources>