pull/600/head
ekager 4 years ago committed by GitHub
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…
Cancel
Save