File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
java/com/reactnativenavigation/views/stack/topbar/titlebar Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import android.view.View
1111import android.view.ViewGroup
1212import androidx.appcompat.widget.ActionMenuView
1313import androidx.appcompat.widget.Toolbar
14+ import com.reactnativenavigation.R
1415import com.reactnativenavigation.utils.ObjectUtils
1516import com.reactnativenavigation.utils.ViewUtils
1617import com.reactnativenavigation.viewcontrollers.stack.topbar.button.ButtonController
@@ -21,6 +22,7 @@ open class ButtonBar internal constructor(context: Context) : Toolbar(context) {
2122 init {
2223 super .setContentInsetsAbsolute(0 , 0 )
2324 this .contentInsetStartWithNavigation = 0
25+ setPopupTheme(R .style.TopBarOverflowPopup )
2426 }
2527
2628 override fun onViewAdded (child : View ) {
Original file line number Diff line number Diff line change 44 <item name =" elevation" >0dp</item >
55 </style >
66
7+ <style name =" TopBarOverflowPopup" parent =" ThemeOverlay.AppCompat.Light" />
8+
79 <!-- The following is a workaround needed to run unit tests in command line-->
810 <style name =" Widget.Support.CoordinatorLayout" parent =" android:Widget" >
911 @null
You can’t perform that action at this time.
0 commit comments