Closed paolotormon closed 3 years ago
Can you please share the details? i.e what OS level are your running the app on? Also please share both of your build.gradle? I want to see the target sdk etc to help replicate the issue. Thanks!
Hi Shobhit, I'm using Windows 10 and I'm running the app on API 29
App Gradle:
Project Gradle
Interesting! I tried to reproduce using the same settings but couldn't. Which Android device / Simulator and OS level you are running the code on?
Can you try with your settings by checking out the sample project in the master branch of this repo?
I'm using Nexus 5 API 29, although that button screenshot is from the .xml file's design view so the device is not the cause.
Okay I will try your suggestion
Sometimes the layout preview doesn't give the whole picture, that's why asked. You see the above behaviour on the Nexus device as well as the layout preview, right?
It looks like this, I already added dependencies
i think the android 4.1 has this issue, i am also getting same issue tried everything.
try to run your application in the mobile device the icon is visible when you run the application, it's just a bug in android studio.
@rahulyadav97185966 Thanks for sharing your experience! I'll close issue for now then 👍
It looks like this, I already added dependencies