Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.11.2 Set hideIcon(false) Show ERROR Binary XML file line #167

Open
filghk opened this issue Nov 28, 2018 · 1 comment
Open

1.11.2 Set hideIcon(false) Show ERROR Binary XML file line #167

filghk opened this issue Nov 28, 2018 · 1 comment
Labels

Comments

@filghk
Copy link

filghk commented Nov 28, 2018

Demo Code
Message message = new Message.Builder()
.setUser(me)
.setRight(true)
.setText(mChatView.getInputText())
.hideIcon(true) <- is true will not happen ,false is Show ERROR
.build();
Version 1.11.0 the same code it won't go wrong

Fatal Exception: android.view.InflateException
Binary XML file line #2: Binary XML file line #2: Error inflating class de.hdodenhof.circleimageview.CircleImageView
android.view.LayoutInflater.inflate (LayoutInflater.java:551)
android.view.LayoutInflater.inflate (LayoutInflater.java:429)
android.view.LayoutInflater.inflate (LayoutInflater.java:380)
com.github.bassaer.chatmessageview.view.MessageAdapter.getView (MessageAdapter.kt:144)
android.widget.AbsListView.obtainView (AbsListView.java:3073)
android.widget.ListView.measureHeightOfChildren (ListView.java:1305)
android.widget.ListView.onMeasure (ListView.java:1212)
android.view.View.measure (View.java:20236)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6427)
android.widget.LinearLayout.measureChildBeforeLayout (LinearLayout.java:1464)
android.widget.LinearLayout.measureHorizontal (LinearLayout.java:1111)
android.widget.LinearLayout.onMeasure (LinearLayout.java:631)
android.view.View.measure (View.java:20236)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6427)
android.widget.LinearLayout.measureChildBeforeLayout (LinearLayout.java:1464)
android.widget.LinearLayout.measureVertical (LinearLayout.java:747)
android.widget.LinearLayout.onMeasure (LinearLayout.java:629)
android.view.View.measure (View.java:20236)
androidx.drawerlayout.widget.DrawerLayout.onMeasure (DrawerLayout.java:1119)
android.view.View.measure (View.java:20236)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6427)
android.widget.FrameLayout.onMeasure (FrameLayout.java:194)
androidx.appcompat.widget.ContentFrameLayout.onMeasure (ContentFrameLayout.java:143)
android.view.View.measure (View.java:20236)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6427)
android.widget.LinearLayout.measureChildBeforeLayout (LinearLayout.java:1464)
android.widget.LinearLayout.measureVertical (LinearLayout.java:747)
android.widget.LinearLayout.onMeasure (LinearLayout.java:629)
android.view.View.measure (View.java:20236)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6427)
android.widget.FrameLayout.onMeasure (FrameLayout.java:194)
android.view.View.measure (View.java:20236)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6427)
android.widget.LinearLayout.measureChildBeforeLayout (LinearLayout.java:1464)
android.widget.LinearLayout.measureVertical (LinearLayout.java:747)
android.widget.LinearLayout.onMeasure (LinearLayout.java:629)
android.view.View.measure (View.java:20236)
android.view.ViewGroup.measureChildWithMargins (ViewGroup.java:6427)
android.widget.FrameLayout.onMeasure (FrameLayout.java:194)
com.android.internal.policy.PhoneWindow$DecorView.onMeasure (PhoneWindow.java:3140)
android.view.View.measure (View.java:20236)
android.view.ViewRootImpl.performMeasure (ViewRootImpl.java:2712)
android.view.ViewRootImpl.measureHierarchy (ViewRootImpl.java:1656)
android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:1948)
android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1544)
android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:7616)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:911)
android.view.Choreographer.doCallbacks (Choreographer.java:686)
android.view.Choreographer.doFrame (Choreographer.java:622)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:897)
android.os.Handler.handleCallback (Handler.java:739)
android.os.Handler.dispatchMessage (Handler.java:95)
android.os.Looper.loop (Looper.java:148)
android.app.ActivityThread.main (ActivityThread.java:7406)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)

@bassaer
Copy link
Owner

bassaer commented Feb 13, 2019

Thank you for your report

@bassaer bassaer added the bug label Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants