mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 09:33:33 +00:00
Decreased top padding in dialog
This commit is contained in:
parent
dc11bec48c
commit
8c9af4ef42
6 changed files with 9 additions and 6 deletions
|
|
@ -29,9 +29,12 @@ public class ConnectionAlertDialog extends DialogFragment {
|
|||
builder.setView(bind.getRoot())
|
||||
.setTitle(R.string.connection_alert_dialog_title)
|
||||
.setPositiveButton(R.string.connection_alert_dialog_positive_button, (dialog, id) -> dialog.cancel())
|
||||
.setNeutralButton(R.string.connection_alert_dialog_neutral_button, (dialog, id) -> { })
|
||||
.setNegativeButton(R.string.connection_alert_dialog_negative_button, (dialog, id) -> dialog.cancel());
|
||||
|
||||
if(!PreferenceUtil.getInstance(requireContext()).isDataSavingMode()) {
|
||||
builder.setNeutralButton(R.string.connection_alert_dialog_neutral_button, (dialog, id) -> { });
|
||||
}
|
||||
|
||||
return builder.create();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="@string/connection_alert_dialog_summary" />
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:stepSize="1"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="@string/server_unreachable_dialog_summary" />
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="24dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginEnd="24dp"
|
||||
android:text="@string/starred_sync_dialog_summary" />
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@
|
|||
<string name="artist_page_title_most_streamed_song_see_all_button">See all</string>
|
||||
<string name="connection_alert_dialog_negative_button">Cancel</string>
|
||||
<string name="connection_alert_dialog_neutral_button">Enable data saver</string>
|
||||
<string name="connection_alert_dialog_positive_button">Continue anyway</string>
|
||||
<string name="connection_alert_dialog_positive_button">Ok</string>
|
||||
<string name="connection_alert_dialog_title">Wi-Fi not connected</string>
|
||||
<string name="connection_alert_dialog_summary">Access to the Subsonic server on connections other than Wi-Fi has been restricted. To prevent this alert dialod from reappearing, disable the connection check in the app settings.</string>
|
||||
<string name="download_info_empty_subtitle">Once you download a song, you\'ll find it here</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue