Add summary for cmd arguments

This commit is contained in:
dovecoteescapee 2024-08-11 16:06:42 +03:00
parent 96b23abaf0
commit 6f8e0827a7
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:tag="byedpi_cmd_settings">
<Preference
@ -18,7 +19,8 @@
android:key="byedpi_cmd_args"
android:title="Command line arguments"
android:dialogTitle="Command line arguments"
android:inputType="textMultiLine" />
android:inputType="textMultiLine"
app:useSimpleSummaryProvider="true" />
</androidx.preference.PreferenceCategory>

View File

@ -27,14 +27,14 @@
android:title="@string/byedpi_proxy_port_setting"
android:inputType="number"
android:defaultValue="1080"
app:useSimpleSummaryProvider="true"/>
app:useSimpleSummaryProvider="true" />
<com.takisoft.preferencex.EditTextPreference
android:key="byedpi_max_connections"
android:title="@string/byedpi_max_connections_setting"
android:inputType="number"
android:defaultValue="512"
app:useSimpleSummaryProvider="true"/>
app:useSimpleSummaryProvider="true" />
<com.takisoft.preferencex.EditTextPreference
android:key="byedpi_buffer_size"

View File

@ -27,7 +27,7 @@
android:key="dns_ip"
android:title="@string/dbs_ip_setting"
android:defaultValue="1.1.1.1"
app:useSimpleSummaryProvider="true"/>
app:useSimpleSummaryProvider="true" />
</androidx.preference.PreferenceCategory>