question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RequestLayout() improperly called

See original GitHub issue

I’ve got these warnings whenever the Tab Bar activity is launched.

W/View: requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{2af626cd V.ED.... ......ID 109,111-215,168 #7f0e0075 app:id/bb_bottom_bar_title} during layout: running second layout pass
W/View: requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{1a2f2b82 V.ED.... ......ID 32,120-161,177 #7f0e0075 app:id/bb_bottom_bar_title} during layout: running second layout pass
W/View: requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{2de35293 V.ED.... ......ID 9,120-185,177 #7f0e0075 app:id/bb_bottom_bar_title} during layout: running second layout pass
W/View: requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{3da522d0 V.ED.... ......ID 0,120-194,177 #7f0e0075 app:id/bb_bottom_bar_title} during layout: running second layout pass
W/View: requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{ccb62c9 V.ED.... ......ID 37,120-157,177 #7f0e0075 app:id/bb_bottom_bar_title} during layout: running second layout pass

Any idea on what might be the problem?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:22
  • Comments:30 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
yombunkercommented, Mar 30, 2017

@burhanaksendir if that’s teh fix, then it will be coming in the next days because that’s part of the change i’m working on

2reactions
burhanaksendircommented, Mar 30, 2017

https://github.com/roughike/BottomBar/blob/master/bottom-bar/src/main/java/com/roughike/bottombar/BottomBarBadge.java#L32

I resolved this using android.support.v7.widget.AppCompatTextView:

class BottomBarBadge extends android.support.v7.widget.AppCompatTextView {

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android: requestLayout() improperly called - Stack Overflow
Android: requestLayout() improperly called ... I am attempting to inflate a layout within a ListView as follows: @Override public View getView(int position, View ......
Read more >
requestLayout() improperly called by ... - GitHub
Description Getting infinite console messages when adding items to an ObservableCollection that is tied to a ListView Steps to Reproduce ...
Read more >
requestLayout() improperly called by com.syncfusion.charts ...
requestLayout() improperly called by com.syncfusion.charts.ChartRootLayout · Im just starting out with forms, created a simple forms plc project · (VisualStudio ...
Read more >
Android : Android: requestLayout() improperly called - YouTube
Android : Android: requestLayout () improperly called [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Android ...
Read more >
requestLayout() improperly called - MSDN - Microsoft
I have the same issue. If a new item is added to the ObservableCollection bound to the listView, the "requestLayout() improperly called by.....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found