From 12b70e20882a0e13333d499f0b5d77ef5a930f18 Mon Sep 17 00:00:00 2001
From: 2dust <31833384+2dust@users.noreply.github.com>
Date: Sun, 26 Oct 2025 16:08:44 +0800
Subject: [PATCH] Adjust the adapter that can modify APPLICATION_ID
Add APPLICATION_ID to the About page
---
V2rayNG/app/src/fdroid/res/values/strings.xml | 4 +++
V2rayNG/app/src/fdroid/res/xml/shortcuts.xml | 31 +++++++++++++++++++
V2rayNG/app/src/main/AndroidManifest.xml | 4 +--
.../src/main/java/com/v2ray/ang/AppConfig.kt | 6 ++--
.../java/com/v2ray/ang/ui/AboutActivity.kt | 3 ++
.../src/main/res/layout/activity_about.xml | 9 +++++-
6 files changed, 51 insertions(+), 6 deletions(-)
create mode 100644 V2rayNG/app/src/fdroid/res/values/strings.xml
create mode 100644 V2rayNG/app/src/fdroid/res/xml/shortcuts.xml
diff --git a/V2rayNG/app/src/fdroid/res/values/strings.xml b/V2rayNG/app/src/fdroid/res/values/strings.xml
new file mode 100644
index 00000000..42804c08
--- /dev/null
+++ b/V2rayNG/app/src/fdroid/res/values/strings.xml
@@ -0,0 +1,4 @@
+
+
+ v2rayNG (F-Droid)
+
diff --git a/V2rayNG/app/src/fdroid/res/xml/shortcuts.xml b/V2rayNG/app/src/fdroid/res/xml/shortcuts.xml
new file mode 100644
index 00000000..23c04596
--- /dev/null
+++ b/V2rayNG/app/src/fdroid/res/xml/shortcuts.xml
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/V2rayNG/app/src/main/AndroidManifest.xml b/V2rayNG/app/src/main/AndroidManifest.xml
index 00e4b747..2dc26b43 100644
--- a/V2rayNG/app/src/main/AndroidManifest.xml
+++ b/V2rayNG/app/src/main/AndroidManifest.xml
@@ -195,8 +195,8 @@
android:resource="@xml/app_widget_provider" />
-
-
+
+
{
diff --git a/V2rayNG/app/src/main/res/layout/activity_about.xml b/V2rayNG/app/src/main/res/layout/activity_about.xml
index 62053559..5a6c72bf 100644
--- a/V2rayNG/app/src/main/res/layout/activity_about.xml
+++ b/V2rayNG/app/src/main/res/layout/activity_about.xml
@@ -236,7 +236,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
- android:orientation="horizontal"
+ android:orientation="vertical"
android:padding="@dimen/padding_spacing_dp16">
+
+