react-native-navigation 8.7.5-snapshot.2301 → 8.7.5-snapshot.2323
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/src/main/java/com/reactnativenavigation/views/stack/topbar/titlebar/ButtonBar.kt
CHANGED
|
@@ -11,6 +11,7 @@ import android.view.View
|
|
|
11
11
|
import android.view.ViewGroup
|
|
12
12
|
import androidx.appcompat.widget.ActionMenuView
|
|
13
13
|
import androidx.appcompat.widget.Toolbar
|
|
14
|
+
import com.reactnativenavigation.R
|
|
14
15
|
import com.reactnativenavigation.utils.ObjectUtils
|
|
15
16
|
import com.reactnativenavigation.utils.ViewUtils
|
|
16
17
|
import com.reactnativenavigation.viewcontrollers.stack.topbar.button.ButtonController
|
|
@@ -21,6 +22,7 @@ open class ButtonBar internal constructor(context: Context) : Toolbar(context) {
|
|
|
21
22
|
init {
|
|
22
23
|
super.setContentInsetsAbsolute(0, 0)
|
|
23
24
|
this.contentInsetStartWithNavigation = 0
|
|
25
|
+
setPopupTheme(R.style.TopBarOverflowPopup)
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
override fun onViewAdded(child: View) {
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
<item name="elevation">0dp</item>
|
|
5
5
|
</style>
|
|
6
6
|
|
|
7
|
+
<style name="TopBarOverflowPopup" parent="ThemeOverlay.AppCompat.Light" />
|
|
8
|
+
|
|
7
9
|
<!--The following is a workaround needed to run unit tests in command line-->
|
|
8
10
|
<style name="Widget.Support.CoordinatorLayout" parent="android:Widget">
|
|
9
11
|
@null
|
package/package.json
CHANGED