feat(android): listView padding and clipping#14229
Conversation
|
iOS itself handles it using the window safe-area paddings. It'd be cool if Titanium does it for Android also when |
|
I think this is just a workaround for the real edge-to-edge design as we need to implement that for it (had no success yet). |
|
@m1ga I believe a better approach would be to add support for padding in all Titanium views (in base TiUIView class), with the SDK further handles it accordingly for scrollable UI like ListView/ScrollView/TableView. Though it's possible even now by using the |
Allows the user to add a padding e.g. top/bottom and disable the clipping so it will move outside of the top.
Example:
Here the listview will start behind the camera/statusbar because it is a no_limits window. With the padding it is pushed down but when you scroll it will still scoll up all the way and not just cut off below the camera:
Bildschirmaufnahme_20250523_105546.webm