[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4894: added workaround...
commite9bd2596b1a56c522cd1a5752322a396a00e7ff4
authorMihai Adrian <48995920+mcarare@users.noreply.github.com>
Thu, 29 Aug 2019 19:55:51 +0000 (29 22:55 +0300)
committerJeff Boek <jeff@jeffboek.com>
Thu, 29 Aug 2019 19:55:51 +0000 (29 12:55 -0700)
treec473989165486adde9c9b23f06e5a9d91160922b
parent746d2a5ce0a463eb8b5fa5cb02813d6fbfd7e7f6
[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4894: added workaround for SDK<24 vector drawable with gradient color (https://github.com/mozilla-mobile/fenix/pull/4944)

Removed drawableStart and added ImageView in layouts
Set ImageView logo programmatically: bitmap for SDK<24, vector for SDK>=24
Added onClickPendingIntent for ImageView in large and medium layouts
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/widget/SearchWidgetProvider.kt
mobile/android/fenix/app/src/main/res/layout/search_widget_extra_small_v1.xml
mobile/android/fenix/app/src/main/res/layout/search_widget_extra_small_v2.xml
mobile/android/fenix/app/src/main/res/layout/search_widget_large.xml
mobile/android/fenix/app/src/main/res/layout/search_widget_medium.xml
mobile/android/fenix/app/src/main/res/layout/search_widget_small.xml
mobile/android/fenix/app/src/main/res/layout/search_widget_small_no_mic.xml