kopia lustrzana https://github.com/ge0rg/aprsdroid
map: replace 'Loading..' with progress bar
rodzic
a3f1eee4b8
commit
57396a3868
|
|
@ -11,16 +11,13 @@
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:apiKey="@apiKey@"
|
android:apiKey="@apiKey@"
|
||||||
/>
|
/>
|
||||||
<TextView
|
<ProgressBar
|
||||||
|
style="@android:style/Widget.ProgressBar.Large.Inverse"
|
||||||
android:id="@+id/loading"
|
android:id="@+id/loading"
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_horizontal"
|
|
||||||
android:padding="10sp"
|
android:padding="10sp"
|
||||||
android:textColor="#000"
|
android:layout_width="76dip"
|
||||||
android:shadowColor="#fff"
|
android:layout_height="76dip"
|
||||||
android:shadowRadius="3.0"
|
android:gravity="right|top"
|
||||||
android:textSize="25sp"
|
android:indeterminate="true"
|
||||||
android:text="@string/map_loading"
|
|
||||||
/>
|
/>
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ class MapAct extends MapActivity with UIHelper {
|
||||||
lazy val allicons = this.getResources().getDrawable(R.drawable.allicons)
|
lazy val allicons = this.getResources().getDrawable(R.drawable.allicons)
|
||||||
lazy val db = StorageDatabase.open(this)
|
lazy val db = StorageDatabase.open(this)
|
||||||
lazy val staoverlay = new StationOverlay(allicons, this, db)
|
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()
|
lazy val targetcall = getTargetCall()
|
||||||
|
|
||||||
var showObjects = false
|
var showObjects = false
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue