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:apiKey="@apiKey@"
|
||||
/>
|
||||
<TextView
|
||||
<ProgressBar
|
||||
style="@android:style/Widget.ProgressBar.Large.Inverse"
|
||||
android:id="@+id/loading"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:padding="10sp"
|
||||
android:textColor="#000"
|
||||
android:shadowColor="#fff"
|
||||
android:shadowRadius="3.0"
|
||||
android:textSize="25sp"
|
||||
android:text="@string/map_loading"
|
||||
android:layout_width="76dip"
|
||||
android:layout_height="76dip"
|
||||
android:gravity="right|top"
|
||||
android:indeterminate="true"
|
||||
/>
|
||||
</FrameLayout>
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue