forked from organicmaps/organicmaps
[android] Fixed isolines tips - images and tutorial processing when it's a stub instance
This commit is contained in:
parent
ee77f38ccd
commit
b35d7a475b
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/bg_circle_pressed"/>
|
||||
<item
|
||||
android:drawable="@drawable/ic_planning_route_isomaps_off_light_off"
|
||||
android:drawable="@drawable/ic_layers_light_on"
|
||||
android:left="@dimen/margin_base_plus_quarter"
|
||||
android:right="@dimen/margin_base_plus_quarter"
|
||||
android:top="@dimen/margin_base_plus_quarter"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/bg_circle_pressed_night"/>
|
||||
<item
|
||||
android:drawable="@drawable/ic_planning_route_isomaps_dark_on"
|
||||
android:drawable="@drawable/ic_layers_dark_on"
|
||||
android:left="@dimen/margin_base_plus_quarter"
|
||||
android:right="@dimen/margin_base_plus_quarter"
|
||||
android:top="@dimen/margin_base_plus_quarter"
|
||||
|
|
|
@ -24,7 +24,7 @@ public abstract class TutorialClickListener implements View.OnClickListener
|
|||
public final void onClick(View v)
|
||||
{
|
||||
Tutorial tutorial = Tutorial.requestCurrent(mActivity, mActivity.getClass());
|
||||
if (tutorial == mTutorial)
|
||||
if (tutorial == mTutorial && tutorial != Tutorial.STUB)
|
||||
{
|
||||
MwmActivity mwmActivity = (MwmActivity) mActivity;
|
||||
ClickInterceptor interceptor = tutorial.createClickInterceptor();
|
||||
|
|
Loading…
Add table
Reference in a new issue