2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00
This commit is contained in:
ekager 2020-10-21 12:47:25 -07:00 committed by GitHub
parent 29a179e8c3
commit f8d0a97210
3 changed files with 5 additions and 1 deletions

View File

@ -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)
}

View File

@ -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">

View File

@ -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.-->