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.

getBarSize(new OnSizeDeterminedListener()) does not update (attachShy)

See original GitHub issue

This only give me one number, when my activity is first launched:

bottomBar.getBarSize(new OnSizeDeterminedListener() { @Override public void onSizeReady(int size) { Log.e("height", String.valueOf(size)); float translationY = Math.min(0, floatingActionButton.getTranslationY() - size); floatingActionButton.setTranslationY(translationY); } });

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
NikolaDespotoskicommented, Apr 8, 2016

@roughike Then I have to adjust proper translation for FAB in the behavior.

1reaction
addiittya2006commented, Jul 19, 2016

Is there any Update on this, the fab still goes below the BottomBar. If I get LayoutParams and set the BottomMargin manually then the Same Margin is used as the SnackBar Margin and everything looks ugly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

13.2 EM Fleet migrate_listener Does Not Update the ...
The migrate job output shows it fails to start the migrated listener because of incorrect ORACLE_HOME in the listener.ora file. The job output ......
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