Update DownloaderFragment.java

[android] Fixed DownloaderFragment fab transparency #5085

Signed-off-by: TomABdh <zhup@kean.edu>
This commit is contained in:
Zhu Pengming 2023-06-03 12:59:42 +08:00 committed by TomABdh
parent 22bce5764a
commit 1f0f1413f8

View file

@ -18,6 +18,8 @@ import app.organicmaps.search.SearchEngine;
import app.organicmaps.widget.PlaceholderView;
import app.organicmaps.util.bottomsheet.MenuBottomSheetFragment;
import app.organicmaps.util.bottomsheet.MenuBottomSheetItem;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import java.util.ArrayList;
import java.util.List;
@ -139,6 +141,8 @@ public class DownloaderFragment extends BaseMwmRecyclerFragment<DownloaderAdapte
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState)
{
super.onViewCreated(view, savedInstanceState);
mFab = view.findViewById(R.id.fab);
mSubscriberSlot = MapManager.nativeSubscribe(new MapManager.StorageCallback()
{
@Override