I try setWidth(开发者_如何学C) and setheight() method but it not work Try using LayoutParams. For example
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
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
I made a button that changes the background drawable on different states, this way: <selector xmlns:android="http://schemas.android.com/apk/res/android">
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.
I would like to put an image on a Button with some text, like: -------------- [image] [text] --------------
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.
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
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
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