From: Gustavo Martin Morcuende Date: Wed, 31 Aug 2016 21:30:39 +0000 (+0200) Subject: Remove errors related to API 11 X-Git-Tag: weatherinformation-1.3~8^2 X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=1918968dd8ac04fcd541a38bbe9414238c47a64e;p=AndroidWeatherInformation Remove errors related to API 11 --- diff --git a/app/src/main/res/layout/weather_current_fragment.xml b/app/src/main/res/layout/weather_current_fragment.xml index 78cab5e..eb51186 100644 --- a/app/src/main/res/layout/weather_current_fragment.xml +++ b/app/src/main/res/layout/weather_current_fragment.xml @@ -69,9 +69,12 @@ 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" /> @@ -80,9 +83,12 @@ 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" @@ -163,6 +169,7 @@ android:layout_marginTop="5dp" android:layout_marginBottom="5dp" android:layout_marginEnd="5dp" + android:layout_marginRight="5dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" /> @@ -214,6 +221,7 @@ android:layout_marginTop="5dp" android:layout_marginBottom="5dp" android:layout_marginEnd="5dp" + android:layout_marginRight="5dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" /> @@ -273,6 +281,7 @@ android:layout_marginTop="5dp" android:layout_marginBottom="5dp" android:layout_marginEnd="5dp" + android:layout_marginRight="5dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" /> @@ -323,6 +332,7 @@ android:layout_marginTop="5dp" android:layout_marginBottom="5dp" android:layout_marginEnd="5dp" + android:layout_marginRight="5dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" /> @@ -382,6 +392,7 @@ android:layout_marginTop="5dp" android:layout_marginBottom="5dp" android:layout_marginEnd="5dp" + android:layout_marginRight="5dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" /> @@ -433,6 +444,7 @@ android:layout_marginTop="5dp" android:layout_marginBottom="5dp" android:layout_marginEnd="5dp" + android:layout_marginRight="5dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" /> @@ -483,6 +495,7 @@ android:layout_marginTop="5dp" android:layout_marginBottom="5dp" android:layout_marginEnd="5dp" + android:layout_marginRight="5dp" android:textAppearance="?android:attr/textAppearanceSmall" android:textStyle="bold" /> diff --git a/app/src/main/res/layout/weather_map.xml b/app/src/main/res/layout/weather_map.xml index 9438f28..5b73a6c 100644 --- a/app/src/main/res/layout/weather_map.xml +++ b/app/src/main/res/layout/weather_map.xml @@ -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" >