layout-inflater
Android force Fragment to rebuild View
I have a simple app that has two fragments and when in landscape mode, both fragments are shown side by side and in portrait I show Fragment A and then if they select an option, start an Activity that[详细]
2023-04-13 09:46 分类:问答It inflate the view without the margin
I have this code View item = View.inflate(context, R.layout.item_layout, null); LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT,[详细]
2023-04-11 19:28 分类:问答Android New Intent Problem ; startActivity();
Anyone have any idea why this don\'t works ? the startActivity(i); Not Working public class UiHelper {[详细]
2023-04-06 20:03 分类:问答display my arraylist results in custom listview
I want to display my arraylist results by using custom list view. for now i\'m displaying my results by using android layout.[详细]
2023-04-04 23:51 分类:问答ERROR/AndroidRuntime(335): Caused by: java.lang.NullPointerException
Hi i\'m new bee to android. while executing my application I\'m getting nullpoint exception error, dont know why it is happening. please any one help me to get rid from this issue. thanks in advance.[详细]
2023-04-04 13:41 分类:问答Access components within my custom view (inflated layout)?
I\'m probably making some silly mistake. I have a custom view and use LayoutInflater to get the layout from an XML.[详细]
2023-04-04 06:15 分类:问答Android - custom Layout Inflater
is there any way how to override default l开发者_Go百科ayoutInflater to be able to dynamically create layouts depending on my will, while taking data for XML structure from database?[详细]
2023-04-01 07:49 分类:问答How to add an inflated view to a linear layout
How do you inflate a view and add it to a the list of child views of a Linear开发者_JAVA百科Layout?When you call the inflater constructor, set attachToRoot to false; then manually add the view after y[详细]
2023-04-01 01:41 分类:问答Android: getLayoutInflater() problem
I have the following lines in my code: View convertView; convertView = getLayoutInflater().inflate(R.layout.classheader, parent, fal开发者_开发百科se);[详细]
2023-03-23 08:38 分类:问答Gingerbread - Inflated XML View Has Black Space
I am messing with a test application, and part of it is creating a new window and inflating a view to it, to be used as a settings screen.This has always worked fine for me, but yesterday I upgraded m[详细]
2023-03-23 07:06 分类:问答