Top "Android-inflate" questions

Instantiates a layout XML file into its corresponding View objects

How to inflate one view with a layout

I have a layout defined in XML. It contains also: <RelativeLayout android:id="@+id/item" android:layout_width="fill_…

android android-layout layout-inflater android-inflate
android.view.InflateException: Binary XML file line #12: Error inflating class <unknown>

I am receiving many errors of kind displayed in the subj. These errors seems to be occasional and I cannot …

android xml resources android-inflate
What does it mean to inflate a view from an xml file?

I am new to android development and keep coming across references to Inflating views from a layout xml file. I …

android android-inflate
InflateException: Binary XML file line #1: Error inflating class <unknown> caused by OutOfMemoryError

Here is my code: input.xml (layout folder) <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:…

java android xml android-layout android-inflate
Custom Layout for DialogFragment OnCreateView vs. OnCreateDialog

I'm trying to create a DialogFragment using my own Layout. I've seen a couple different approaches. Sometimes the layout is …

java android mono xamarin.android android-inflate
Problem inflating custom view for AlertDialog in DialogFragment

I'm trying to create a DialogFragment using a custom view in an AlertDialog. This view must be inflated from xml. …

android android-alertdialog android-fragments android-inflate layout-inflater
Inflate layout programmatically within another layout

I need help with my android app. I need inflate a layout within another layout and I dont know how …

android xml android-layout android-inflate
Inflating a xml layout in a custom View class

I have a class View1 that extends View. I want to inflate R.layout.test2.xml in this class View1. …

android view android-inflate
How to Inflate view from XML in Android?

I'm creating a tableLayout [given in XML] adding table Row [created in XML and inflating in Java] also adding 2 textview …

android user-interface view android-tablelayout android-inflate