Android Application Development Tutorial - 60 - Creating Custom Buttons

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I laughed so hard when Travis promised to do a photoshop class. These tutorials are the best. thanks Travis.

PinkTacoPorfavor
Автор

Thumbs up all guyz who are making android apps in windows

princesoni
Автор

... and you are like: WHAT!? Are you kidding me? In the drawable folder!? Yes guys, Im serious, this is where magic is going to happen...
You are the best Travis!

jpined
Автор

Really help me to start developing on Android, thanks!

dantube
Автор

lol Travis, you're so funny. Your voice was so serious when you mentioned about your "Photoshop" class :D

KiemNguyen
Автор

Great vid man. Exactly what I was looking for. got my buttons done in less than ten minutes thanks to you! kudos! keep making vids!

cassolmedia
Автор

My button is being displayed smaller than the background images size. anyone know how to fix this?

strited
Автор

Why are we changing the order inside the selector?Isn't the order is already correct?Or the selector operates in reverse order?

shyaammuthusamy
Автор

when i create new xml file i dont get the window in which it is asked to choose type of resource
help

AanchalPatial
Автор

I have a small problem with the search paths for the custom.xml.. In a bigger project you don't just dump all the images in one folder so I tried to make this button in a separate folder (named "button" under the "drawable-hdpi" folder were i placed the three images and the custom.xml file.. however in the main.xml when you set the background for the button to the costum.xml i can't figure out what the path should be.. have tried every combination i could think of.. pleas help =/

Wiquzor
Автор

if u can add an image to a 
<button....
then whats the point of an
thenewboston 

Basel
Автор

Is it really necessary to do everything in reverse order in Selector?

KartikSharma
Автор

Now I have a really big problem in every src lines where I used R I get that error
R cannot be resolved to a variable
What happened :(

DemoGamesHD
Автор

Why drawable resource type is not coming for me, when I try creating custom.xml?

shivrajrath
Автор

Why does order of items in custom.xml actualy matters?

Skisful
Автор

Does anyone know how can i make the subtract button also an animated button? I followed the same steps and i made two xml files and added the subtract buttons in there. Then i called it in the main.xml. I am getting an error.

Justinwk
Автор

Its always a gamble trusting someone you don't know

JefferySchimes
Автор

On my windows machine for this to work....
Adding the custom.xml file to drawable-hdpi folder, I needed to NOT press finish button but press NEXT and then select Density and add it to the Chosen Qualifiers, also changing the Density to High. Else it was adding a new Drawable folder under Res.

plaxicon
Автор

@shivrajrath I'd got the same problem. Try to copy-paste another xml file in this directory and to edit it.

Polydegmonnn
Автор

Hey... Guys...!! Was just goin thru dis 60th 1. Dre is dis option in d video where we have to choose the root-element for the xml file !! Well, thing is there is no such option when I try to create my custom.xml file in the drawable folder !!!
Help me ny1 find me this root-element

shantanudutta