diff options
author | DvTonder <david.vantonder@gmail.com> | 2016-06-06 22:20:38 -0400 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2016-06-07 12:00:02 +0200 |
commit | e28037aa89b5a7328d986f8001665ef41bf2309d (patch) | |
tree | 337a71739963bdc73de45894e6590ec6af7df09d /res/layout/forecast_item.xml | |
parent | fc8ea240f806aa9c16bc92056db3b158f1480755 (diff) | |
download | packages_apps_LockClock-e28037aa89b5a7328d986f8001665ef41bf2309d.zip packages_apps_LockClock-e28037aa89b5a7328d986f8001665ef41bf2309d.tar.gz packages_apps_LockClock-e28037aa89b5a7328d986f8001665ef41bf2309d.tar.bz2 |
Handle >5 forecast items in cLock Forecast view
Change-Id: Ifd4891b990d89d1a4c535a3efb9c3db39eae7aab
Diffstat (limited to 'res/layout/forecast_item.xml')
-rw-r--r-- | res/layout/forecast_item.xml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/res/layout/forecast_item.xml b/res/layout/forecast_item.xml index e030889..0741a50 100644 --- a/res/layout/forecast_item.xml +++ b/res/layout/forecast_item.xml @@ -18,7 +18,8 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="match_parent" - android:orientation="vertical" > + xmlns:tools="http://schemas.android.com/tools" + android:orientation="vertical"> <TextView android:id="@+id/forecast_day" @@ -33,16 +34,13 @@ <ImageView android:id="@+id/weather_image" - android:maxWidth="@dimen/forecast_icon_size" - android:layout_width="wrap_content" - android:layout_height="0dp" - android:layout_weight="1" + android:layout_width="@dimen/forecast_icon_size" + android:layout_height="@dimen/forecast_icon_size" android:layout_gravity="center_horizontal" - android:paddingTop="2dp" - android:paddingBottom="2dp" - android:scaleType="centerInside" android:adjustViewBounds="true" - android:src="@android:drawable/ic_dialog_alert"/> + android:padding="2dp" + android:scaleType="centerInside" + tools:ignore="ContentDescription" /> <TextView android:id="@+id/weather_temps" |