android-xml
How can I reduce the margin?
One of my views looks like this right now. Near the big 5, specifically above and开发者_如何学Python below it, there is considerable margin. How can I reduce or remove this margin?[详细]
2023-03-09 21:14 分类:问答How can I automatically apply the style of the parent?
I have a layout that contains a custom layout. I would like to pass the style from one element to another. I have a class which inflates the layout, which I can post if required. This element of desig[详细]
2023-03-09 16:41 分类:问答Android getMeasuredHeight returns wrong values !
I\'m trying to determine the real dimension in pixels of some UI elements ! Those elements are inflated from a .xml file and are initialized with dip width and height so that the GUI will eventually s[详细]
2023-03-09 07:27 分类:问答How can I align an element to the right in the FrameLayout?
I have a FrameLayout which contains 2 views , the second is something like a Close Button (X) and i want to position it on the right.[详细]
2023-03-06 21:16 分类:问答"No resource found that matches the given name" error
In my application I get this error for all drawalbes that I have in the folder res/drawable: 开发者_开发技巧[2011-05-15 16:07:47 - Marmara] libpng error: Not a PNG file[详细]
2023-03-06 13:33 分类:问答Android: Renaming gui elements vs. new layout
I\'m new into android and i\'m dealing with the following problem. I need to create a button which groups another two buttons of similar features (sort of submenu). So let\'s say we have a button call[详细]
2023-03-06 00:05 分类:问答Run animation sequentially for infinite time
How do I define a set of animations without using the <set> tag? I read somewhere on this forum that the set tag has开发者_开发技巧 a buggy implementation and will not run with repeatCount=\"inf[详细]
2023-03-05 21:59 分类:问答Inflating a ListView with different number of ImageViews in each row
I\'m starting to work with the Android LayoutInflater and I need some help. I have a ListActivity which uses a layout defined in the following XML:[详细]
2023-03-05 21:09 分类:问答In Android XML is there a touch input?
Is it possible to create a touch draw area to take signatures in a form? I am working on an application to collect information though a form and would like to col开发者_如何学编程lect signatures by[详细]
2023-03-05 16:09 分类:问答Resizing an Imageview
I\'m searching for few days and I can\'t find the answer. I\'m trying to resize an Image View through XML.[详细]
2023-03-02 14:17 分类:问答