0

how can i use a picture for background of a button from assets?

android:background="@drawable/icon_none"

but in assets it's not working, i tried this code:

android:background="@assets/icons/icon_none"

its need source code or it could be fixed in layout.

and how can i add a different music played in background for each layout and add turn on and turn off button. can anybody offer a source code for me to work on it or a site that teach source codes?

Cœur
  • 37,241
  • 25
  • 195
  • 267

0 Answers0