Merge pull request #81 from dovecoteescapee/dev

Add summary for cmd arguments
This commit is contained in:
dovecoteescapee 2024-08-11 16:07:27 +03:00 committed by GitHub
commit f57692b7f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?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"
android:tag="byedpi_cmd_settings"> android:tag="byedpi_cmd_settings">
<Preference <Preference
@ -18,7 +19,8 @@
android:key="byedpi_cmd_args" android:key="byedpi_cmd_args"
android:title="Command line arguments" android:title="Command line arguments"
android:dialogTitle="Command line arguments" android:dialogTitle="Command line arguments"
android:inputType="textMultiLine" /> android:inputType="textMultiLine"
app:useSimpleSummaryProvider="true" />
</androidx.preference.PreferenceCategory> </androidx.preference.PreferenceCategory>

View File

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

View File

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