Fixed clicks going through the player
This commit is contained in:
parent
f6e3843813
commit
a2e9a4d805
|
@ -101,6 +101,7 @@ public class AudioPlayerFragment extends Fragment implements
|
|||
@Nullable Bundle savedInstanceState) {
|
||||
super.onCreateView(inflater, container, savedInstanceState);
|
||||
View root = inflater.inflate(R.layout.audioplayer_fragment, container, false);
|
||||
root.setOnTouchListener((v, event) -> true); // Avoid clicks going through player to fragments below
|
||||
toolbar = root.findViewById(R.id.toolbar);
|
||||
toolbar.setTitle("");
|
||||
toolbar.setNavigationOnClickListener(v ->
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:clickable="true"
|
||||
android:layoutDirection="ltr"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
|
Loading…
Reference in New Issue