应用标题下的动作图标toolbarAndroid React Native
问题描述:
嗨,我是新的反应本地,所以我现在不,如果它是可能的。 我想要一个toolbarAndroid,但我想要显示在它们下面的操作的标题,而不是默认的旁边。即使标题显示在图标旁边,它也只会显示出是否有空间。应用标题下的动作图标toolbarAndroid React Native
我的工具栏
<ToolbarAndroid
style={styles.toolbar}
logo={logo}
actions={[
{
title: 'Main', icon: mainIcon, show: 'always', showWithText: true
},
...
风格
const styles = StyleSheet.create({
toolbar: {
backgroundColor: 'grey',
height: 50
},
...
答
我的最佳解决方案直到现在编辑图标添加每个文本到每个图标