[android] #5500 - add layout editor support for my location view
This commit is contained in:
@@ -121,6 +121,10 @@ public class MyLocationView extends View {
|
||||
}
|
||||
|
||||
private void init(Context context) {
|
||||
if(isInEditMode()){
|
||||
return;
|
||||
}
|
||||
|
||||
setEnabled(false);
|
||||
|
||||
// setup LayoutParams
|
||||
|
||||
Reference in New Issue
Block a user