Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #19815 - Keeps tabTray FAB from obstructing last tab (#19891)
Browse files Browse the repository at this point in the history
* For #19815 - Keeps tabTray FAB from obstructing last tab
  • Loading branch information
codrut-topliceanu committed Jun 9, 2021
1 parent ace835d commit c74bf4e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/src/main/res/layout/component_sync_tabs_tray_layout.xml
Expand Up @@ -13,6 +13,8 @@
android:id="@+id/synced_tabs_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingBottom="@dimen/tab_tray_list_bottom_padding"
tools:listitem="@layout/sync_tabs_list_item"/>

</org.mozilla.fenix.tabstray.syncedtabs.SyncedTabsTrayLayout>
2 changes: 0 additions & 2 deletions app/src/main/res/layout/component_tabstray2.xml
Expand Up @@ -151,8 +151,6 @@
android:id="@+id/tabsTray"
android:layout_width="0dp"
android:layout_height="0dp"
android:clipToPadding="false"
android:paddingBottom="140dp"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
android:orientation="horizontal"
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/layout/normal_browser_tray_list.xml
Expand Up @@ -7,6 +7,8 @@
android:id="@+id/tray_list_item"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingBottom="@dimen/tab_tray_list_bottom_padding"
android:visibility="gone"/>

<TextView
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/layout/private_browser_tray_list.xml
Expand Up @@ -7,6 +7,8 @@
android:id="@+id/tray_list_item"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:paddingBottom="@dimen/tab_tray_list_bottom_padding"
android:visibility="gone"/>

<TextView
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/dimens.xml
Expand Up @@ -189,6 +189,8 @@
<dimen name="tab_tray_multiselect_handle_top_margin">0dp</dimen>
<dimen name="tab_tray_new_collection_padding_start">24dp</dimen>
<dimen name="tab_tray_new_collection_drawable_padding">28dp</dimen>
<!-- Keeps FAB from covering last item in list. Fab 64dp, top & bottom margins 16dp each. -->
<dimen name="tab_tray_list_bottom_padding">96dp</dimen>

<!-- Saved Logins Fragment -->
<dimen name="saved_logins_sort_menu_dropdown_chevron_icon_margin_start">24dp</dimen>
Expand Down

0 comments on commit c74bf4e

Please sign in to comment.