diff --git a/mapview.xml.tpl b/mapview.xml.tpl index 320f2e9..3695372 100644 --- a/mapview.xml.tpl +++ b/mapview.xml.tpl @@ -11,16 +11,13 @@ android:clickable="true" android:apiKey="@apiKey@" /> - diff --git a/src/MapAct.scala b/src/MapAct.scala index 5a02cc1..6d8e592 100644 --- a/src/MapAct.scala +++ b/src/MapAct.scala @@ -23,7 +23,7 @@ class MapAct extends MapActivity with UIHelper { lazy val allicons = this.getResources().getDrawable(R.drawable.allicons) lazy val db = StorageDatabase.open(this) lazy val staoverlay = new StationOverlay(allicons, this, db) - lazy val loading = findViewById(R.id.loading).asInstanceOf[TextView] + lazy val loading = findViewById(R.id.loading) lazy val targetcall = getTargetCall() var showObjects = false