Error Inflating Class Android.widget.relativelayout
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up InflateException: Binary XML file line #1: Error inflating class here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the http://stackoverflow.com/questions/20680451/inflateexception-binary-xml-file-line-1-error-inflating-class-unknown-cause company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million http://stackoverflow.com/questions/27879448/android-view-inflateexception-binary-xml-file-line-1-error-inflating-class-an programmers, just like you, helping each other. Join them; it only takes a minute: Sign up android.view.InflateException: Binary XML file line #1: Error inflating class android.widget.RelativeLayout up vote 0 down vote favorite I get that error when I try running my app. I saw other posts on this topic, but none of them were applicable to this code. One solution that is not applicable here was changing the android:background property to a drawable. That obviously is not true here. Here is the activities code: Sign in Pricing Blog Support Search GitHub This repository Watch 78 Star 1,416 Fork 234 ZieIony/Carbon Code Issues 18 Pull requests 0 Projects 0 Wiki Pulse Graphs New issue InflateException when trying to inflate Layout with Carbon.Widget.Button #120 Closed borgwald opened this Issue Jul 23, 2015 · 8 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants borgwald commented Jul 23, 2015 @Override public ProfileAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { switch (viewType){ case 0: View headerView = mInflater.inflate(R.layout.padding, parent, false); return new HeaderViewHolder(headerView); case 2: View staticMapView = mInflater.inflate(R.layout.static_map_item, parent, false); return new ImageViewHolder(staticMapView); default: View itemView = mInflater.inflate(mItemResourceId, parent, false); return new ViewHolder(itemView); } } static_map_item.xml: