From: Gustavo Martin Morcuende Date: Wed, 22 Oct 2014 01:35:13 +0000 (+0200) Subject: WeatherInformation: widget background no more spurious line X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=47020773a5b3e97e38fd6df7b29bf8262fba6742;p=JavaForFun WeatherInformation: widget background no more spurious line It was the Draw 9-patch. See: http://developer.android.com/tools/help/draw9patch.html --- diff --git a/Android/WeatherInformation/app/src/main/res/drawable-hdpi-v14/appwidget_dark_bg.9.png b/Android/WeatherInformation/app/src/main/res/drawable-hdpi-v14/appwidget_dark_bg.9.png new file mode 100644 index 0000000..02ee440 Binary files /dev/null and b/Android/WeatherInformation/app/src/main/res/drawable-hdpi-v14/appwidget_dark_bg.9.png differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-hdpi-v14/appwidget_dark_bg_9.png b/Android/WeatherInformation/app/src/main/res/drawable-hdpi-v14/appwidget_dark_bg_9.png deleted file mode 100644 index 02ee440..0000000 Binary files a/Android/WeatherInformation/app/src/main/res/drawable-hdpi-v14/appwidget_dark_bg_9.png and /dev/null differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-hdpi/appwidget_dark_bg.9.png b/Android/WeatherInformation/app/src/main/res/drawable-hdpi/appwidget_dark_bg.9.png new file mode 100644 index 0000000..3b29eae Binary files /dev/null and b/Android/WeatherInformation/app/src/main/res/drawable-hdpi/appwidget_dark_bg.9.png differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-hdpi/appwidget_dark_bg_9.png b/Android/WeatherInformation/app/src/main/res/drawable-hdpi/appwidget_dark_bg_9.png deleted file mode 100644 index 3b29eae..0000000 Binary files a/Android/WeatherInformation/app/src/main/res/drawable-hdpi/appwidget_dark_bg_9.png and /dev/null differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-mdpi-v14/appwidget_dark_bg.9.png b/Android/WeatherInformation/app/src/main/res/drawable-mdpi-v14/appwidget_dark_bg.9.png new file mode 100644 index 0000000..a245d91 Binary files /dev/null and b/Android/WeatherInformation/app/src/main/res/drawable-mdpi-v14/appwidget_dark_bg.9.png differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-mdpi-v14/appwidget_dark_bg_9.png b/Android/WeatherInformation/app/src/main/res/drawable-mdpi-v14/appwidget_dark_bg_9.png deleted file mode 100644 index a245d91..0000000 Binary files a/Android/WeatherInformation/app/src/main/res/drawable-mdpi-v14/appwidget_dark_bg_9.png and /dev/null differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-mdpi/appwidget_dark_bg.9.png b/Android/WeatherInformation/app/src/main/res/drawable-mdpi/appwidget_dark_bg.9.png new file mode 100644 index 0000000..afe41b6 Binary files /dev/null and b/Android/WeatherInformation/app/src/main/res/drawable-mdpi/appwidget_dark_bg.9.png differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-mdpi/appwidget_dark_bg_9.png b/Android/WeatherInformation/app/src/main/res/drawable-mdpi/appwidget_dark_bg_9.png deleted file mode 100644 index afe41b6..0000000 Binary files a/Android/WeatherInformation/app/src/main/res/drawable-mdpi/appwidget_dark_bg_9.png and /dev/null differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-xhdpi-v14/appwidget_dark_bg.9.png b/Android/WeatherInformation/app/src/main/res/drawable-xhdpi-v14/appwidget_dark_bg.9.png new file mode 100644 index 0000000..7ccb762 Binary files /dev/null and b/Android/WeatherInformation/app/src/main/res/drawable-xhdpi-v14/appwidget_dark_bg.9.png differ diff --git a/Android/WeatherInformation/app/src/main/res/drawable-xhdpi-v14/appwidget_dark_bg_9.png b/Android/WeatherInformation/app/src/main/res/drawable-xhdpi-v14/appwidget_dark_bg_9.png deleted file mode 100644 index 7ccb762..0000000 Binary files a/Android/WeatherInformation/app/src/main/res/drawable-xhdpi-v14/appwidget_dark_bg_9.png and /dev/null differ diff --git a/Android/WeatherInformation/app/src/main/res/layout/appwidget.xml b/Android/WeatherInformation/app/src/main/res/layout/appwidget.xml index 6156ae9..357be78 100644 --- a/Android/WeatherInformation/app/src/main/res/layout/appwidget.xml +++ b/Android/WeatherInformation/app/src/main/res/layout/appwidget.xml @@ -12,7 +12,7 @@ android:layout_gravity="fill" android:orientation="horizontal" android:baselineAligned="false" - android:background="@drawable/appwidget_dark_bg_9"> + android:background="@drawable/appwidget_dark_bg"> + android:background="@drawable/appwidget_dark_bg">