black screen on Android
See original GitHub issueusing it with flatlist
<Card
containerStyle={{borderColor: 'transparent'}}>
<ListItem
badge={{ value: 3, badgeTextStyle: { color: 'red' }, badgeContainerStyle: { marginTop: 10, color:'orange' } }}
roundAvatar
title={`${item.name.first} ${item.name.last}`}
subtitle={item.email}
avatar={
<TouchableOpacity onPress ={ () => this._showModal() }>
<Avatar
medium
// onPress ={ () => this._showModal() }
rounded
source={{ uri: item.picture.thumbnail }}
// style={{borderRadius:25, height:50, width:50 }}
/>
</TouchableOpacity>
}
containerStyle={{borderBottomWidth: 0, padding:0 }}
/>
<Modal isVisible={this.state.isModalVisible}>
<View>
<Text>Hello!</Text>
</View>
</Modal>
</Card>
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to Fix Black Screen on Android Phones - Lifewire
How to Fix a Black Screen on an Android Phone · Press & hold the Home, Power, & Volume Down/Up buttons. · Press...
Read more >5 Proven Ways to Fix Android Black Screen of Death - iMobie
Way 5. Fix Android Black Screen by Removing the Phone's Battery · First, open the protective cover of the phone from the charging...
Read more >How to Fix Black Screen on Android Phone (2022 Update)
Way 1. Force Restart Your Android · Press and hold down the Power, Home and Volume Up/Down keys. · Press and hold down...
Read more >How do I fix my android black screen? - Player Assist
Factory reset to fix black screen issues ; Power off the device. Power off your device and make sure its completely turned off....
Read more >How to Fix Black Screen on Android Phone[4 Easy Methods]
Part 3: Other Tricks to Fix Android Black Screen · 1. Power off your Android phone. · 2. Press and hold the Power...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ran into a similar issue and thought this may help other folks who run into such an issue. The backdropOpacity parameter which is defaulted to 0.7 seems to create drastically different background transparencies for android and ios and the android background appears really dark. I ended up fixing it by using a platform specific parameter as shown below.
Thanks @PramodVemulapalli, but I guess it might be device-specific 🤔