我终于能够使用react-native-material-dropdown获得非常接近的结果
一旦导入并使用您需要的值设置数据对象(我使用了保存、删除、取消),您可以使用以下代码/设置
<Right>
<Button transparent>
<Icon name="md-more" style={{ color: '#fff' }} />
</Button>
<Dropdown
label=""
data={data}
containerStyle={{
opacity: 0,
backgroundColor: 'rgba(0, 0, 0, 0.0)',
top: 4,
right: -10,
color: 'white',
position: 'absolute',
height: Platform.OS === 'android' ? 48 : 52,
width: 70,
}}
pickerStyle={{
marginTop: 60,
marginRight: 40,
}}
overlayStyle={{ backgroundColor: 'rgba(0, 0, 0, 0.27)' }}
dropdownOffset={{ top: 0, left: 0 }}
dropdownPosition="1"
itemColor="rgba(0, 0, 0, .87)"
selectedItemColor="rgba(0, 0, 0, .87)"
/>
</Right>;