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 Studio background color are included in png image #1

Open
Gamer1989 opened this issue Mar 11, 2019 · 1 comment
Open

Android Studio background color are included in png image #1

Gamer1989 opened this issue Mar 11, 2019 · 1 comment

Comments

@Gamer1989
Copy link
Owner

Gamer1989 commented Mar 11, 2019

buton
I designed a button in photoshop cs6 and save it as a png image. When try to add it in android studio as an imageView or imageButton it includes the background color. I tried android:backgroud="@android:color/transparent" but no luck. In photoshop my image background looks transparent.
photoshop

@arkzen
Copy link

arkzen commented Dec 5, 2022

Hello, You can open your photoshop file into Adobe XD and then select your shapes that you wants to export, export those in png format , after that you can copy them into android studio drawable folder and you can use it. No background colour will be included like before.

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