Top "Android-button" questions

questions about the android.

Create a 3d shaped button in android

I was trying to create a button similar in look to the round buttons over here - http://livetools.uiparade.…

android android-ui android-button android-styles
Material design button with border

I know how to make Material Design button with color fill: style="@style/Widget.AppCompat.Button.Colored" And no-bordered transparent …

android button material-design android-button material-components-android
How to delete the last letter from EditText with button?

I have to buttons that writes A and B to an edittext. If there is something in the edittext how …

java android android-edittext android-button
Button text not with multiple lines

I'm trying to create a custom AlertDialog, and there are two buttons in the layout. However when the button layout …

android android-layout android-button
Button in custom Android Toast?

Is it possible to have a button in a Toast? In theory, yes because you can build a custom Toast …

android button android-button toast
NullPointerException on button's OnClickListener

I'm writing an Android game app for an Artificial Intelligence semester project. I'm getting a NullPointerException on Line 38 of the …

android nullpointerexception android-button
How to change android button text color globally in theme

How can I change all my buttons text color? I know I can set the background color like follows : <…

android material-design android-button material-components material-components-android
Android : Decreasing size of the Button

I am using Button in one of the layouts. I want Button size to be as small as the text/…

android android-button
Android: Goto HTTP Url on Button Click

I want to go to a web page on the click of a button in my Android app. So say, …

android http url android-activity android-button
Programmatically set attribute AlignParentRight to button in RelativeLayout is not working?

I try to programmatically set the attribute AlignParentRight to button in RelativeLayout but the program crashes with a NullPointerException. Here …

android android-layout android-button android-relativelayout