From a23245435f350d0204cb11ee19d6b8440deaf0f1 Mon Sep 17 00:00:00 2001
From: yuhan6665 <1588741+yuhan6665@users.noreply.github.com>
Date: Fri, 9 Jul 2021 18:16:39 -0400
Subject: [PATCH] Use EditorKit for custom config
https://github.com/massivemadness/Squircle-IDE
---
V2rayNG/app/build.gradle | 2 ++
V2rayNG/app/src/main/AndroidManifest.xml | 2 ++
.../ang/ui/ServerCustomConfigActivity.kt | 12 +++++----
.../layout/activity_server_custom_config.xml | 26 +++++++++----------
4 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/V2rayNG/app/build.gradle b/V2rayNG/app/build.gradle
index 0faf5fb5..b1cd20d3 100644
--- a/V2rayNG/app/build.gradle
+++ b/V2rayNG/app/build.gradle
@@ -99,6 +99,8 @@ dependencies {
implementation 'me.dm7.barcodescanner:zxing:1.9.8'
implementation 'com.github.jorgecastilloprz:fabprogresscircle:1.01@aar'
implementation 'me.drakeet.support:toastcompat:1.1.0'
+ implementation 'com.blacksquircle.ui:editorkit:2.0.0'
+ implementation 'com.blacksquircle.ui:language-json:2.0.0'
implementation(name: 'libv2ray', ext: 'aar')
//implementation(name: 'tun2socks', ext: 'aar')
diff --git a/V2rayNG/app/src/main/AndroidManifest.xml b/V2rayNG/app/src/main/AndroidManifest.xml
index 543343ae..89849737 100644
--- a/V2rayNG/app/src/main/AndroidManifest.xml
+++ b/V2rayNG/app/src/main/AndroidManifest.xml
@@ -28,6 +28,8 @@
+
+
+ android:orientation="vertical">
+ android:layout_margin="@dimen/layout_margin_spacing">
+ android:orientation="vertical"
+ android:layout_margin="@dimen/layout_margin_spacing">
-
+
-
\ No newline at end of file
+