Behavior improvements

This commit is contained in:
M66B 2021-08-12 13:38:23 +02:00
parent 85e5e74de8
commit 4f1321aea4
3 changed files with 9 additions and 3 deletions

View File

@ -406,6 +406,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override
public void onClick(View view) {
ServiceSynchronize.reload(ActivityView.this, null, true, "nav:sync");
ToastEx.makeText(ActivityView.this, R.string.title_force_sync, Toast.LENGTH_LONG).show();
}
});

View File

@ -24,8 +24,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_pin"
android:contentDescription="@string/title_advanced_nav_pin"
android:padding="6dp"
android:tooltipText="@string/title_advanced_nav_pin"
app:layout_constraintStart_toEndOf="@id/ibExpanderNav"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/pin" />
@ -37,6 +38,7 @@
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_setup"
android:padding="6dp"
android:tooltipText="@string/title_setup"
app:layout_constraintStart_toEndOf="@id/ibPin"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/twotone_settings_24" />
@ -46,8 +48,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_setup"
android:contentDescription="@string/title_synchronize_more"
android:padding="6dp"
android:tooltipText="@string/title_synchronize_more"
app:layout_constraintStart_toEndOf="@id/ibSettings"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/twotone_get_app_24" />
@ -57,8 +60,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/title_setup"
android:contentDescription="@string/title_force_sync"
android:padding="6dp"
android:tooltipText="@string/title_force_sync"
app:layout_constraintStart_toEndOf="@id/ibFetchMore"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/twotone_sync_24" />

View File

@ -401,6 +401,7 @@
<string name="title_advanced_two_row">Use two rows</string>
<string name="title_advanced_two_col">Use two columns</string>
<string name="title_advanced_nav_options">Show navigation menu options</string>
<string name="title_advanced_nav_pin">Pin navigation menu</string>
<string name="title_advanced_nav_hide_title">Hide navigation menu options?</string>
<string name="title_advanced_nav_hide_message">You can enable the options again in the display settings</string>
<string name="title_advanced_nav_message_count">Show number of locally stored messages in the navigation menu</string>