# Components don't follow the layout (Android)

**URL:** <https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592>\
**Category:** Design\
**Created:** [August 9, 2022, 7:36am UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592 "2022-08-09T07:36:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koyan](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Koyan](https://forum.adalo.com/u/Koyan)\
**Post date:** [August 9, 2022, 7:36am UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592/1 "2022-08-09T07:36:52Z")

</div>

Only the Android, layout doesn’t follow the expected design.  
Height of components are resized and gap appeared with some components. (See icons and text combination.)  
\*No overlap components and iPhone build is working well.

On the preview screen on the Pixel4 (1,2).  
Actual screen on the Pixel4 (3,4).

 ![Screen Shot 2022-08-09 at 16.22.27](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/8/3/83df764fe2c5ee47e2216c8be67c302e976c1d4b.png)  
 ![Screen Shot 2022-08-09 at 16.22.11](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/8/e/8e1c58d84c859cd6f66663a6e0397ab83d16ada1.png)  
 ![Screenshot_20220809-162256](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/3/2/32566d4ffd7fd4eb664072f388258f1ad88d7acf.png)  
 ![Screenshot_20220809-162328](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/b/2/b24c4a1c568753bce55b01f1c63c242d9bee3648.png)

---

<div class="post-metadata">

**Author:** ![Rozza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rozza/32/22780_2.png) [@Rozza](https://forum.adalo.com/u/Rozza)\
**Post date:** [August 9, 2022, 1:18pm UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592/2 "2022-08-09T13:18:52Z")

</div>

Nice interface!  
Try an invisible rectangle snapped to the top of the screen, to push the list down a bit.  
Likely you will have to live with a small but slightly bigger gap on devices that don’t have this issue. Unless you can hide the rectangle depending on device. Bit of a minefield with Android.

---

<div class="post-metadata">

**Author:** ![crystalball](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@crystalball](https://forum.adalo.com/u/crystalball)\
**Post date:** [August 9, 2022, 9:16pm UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592/3 "2022-08-09T21:16:25Z")

</div>

I have done the same things (using invisible rectangles) to make things look right at several places.

---

<div class="post-metadata">

**Author:** ![Archer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/archer/32/17036_2.png) [@Archer](https://forum.adalo.com/u/Archer)\
**Post date:** [August 10, 2022, 1:43am UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592/4 "2022-08-10T01:43:47Z")

</div>

Try putting a rectangle at the back that is the size of the components you want to fix and then group then to the rectangle.

This should make sure it doesn’t more.

---

<div class="post-metadata">

**Author:** ![Ali-Bazzi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ali-bazzi/32/40359_2.png) [@Ali-Bazzi](https://forum.adalo.com/u/Ali-Bazzi)\
**Post date:** [August 11, 2022, 6:54am UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592/5 "2022-08-11T06:54:35Z")

</div>

Hello, you can put a rectangle around these components at the back.

---

<div class="post-metadata">

**Author:** ![Koyan](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Koyan](https://forum.adalo.com/u/Koyan)\
**Post date:** [August 12, 2022, 3:22am UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592/6 "2022-08-12T03:22:17Z")

</div>

Thank you everyone, I tried your suggestions. But the issue didn’t solved.  
If OK, please share its detail, like screenshots.

---

<div class="post-metadata">

**Author:** ![Koyan](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Koyan](https://forum.adalo.com/u/Koyan)\
**Post date:** [August 21, 2022, 12:58pm UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592/7 "2022-08-21T12:58:21Z")

</div>

This issue fixed, I would share the cause of gaps and resize.

Cause: Font change  
I selected “Noto sans JP” font, but I found this don’t work on android OS correctly.  
Unexpected padding at the bottom of text appear with all text components, so layout was broken.  
This issue is not able to find on Previewer.

---

<div class="post-metadata">

**Author:** ![Rozza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rozza/32/22780_2.png) [@Rozza](https://forum.adalo.com/u/Rozza)\
**Post date:** [August 21, 2022, 1:45pm UTC](https://forum.adalo.com/t/components-dont-follow-the-layout-android/30592/8 "2022-08-21T13:45:14Z")

</div>

Great that you found the issue! thanks for sharing.
