# Android studio - Remove action bar

**URL:** <https://discourse.processing.org/t/android-studio-remove-action-bar/15760>\
**Category:** Processing for Android\
**Created:** [November 24, 2019, 10:43am UTC](https://discourse.processing.org/t/android-studio-remove-action-bar/15760 "2019-11-24T10:43:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![soet\_za](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@soet\_za](https://discourse.processing.org/u/soet_za)\
**Post date:** [November 24, 2019, 1:45pm UTC](https://discourse.processing.org/t/android-studio-remove-action-bar/15760/6 "2019-11-24T13:45:05Z")

</div>

division by height in setup() led to an incorrect value - 0 to be exact;

Solution:  
create a variable to get the height and then use that variable;

Example:

float getHeight = height;  
float value = 1000 / getHeight;

---

_[View the full topic](https://discourse.processing.org/t/android-studio-remove-action-bar/15760)._
