1. Are you ready for the Galaxy S20? Here is everything we know so far!

Weird theme issue when app is installed in real Smartphone.

Discussion in 'Android Development' started by PeterStarr, Dec 25, 2020.

  1. PeterStarr

    PeterStarr Lurker
    Thread Starter

    So the problem started when I started making a dice roll app and tried to install in my phone(Vivo y55s). There was weird black background instead of white one(My question is here too but not answered https://stackoverflow.com/questions...ackground-when-app-is-installed-in-smartphone). I found that I was having the same problem when I created new 'Empty Activity' project(Android Lollipop 4.1 SDK) and simply install the apk in my phone after building it. So what could be the issue? The codes are default when we create an Empty Activity in AS and somehow I am getting full black screen and Hello World text in center(it works fine in emulator though).
     


  2. Best Answer:
    Post #2 by PeterStarr, Dec 26, 2020 (3 points)

    1. Download the Forums for Android™ app!


      Download

       
  3. PeterStarr

    PeterStarr Lurker
    Thread Starter

    Problem is solved. It was due to DayNight theme which is automatically changing light and dark theme according to system time.
     
    codesplice and mikedt like this.
Loading...

Share This Page

Loading...