Remove errors related to API 11
authorGustavo Martin Morcuende <gu.martinm@gmail.com>
Wed, 31 Aug 2016 21:30:39 +0000 (23:30 +0200)
committerGustavo Martin Morcuende <gu.martinm@gmail.com>
Wed, 31 Aug 2016 21:30:39 +0000 (23:30 +0200)
app/src/main/res/layout/weather_current_fragment.xml
app/src/main/res/layout/weather_map.xml

index 78cab5e..eb51186 100644 (file)
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
                         android:paddingEnd="10dp"
+                        android:paddingRight="10dp"
                         android:paddingStart="20dp"
+                        android:paddingLeft="20dp"
                         android:singleLine="true"
                         android:text="55ºC"
+                        android:layout_gravity="start"
                         android:textAlignment="textStart"
                         android:textAppearance="?android:attr/textAppearanceLarge"
                         android:textStyle="bold" />
                         android:id="@+id/weather_current_temp_min"
                         android:layout_width="wrap_content"
                         android:layout_height="wrap_content"
+                        android:layout_gravity="start"
                         android:textAlignment="textStart"
                         android:paddingEnd="10dp"
+                        android:paddingRight="10dp"
                         android:paddingStart="20dp"
+                        android:paddingLeft="20dp"
                         android:singleLine="true"
                         android:text="25ºC"
                         android:textAppearance="?android:attr/textAppearanceMedium"
                         android:layout_marginTop="5dp"
                         android:layout_marginBottom="5dp"
                         android:layout_marginEnd="5dp"
+                        android:layout_marginRight="5dp"
                         android:textAppearance="?android:attr/textAppearanceSmall"
                         android:textStyle="bold" />
                 </LinearLayout>
                         android:layout_marginTop="5dp"
                         android:layout_marginBottom="5dp"
                         android:layout_marginEnd="5dp"
+                        android:layout_marginRight="5dp"
                         android:textAppearance="?android:attr/textAppearanceSmall"
                         android:textStyle="bold" />
                 </LinearLayout>
                         android:layout_marginTop="5dp"
                         android:layout_marginBottom="5dp"
                         android:layout_marginEnd="5dp"
+                        android:layout_marginRight="5dp"
                         android:textAppearance="?android:attr/textAppearanceSmall"
                         android:textStyle="bold" />
                 </LinearLayout>
                         android:layout_marginTop="5dp"
                         android:layout_marginBottom="5dp"
                         android:layout_marginEnd="5dp"
+                        android:layout_marginRight="5dp"
                         android:textAppearance="?android:attr/textAppearanceSmall"
                         android:textStyle="bold" />
                 </LinearLayout>
                         android:layout_marginTop="5dp"
                         android:layout_marginBottom="5dp"
                         android:layout_marginEnd="5dp"
+                        android:layout_marginRight="5dp"
                         android:textAppearance="?android:attr/textAppearanceSmall"
                         android:textStyle="bold" />
                 </LinearLayout>
                         android:layout_marginTop="5dp"
                         android:layout_marginBottom="5dp"
                         android:layout_marginEnd="5dp"
+                        android:layout_marginRight="5dp"
                         android:textAppearance="?android:attr/textAppearanceSmall"
                         android:textStyle="bold" />
                 </LinearLayout>
                     android:layout_marginTop="5dp"
                     android:layout_marginBottom="5dp"
                     android:layout_marginEnd="5dp"
+                    android:layout_marginRight="5dp"
                     android:textAppearance="?android:attr/textAppearanceSmall"
                     android:textStyle="bold" />
             </LinearLayout>
index 9438f28..5b73a6c 100644 (file)
@@ -27,6 +27,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_alignParentTop="true"
+               android:layout_alignParentLeft="true"
         android:layout_alignParentStart="true" >
        <LinearLayout
                android:id="@+id/weather_map_city_container"
@@ -91,6 +92,7 @@
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
         android:layout_alignParentBottom="true"
+               android:layout_alignParentLeft="true"
         android:layout_alignParentStart="true"
         android:orientation="horizontal"
         android:baselineAligned="false" >