Top "Android-inflate" questions

Instantiates a layout XML file into its corresponding View objects

Manually inflating custom view yields different layouts for ActionBar custom view

Custom view from resource: // Set up the action bar. final ActionBar actionBar = getActionBar(); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD); actionBar.…

android android-actionbar android-custom-view android-inflate
OnMenuItemSelected isn't called when layout is set for menu item

I have a menu which is inflated from main_menu.xml: <menu xmlns:android="http://schemas.android.com/apk/…

android android-layout android-actionbar menuitem android-inflate
what is the use of the layoutinflator?

I'm a new Android developer. I have tried to understand the use of Layout inflator from the documentation but have …

android android-layout android-inflate
Get item view from ActionBar

I have an ActionBarSherlock with one menu item in my bar. When I'm call View item = findViewById(R.id.my_…

android actionbarsherlock activity-lifecycle android-inflate
How to remove View in Android?

I have two Buttons which is in main layout. If Add Button is clicked it has to add EditText dynamically(…

android android-view layout-inflater viewgroup android-inflate
Android: LayoutInflater and findViewById woes

I'm trying to use LayoutInflater in a loop, but each time one of these guys is instantiated, I need to …

android android-inflate
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(…

android margin inflate android-inflate layout-inflater