UpdatesFragment: Move Update All button to FAB

* Also link BlacklistFragment in in it's place as requested by users

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-03-04 14:50:15 +05:30
parent 85226a8f41
commit 29ce733611
5 changed files with 57 additions and 15 deletions

View File

@@ -40,4 +40,19 @@
app:stackFromEnd="false"
tools:listitem="@layout/view_app_list" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</RelativeLayout>
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/update_fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_margin="@dimen/margin_large"
android:contentDescription="@string/action_search"
android:text="@string/action_update_all"
android:textColor="@color/colorWhite"
android:visibility="gone"
app:backgroundTint="?colorAccent"
app:srcCompat="@drawable/ic_installation"
app:tint="@color/colorWhite" />
</RelativeLayout>

View File

@@ -59,5 +59,5 @@
android:layout_marginStart="@dimen/margin_small"
android:layout_marginEnd="@dimen/margin_small"
android:padding="@dimen/padding_xsmall"
android:text="@string/action_update_all" />
android:text="@string/action_manage" />
</RelativeLayout>