[android] #5500 - add layout editor support for my location view

This commit is contained in:
Tobrun Van Nuland
2016-07-26 14:28:49 +02:00
parent 9a3eadfd5b
commit 5870fceb25

View File

@@ -121,6 +121,10 @@ public class MyLocationView extends View {
}
private void init(Context context) {
if(isInEditMode()){
return;
}
setEnabled(false);
// setup LayoutParams