I have this layout:
<?xml version="1.0" encoding="utf-8"?>
<merge>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/has_selected_account"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:id="@+id/account_display_name"
android:layout_width="wrap_content"
android:layout_marginTop="@dimen/account_menu_name_and_display_vertical_padding"
android:layout_marginBottom="@dimen/account_menu_name_and_display_vertical_padding"
app:layout_constraintBottom_toTopOf="@+id/account_name"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:text="DisplayNameIsLongSoItShouldBeTruncatedAtSomePoint"/>
<TextView
android:id="@+id/account_name"
android:layout_width="wrap_content"
android:layout_marginTop="@dimen/account_menu_name_and_display_vertical_padding"
android:layout_marginBottom="@dimen/account_menu_name_and_display_vertical_padding"
android:includeFontPadding="false"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/account_display_name"
tools:text="[email protected]"/>
</android.support.constraint.ConstraintLayout>
</merge>
And I get a very general inflation error:
Caused by: android.view.InflateException: Binary XML file line #39: Error inflating class com.me.AccountParticle
at android.view.LayoutInflater.createView(Layo
(Cut like this)
I have tried to simplify my XML. How can I tackle the inflation error?
Plus my layout XML doesn't have like #39 so where does this refer to?