Build memory limiter for android

This commit is contained in:
世界
2023-07-16 12:58:17 +08:00
parent e7b2c111a6
commit f9fef233ca
6 changed files with 29 additions and 0 deletions

View File

@@ -87,6 +87,23 @@
</TextView>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/disableMemoryLimit"
style="@style/Widget.Material3.TextInputLayout.FilledBox.ExposedDropdownMenu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:hint="@string/memory_limit">
<AutoCompleteTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="none"
android:text="@string/enabled"
app:simpleItems="@array/enabled" />
</com.google.android.material.textfield.TextInputLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -79,5 +79,6 @@
<string name="app_description">Android client for sing-box, the universal proxy platform.</string>
<string name="documentation_button">Documentation</string>
<string name="community_button">Community</string>
<string name="memory_limit">Memory Limit</string>
</resources>