Building an android in expo automatically creates a background

#1

Dear developer.

This is what I see when testing on xde. (not build just watch qr code with phone)

Here, the wallpaper looks white.

However, when you run the app using the built apk file, it looks like below.

Why is the build and the screen I see in xde different?

I am really sorry Please help me.

#2

Hi @moonjong93 thank you for the report. We’ll take a look at this.

#3

@moonjong93 Is the issue gone if you explicitly set your main View’s background color to white?

#4

Excuse me
If I do not need color, should I specify it?

I do not specify the background color.

    main: {
        flex: 5,
    },
 <View style={styles.main}>
                        <Main
                        now={this.state.now}
                        list={this.state.list}
                        len={this.state.len}
                        onInsert={this.onInsert}
                        onIsDone={this.onIsDone}/>                        
</View>
#5

What happens if you do

main: {
  flex: 5,
  backgroundColor: 'white',
},

?

closed #6

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.