[fenix] For https://github.com/mozilla-mobile/fenix/issues/4434 - made close button...
commita425575d92556a6558c77169b209f3a2e4c1a59e
authorMihai Adrian <48995920+mcarare@users.noreply.github.com>
Wed, 14 Aug 2019 17:12:39 +0000 (14 20:12 +0300)
committerSawyer Blatz <sdblatz@gmail.com>
Wed, 14 Aug 2019 17:12:39 +0000 (14 10:12 -0700)
tree3c218b94a79dabb8bcef83d198faf01c232796c4
parent58151b8d969504f2cf4baaf1bf942f99b465790f
[fenix] For https://github.com/mozilla-mobile/fenix/issues/4434 - made close button for collections more accessible. (https://github.com/mozilla-mobile/fenix/pull/4443)

* fixes https://github.com/mozilla-mobile/fenix/issues/4434 - made close button for collections more accessible.

set recommended minimum size for accessibility 48x48, while keeping image size the same
removed margin from button as it was not needed anymore
aligned close button in center of tab to be visual consistent with alignment of favicon and more visual accessible
implemented same visual solution as for https://github.com/mozilla-mobile/fenix/issues/4193 - close button for tabs

* fixes https://github.com/mozilla-mobile/fenix/issues/4434 - made buttons for collection home list row more accessible and aligned 3 dot menu with individual tabs close button

set buttons sizes to recommended minimum size for accessibility 48x48, while keeping image size the same
removed margins from buttons as they were not needed anymore
aligned center of menu buttons with center of collection icon
constrained description top to bottom of title, instead of share button to reduce empty space. (overlap with share button is already prevented by end constraint of description)
mobile/android/fenix/app/src/main/res/layout/collection_home_list_row.xml
mobile/android/fenix/app/src/main/res/layout/tab_in_collection.xml