mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/16084 - Match elevation of Tab in Collection to header (https://github.com/mozilla-mobile/fenix/pull/16100)
This commit is contained in:
parent
29a179e8c3
commit
f8d0a97210
@ -43,6 +43,9 @@ class TabInCollectionViewHolder(
|
||||
)
|
||||
}
|
||||
|
||||
// This needs to match the elevation of the CollectionViewHolder for the shadow
|
||||
view.elevation = view.resources.getDimension(R.dimen.home_collection_elevation)
|
||||
|
||||
view.setOnClickListener {
|
||||
interactor.onCollectionOpenTabClicked(tab)
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
android:background="@drawable/collection_home_list_row_background"
|
||||
android:clickable="true"
|
||||
android:clipToPadding="false"
|
||||
android:elevation="5dp"
|
||||
android:elevation="@dimen/home_collection_elevation"
|
||||
android:focusable="true"
|
||||
android:foreground="?android:attr/selectableItemBackground">
|
||||
|
||||
|
@ -91,6 +91,7 @@
|
||||
|
||||
<!-- Home Fragment -->
|
||||
<dimen name="home_fragment_top_toolbar_header_margin">60dp</dimen>
|
||||
<dimen name="home_collection_elevation">5dp</dimen>
|
||||
|
||||
<!-- Browser Fragment -->
|
||||
<!--The size of the gap between the tab preview and content layout.-->
|
||||
|
Loading…
Reference in New Issue
Block a user