mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Implemented the alert dialog for checking the type of internet connection
This commit is contained in:
parent
5fc09cfcf8
commit
77c45e2fec
6 changed files with 102 additions and 3 deletions
15
app/src/main/res/layout/dialog_connection_alert.xml
Normal file
15
app/src/main/res/layout/dialog_connection_alert.xml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/connection_alert_dialog_summary" />
|
||||
</LinearLayout>
|
||||
|
|
@ -184,4 +184,9 @@
|
|||
<string name="server_unreachable_dialog_positive_button">Continue anyway</string>
|
||||
<string name="server_unreachable_dialog_title">Server unreachable</string>
|
||||
<string name="server_unreachable_dialog_summary">The requested server is unavailable. Please contact your support and describe your issue.</string>
|
||||
<string name="connection_alert_dialog_title">Wi-Fi not connected</string>
|
||||
<string name="connection_alert_dialog_positive_button">Continue anyway</string>
|
||||
<string name="connection_alert_dialog_neutral_button">Enable data saver</string>
|
||||
<string name="connection_alert_dialog_negative_button">Cancel</string>
|
||||
<string name="connection_alert_dialog_summary">Access to the Subsonic server on connections other than WiFi has been restricted. To prevent this alert dialod from reappearing, disable the connection check in the app settings.</string>
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue