drawable
Android EditText offset for the text?
I\'ve created a background drawable for my EditText, but the text showed up IN the image border. I fixed this by setting \'scrollX to -12dip, and this seemed to word in Eclipse, in the graphical layou[详细]
2023-04-05 09:48 分类:问答Results of AsyncTask into local variable
I\'m working on implementing a website\'s API in an Android app. There\'s a part of this API which gives me an array, which contains an array of image URLs. Now, I can iterate through the arrays just[详细]
2023-04-05 08:55 分类:问答Does 9 patch remove identical pixels to save space?
I\'m trying to find out the best size for my drawable 9 patch image. When exporting a png for later use in draw9patch, does it matter if I just keep the middle of a drawable just \'big\', or should I[详细]
2023-04-05 07:00 分类:问答"How to pass a parameter into a drawable" or "Create button with gradient and changeable image"
I have a custom drawable in my android project that should be the background of a button. But each button should also support an icon AND a text.[详细]
2023-04-05 01:24 分类:问答Android HTML ImageGetter as AsyncTask
Okay, I\'m losing my mind over this one. I have a method in my program which parses HTML. I want to include the inline images, and I am under the impression that using the Html.fromHtml(string, Html.I[详细]
2023-04-04 18:50 分类:问答Getting ListView drawables and applying it manually
i am trying to apply the style that a list item has, when it is selected, to a View (In my case a TextView)[详细]
2023-04-03 17:38 分类:问答Button Background Selector
I try to switch the background of Buttons if they are pressed. I build a Selector like the answer suggested here: Standard Android Button with a different color[详细]
2023-04-03 11:56 分类:问答Is possible use drawable-mdpi-fr, drawable-hdpi-fr, drawable-ldpi-fr, for localization with different resolutions
I want to use different imag开发者_运维问答es for different localisations. However, I have images for all resolutions and for all languages. Is there any way to do this?yes, it is possible by. drawabl[详细]
2023-04-03 08:25 分类:问答android drawable identifier in a database
what is the best way to store a drawable identifier in a database? by is id? but i开发者_StackOverflowf it is generated it can change, what to do? I\'ve been looking arround but can\'t find complete i[详细]
2023-04-02 17:47 分类:问答Android multiple ACTION_MOVE
The MotionEvent class has ACTION_DOWN for the first and ACTION_POINTER_DOWN for any subsequent presses, same withh ACTION_UP. Evidently, there isn\'t an equivalent for ACTION_MOVE from what I\'ve seen[详细]
2023-04-02 15:15 分类:问答