Replace appcenter with google services

This commit is contained in:
世界
2023-10-31 13:44:42 +08:00
parent 0f9441c650
commit 446ffa4a4d
14 changed files with 182 additions and 187 deletions

View File

@@ -30,17 +30,17 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/title_app_center"
android:text="@string/title_app_settings"
android:layout_marginBottom="8dp"
android:textAppearance="?attr/textAppearanceTitleLarge" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/appCenterEnabled"
android:id="@+id/checkUpdateEnabled"
style="@style/Widget.Material3.TextInputLayout.FilledBox.ExposedDropdownMenu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:hint="@string/enabled">
android:layout_marginTop="8dp"
android:hint="@string/check_update">
<AutoCompleteTextView
android:layout_width="match_parent"
@@ -52,12 +52,12 @@
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/checkUpdateEnabled"
android:id="@+id/errorReportingEnabled"
style="@style/Widget.Material3.TextInputLayout.FilledBox.ExposedDropdownMenu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_marginTop="8dp"
android:hint="@string/check_update">
android:hint="@string/error_reporting">
<AutoCompleteTextView
android:layout_width="match_parent"
@@ -95,27 +95,11 @@
</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"
android:layout_marginTop="16dp">
android:layout_marginTop="8dp">
<TextView
style="?attr/textAppearanceTitleSmall"
@@ -154,10 +138,27 @@
</LinearLayout>
<LinearLayout
<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"
android:gravity="center_vertical|end"
android:orientation="horizontal">

View File

@@ -2,6 +2,8 @@
<string name="app_name">sing-box</string>
<string name="stop">Stop</string>
<string name="ok">Ok</string>
<string name="no_thanks">No, thanks</string>
<string name="title_dashboard">Dashboard</string>
<string name="title_configuration">Profiles</string>
@@ -80,15 +82,10 @@
<string name="core_version">Version</string>
<string name="core">Core</string>
<string name="core_data_size">Data Size</string>
<string name="analytics_title">Analytics</string>
<string name="analytics_message">Would you like to give SFA permission to collect analytics, send crash reports, and check update through AppCenter?</string>
<string name="no_thanks">No, thanks</string>
<string name="check_update">Check Update</string>
<string name="title_app_center">App Center</string>
<string name="title_feedback">Feedback</string>
<string name="message">Message</string>
<string name="send">Send</string>
<string name="send_feedback">Send Feedback</string>
<string name="error_reporting">Error Reporting</string>
<string name="error_reporting_message">Would you like to allow sing to send error reports to developers via Firebase Crashlytics?</string>
<string name="title_app_settings">App Settings</string>
<string name="about_title">About</string>
<string name="app_description">Android client for sing-box, the universal proxy platform.</string>
<string name="documentation_button">Documentation</string>