android-relativelayout
RelativeLayout background image + color
I have a RelativeLayout where I need to have a black background and a small image exactly in the middle of it. I used this code:[详细]
2023-04-09 07:58 分类:问答Android - how to position this custom balloon view with RelativeLayout
Im stuck in getting this to work. Look at the picture below, i want the bubble to be placed under the image.[详细]
2023-04-09 01:21 分类:问答RelativeLayout problem. ImageView scroll up when keyboard shown
I\'m trying to show a ImageView under a AdView like image 2. The problem is where the EditText is active, the keyboard is shown and if the AdView is loaded, all works perfect, but when the AdView isn\[详细]
2023-04-08 22:22 分类:问答android getHeight()/getWidth with RelativeLayout
Hi I\'m new to Android and am facing the problem: how do I get the Height/Width of a view,which is placed in a relative layout? I tried getHeight() and getWidth() and both return 0.[详细]
2023-04-08 20:14 分类:问答how to place one image at the corner of another in relative layout in android?
I have two images. image A is a rectangle one and image B is a circular one. I want image B to be at the lower right corner of image A - 1/4th of it inside image A and the other 3/4th of it outside.[详细]
2023-04-07 15:04 分类:问答Is possible in android to pan/drag a layout?
I am trying to pan a RelativeLayout with child Views, usin开发者_如何学Gog gesture onScroll event, but I do not get the result that I desire.I have tried to move the children, but nothing works.[详细]
2023-04-06 12:30 分类:问答how to control the transparency of a view in a RelativeLayout in android?
I have a RelativeLayout that holds a set of views and i would like that one of the views will appear in front of all the other views? how can i do that ?[详细]
2023-04-06 11:59 分类:问答Recreate Google+ / Google Reader Like Header Nav Bar??? (Android)
I\'ve created a header menu that is very similar to the screen shots below for an app that I\'m working on. However, I can\'t quite figure out how to make the buttons always stay flush to the right an[详细]
2023-04-06 05:08 分类:问答Screen appearing differently on different devices even with dip and same resolution
Okay guys. Problem: I have a layout that needs views to appear inside of the \"boxes\" that are built into the background image. So..precise layout is a must. I got the layout up and it looked great o[详细]
2023-04-05 14:34 分类:问答Controlling problem in android layouts
I tried to show new view on the center of relativelayout. But the new view always places on the top of screen.[详细]
2023-04-05 13:25 分类:问答