I am having a VideoView playing video on my Android app. When I try it on the portrait orientation, the video fills the screen. But when I change the orientation to landscape, the video takes up only
I\'m trying to set my root LinearLayout element (which is set to fill_parent in both dimensions) to have a background image which is always located in the lower left corner of the screen no matter the
When you get an error like the one below (Android 1.5), is it because there are too many nested ViewGroups, or because the total number of Views is too great?Are there any tricks to get around it whil
I am trying to create a drawable in code and change the color based on some criteria. When I try and set the Drawable as the background of the ImageView it displays but won\'t let me set any padding.
I\'m using a TableLayout in Android. Right now I have one TableRow with two items in it, and, below that, a TableRow with one item it it. It renders like this:
I have an Activity that will display a custom vie开发者_C百科w made up of 2 parts.I want one part to be 1/3 of visible screen height, the other part to be 2/3.
I\'m working on an android form with a radio group containing a set of radio buttons. From what I can tell there is no way to set the color a radio button highlights when you s开发者_高级运维elect it.
I\'m working on an android activity with a RadioGroup containing 10 RadioButtons. For some reason or another sometimes, only sometimes, when you select a RadioButton in the RadioGroup it doesn\'t high
probably I don\'t understand the layout properties of TableLayout yet. It doesn\'t seem to be possible to achieve such a flexible table like in HTML, because there are no cells. My target is it to ach
My use case is writing an overlay controller activity for a landscape camera preview. I followed the instructions from a couple of tutorials for writing a transparent theme.