forked from organicmaps/organicmaps-tmp
[android] Review fixes
This commit is contained in:
parent
b4098b6b06
commit
1ce55f98b7
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ public class PlaceholderView extends FrameLayout
|
|||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
|
||||
{
|
||||
//isInEditMode() need for correct editor visualization
|
||||
if (isInEditMode() || mImage == null)
|
||||
{
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
||||
|
|
Loading…
Add table
Reference in a new issue