Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android nothing appear when enable #1

Closed
yelkamel opened this issue Feb 21, 2017 · 2 comments
Closed

Android nothing appear when enable #1

yelkamel opened this issue Feb 21, 2017 · 2 comments

Comments

@yelkamel
Copy link

I have an issue on Android (it's work very well on iOS) when I tried to show the view inside the display nothing appear any ideas how I can fix it ?

@sundayhd
Copy link
Owner

sundayhd commented Feb 21, 2017

Try to set height and width for both the display and the view inside the display
for example:
<Display enable={true} style={{width: 100, height: 100}}> <View style={{width: 100, height: 100, backgroundColor: "red"}}></View></Display>

please let me know if that fix your problem,
if not, you can share your code here and I will try to help.

@yelkamel
Copy link
Author

It's works thank :)
I didn't know this difference with the View between iOS and Android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants