Small fixes p.2
This commit is contained in:
parent
eb2a343d65
commit
0b7d4fbcbf
2 changed files with 3 additions and 3 deletions
|
@ -211,7 +211,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
|
||||||
toolbarBackButton.setImageResource(AndroidUtils.getNavigationIconResId(mapActivity));
|
toolbarBackButton.setImageResource(AndroidUtils.getNavigationIconResId(mapActivity));
|
||||||
|
|
||||||
topButtonContainer = view.findViewById(R.id.context_menu_top_button_container);
|
topButtonContainer = view.findViewById(R.id.context_menu_top_button_container);
|
||||||
ImageView backButton = view.findViewById(R.id.context_menu_top_back);
|
ImageView backButton = (ImageView) view.findViewById(R.id.context_menu_top_back);
|
||||||
backButton.setOnClickListener(new View.OnClickListener() {
|
backButton.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
|
|
@ -484,8 +484,8 @@ public class ChooseRouteFragment extends BaseOsmAndFragment implements ContextMe
|
||||||
}
|
}
|
||||||
|
|
||||||
private void buildMenuButtons(@NonNull View view) {
|
private void buildMenuButtons(@NonNull View view) {
|
||||||
AppCompatImageView backButton = view.findViewById(R.id.back_button);
|
AppCompatImageView backButton = (AppCompatImageView) view.findViewById(R.id.back_button);
|
||||||
AppCompatImageButton backButtonFlow = view.findViewById(R.id.back_button_flow);
|
AppCompatImageButton backButtonFlow = (AppCompatImageButton) view.findViewById(R.id.back_button_flow);
|
||||||
OnClickListener backOnClick = new OnClickListener() {
|
OnClickListener backOnClick = new OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
|
Loading…
Reference in a new issue