android-button
how to change size of button dynamic in android
I try setWidth(开发者_如何学C) and setheight() method but it not work Try using LayoutParams. For example[详细]
2023-02-20 17:24 分类:问答How to add a button to a PreferenceScreen?
I\'m quite new to Android Development and just came across Preferences. I found PreferenceScreen and wanted to create a login functionality with it. The only problem I have is that I don\'t know how I[详细]
2023-02-16 13:07 分类:问答How to place transparent buttons over an image relatively?
I am looking for a way in Android how to place some transparent buttons over a (background) image so I have good control to position the buttons and they stay were they meant to be also if the screen[详细]
2023-02-06 13:33 分类:问答Android customized button; changing text color
I made a button that changes the background drawable on different states, this way: <selector xmlns:android="http://schemas.android.com/apk/res/android">[详细]
2023-02-04 01:26 分类:问答Android: Button does not show in layout
I\'m puzzled as to why the button called \"btnAdd\" doesn\'t show when I use this layout. I\'ve tried both a LinearLayout and the current RelativeLayout but it\'s invisible in both.[详细]
2023-02-02 04:20 分类:问答How to specify the image's size for the left-image of a button?
I would like to put an image on a Button with some text, like: -------------- [image] [text] --------------[详细]
2023-02-01 04:29 分类:问答How to start new activity on button click
In an Android applic开发者_如何学Pythonation, how do you start a new activity (GUI) when a button in another activity is clicked, and how do you pass data between these two activities?Easy.[详细]
2023-01-25 08:39 分类:问答ImageButton isn't the same size
I have problem with width of ImageButtons, it isn\'t the same size. I have experimented with all attributes for two hours and nothing. I create buttons at runtime and put inside row (also created at r[详细]
2023-01-23 15:24 分类:问答Android EditText and Button on same line
I need to have a Edittext beside a Search开发者_如何学运维 button. The EditText should fill as much of the width as possible, the button should be to the right and be just big enough to have it\'s tex[详细]
2023-01-13 07:25 分类:问答Android - map with 3 buttons
I am trying to display map in Android for the first time. Now I want to display 3 buttons on the map, and when I clicked on a particular button, that button\'s cl开发者_如何学Goick event should be rai[详细]
2023-01-12 11:45 分类:问答