Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
xoureldeen committed Nov 6, 2024
1 parent 79e2ed4 commit e274ad6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/vectras/vm/AppConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
public class AppConfig {

// App Config
public static String vectrasVersion = "2.9.3";
public static String vectrasVersion = "2.9.4";
public static String vectrasWebsite = "https://vectras.vercel.app/";
public static String vectrasWebsiteRaw = "https://raw.githubusercontent.com/xoureldeen/Vectras-VM-Android/refs/heads/master/web/";
public static String bootstrapfileslink = vectrasWebsite + "/data/setupfiles.json";
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/vectras/vm/VectrasApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ public void onClick(DialogInterface dialog, int which) {
}

public static void prepareDataForAppConfig(Activity _activity) {
AppConfig.vectrasVersion = "2.9.3";
AppConfig.vectrasVersion = "2.9.4";
AppConfig.vectrasWebsite = "https://vectras.vercel.app/";
AppConfig.vectrasWebsiteRaw = "https://raw.githubusercontent.com/xoureldeen/Vectras-VM-Android/refs/heads/master/web/";
AppConfig.bootstrapfileslink = AppConfig.vectrasWebsiteRaw + "/data/setupfiles.json";
Expand Down
19 changes: 13 additions & 6 deletions app/src/main/res/xml/preferences.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory android:key="output" android:title="Output">
<ListPreference
android:title="Display resolution mode"
Expand Down Expand Up @@ -52,7 +53,8 @@

<SwitchPreferenceCompat
android:title="Force landscape orientation"
android:defaultValue="false"
android:defaultValue="true"
app:isPreferenceVisible="false"
android:key="forceLandscape" />

<SwitchPreferenceCompat
Expand Down Expand Up @@ -123,13 +125,15 @@
<PreferenceCategory android:key="kbd" android:title="Keyboard">
<SwitchPreferenceCompat
android:title="Toggle keyboard using back key"
android:defaultValue="true"
android:defaultValue="false"
app:isPreferenceVisible="false"
android:key="toggleIMEUsingBackKey" />

<SwitchPreferenceCompat
android:title="Show additional keyboard"
android:summary="Show keyboard with additional keys."
android:defaultValue="true"
android:defaultValue="false"
app:isPreferenceVisible="false"
android:key="showAdditionalKbd" />

<SwitchPreferenceCompat
Expand All @@ -140,6 +144,7 @@
<SwitchPreferenceCompat
android:title="Hide additional keyboard on Volume Down key press"
android:defaultValue="false"
app:isPreferenceVisible="false"
android:key="hideEKOnVolDown" />

<SwitchPreferenceCompat
Expand Down Expand Up @@ -198,17 +203,19 @@
android:title="Opacity of extra keys bar, %"
android:key="opacityEKBar"
android:max="100"
app:isPreferenceVisible="false"
android:defaultValue="100" />

<Preference
android:title="Extra keys config"
android:key="extra_keys_config" />
android:key="extra_keys_config"
app:isPreferenceVisible="false" />
</PreferenceCategory>

<PreferenceCategory android:key="other" android:title="Other">
<SwitchPreferenceCompat
android:title="Clipboard sharing"
android:defaultValue="false"
android:defaultValue="true"
android:key="clipboardEnable" />

<Preference
Expand Down

0 comments on commit e274ad6

Please sign in to comment.