inflate
How to inflate a view in a determined position?
I have an activity with an \"Add\" and a \"Delete\" button. The \"Add Button\" inflates a view, the \"Delete Button\" removes a selected View.[详细]
2023-02-01 13:08 分类:问答Android - how to inflate a view with multiple EditText fields and read their values?
For my Android application, I want to have a view which allows a user to click a plus button to add EditText fields, and next to the EditText fields, I want to have minus buttons that will remove them[详细]
2023-02-01 01:05 分类:问答Inflating a view multiple times in the same parent when a button is clicked
My app is about creating surveys. In order to do so, the user should be able to create new fields dynamically.[详细]
2023-01-28 10:00 分类:问答Android: draw on a view inside an inflated xml (another view)
I have a small xml file called \'xmlview.xml\' which is something like: <tablelayout> <tablerow>[详细]
2023-01-21 19:48 分类:问答How to "deflate" a ViewStub?
So I can inflate a ViewStub at runtime. Let\'s say I want to make it disappear and then maybe inflate again depending on 开发者_如何学JAVAsome event occurring (for example, a toolbar that inflates and[详细]
2023-01-18 05:04 分类:问答Android inflated view is empty
I am trying to add a divider between entries in a vertical LinearLayout, to emulate the appearance of a ListView. (I can\'t just use a ListView in this particular situation.)[详细]
2023-01-15 09:22 分类:问答why aren't menus pre-inflated for you?
Why aren\'t menus inflated automatically for you in Andr开发者_开发技巧oid, the way an Activity\'s layout is?They are, just override like this:[详细]
2023-01-13 05:00 分类:问答LinearLayout in ExpandableListView
I want to inflate a childView of ExpandableChildView component. Code: public View getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) {[详细]
2023-01-08 07:06 分类:问答Content of a inflated EditText
I\'m having a hard time figuring out how to getText() as a readable String from a inflated EditText. I have a boolean method that checks something, so, in the onCreate method i call it like this[详细]
2023-01-06 22:29 分类:问答Inflating a view into Button?
I saw this questions unanswered on some forums and wonder if anyone have a clue on how to answer. Let\'s say for instance a button is needed with a picture and a text. It would seem natural to create[详细]
2023-01-05 09:38 分类:问答