How to skin a Button?

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

How to skin a Button?

Postby nk » Tue Apr 01, 2008 2:45 pm

Hi,

i try to pretty-up the gui a little for my app. I want to change the appearance
of the buttons and TextViews.

Do you know how to change the selected-state of a button or a textview?

I can set the Backgroundcolor by .setBackgroundColor() but i cannot find a method
to change the background when the button is selected - like the rollover-state on the web.

Does anybody know how to skin these items?

Thanks!
nk
Junior Developer
Junior Developer
 
Posts: 21
Joined: Tue Jan 29, 2008 3:23 pm

Top

Postby darolla » Thu Jan 29, 2009 1:08 pm

User avatar
darolla
Master Developer
Master Developer
 
Posts: 273
Joined: Thu Sep 25, 2008 5:16 pm
Location: Dortmund, Germany

Top

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests