WeatherInformation: progress current
authorgu.martinm@gmail.com <gu.martinm@gmail.com>
Wed, 24 Sep 2014 01:18:04 +0000 (03:18 +0200)
committergu.martinm@gmail.com <gu.martinm@gmail.com>
Wed, 24 Sep 2014 01:18:04 +0000 (03:18 +0200)
Following same style as ListFragment

Android/WeatherInformation/res/layout/weather_current_fragment.xml

index d03debb..4f2ec5c 100644 (file)
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_gravity="center"
-        android:indeterminateBehavior="repeat"
-        android:indeterminateDuration="3500"
-        android:indeterminateOnly="true"
-        android:visibility="gone" />
-    
-    <LinearLayout
+        android:visibility="gone"
+        style="?android:attr/progressBarStyleLarge" />
+
+    <TextView
+        android:id="@+id/weather_current_error_message"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:gravity="center"
-        android:padding="25dp"
         android:layout_gravity="center"
-        android:orientation="horizontal" >
+        android:text="No data available"
+        android:textAppearance="?android:attr/textAppearanceSmall"
+        android:visibility="gone" />
 
-        <TextView
-            android:id="@+id/weather_current_error_message"
-            android:layout_width="wrap_content"
-            android:layout_height="wrap_content"
-            android:gravity="center"
-            android:text="No data available"
-            android:textAppearance="?android:attr/textAppearanceSmall"
-            android:visibility="gone" />    
-    </LinearLayout>
        </FrameLayout>
 </ScrollView>