Add on click listeners in show direction menu
This commit is contained in:
parent
a5fbace332
commit
3dd513c1e1
1 changed files with 17 additions and 0 deletions
|
@ -61,6 +61,7 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra
|
|||
return false;
|
||||
}
|
||||
});
|
||||
topBarImage.setOnClickListener(topBarOnClickListener);
|
||||
|
||||
mainView.findViewById(R.id.widget_text).setOnTouchListener(new View.OnTouchListener() {
|
||||
@Override
|
||||
|
@ -68,6 +69,7 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra
|
|||
return false;
|
||||
}
|
||||
});
|
||||
widgetImage.setOnClickListener(widgetOnClickListener);
|
||||
}
|
||||
|
||||
if (nightMode) {
|
||||
|
@ -143,6 +145,21 @@ public class ShowDirectionBottomSheetDialogFragment extends BottomSheetDialogFra
|
|||
}
|
||||
}
|
||||
|
||||
private View.OnClickListener topBarOnClickListener = new View.OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
private View.OnClickListener widgetOnClickListener = new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
interface ShowDirectionFragmentListener {
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue