map: replace 'Loading..' with progress bar

service_trace
Georg Lukas 2011-07-15 13:32:44 +02:00
rodzic a3f1eee4b8
commit 57396a3868
2 zmienionych plików z 7 dodań i 10 usunięć

Wyświetl plik

@ -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>

Wyświetl plik

@ -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