I want my app to use a image in the background for signup and signin function. I am using android studio 2.3 and so far I can see that lot many things have changed since last year. Where we used relative or linearlayout now that is constraint layout. I included a code with the root layout as:
android:background="@drawable/wallpaper_2"
android:orientation="vertical"
Check this image for more information:
When I test this app on my Nexus 5 it does not show anything just a blank screen but the it shows the same image on the preview screen. Any help would be appreciated on this.
The resolution of your image is too large for the device resize your picture to smaller dimesions and based on that put your image into specific drawable folder. e.g : If image size is 1280 x 720
than put image in drawable-xxhdpi folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With