delete actionBarContainer if api<18
This commit is contained in:
parent
05d5e2fa39
commit
d0bd7db293
2 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,7 @@
|
|||
android:orientation="vertical">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/action_bar_image_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/action_bar_image_height"
|
||||
android:background="?attr/actionModeBackground">
|
||||
|
|
|
@ -255,6 +255,8 @@ public class DirectionIndicationDialogFragment extends BaseOsmAndDialogFragment
|
|||
}
|
||||
((ImageView) mainView.findViewById(R.id.action_bar_image))
|
||||
.setImageDrawable(new LayerDrawable(imgList.toArray(new Drawable[imgList.size()])));
|
||||
} else {
|
||||
mainView.findViewById(R.id.action_bar_image_container).setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue