Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2144] Android: ScrollView bottom padding property

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusReopened
ResolutionUnresolved
Affected Version/sRelease 1.8.2
Fix Version/sn/a
ComponentsAndroid
Labelscore
ReporterRalf Pfeiffer
AssigneeIngo Muschenetz
Created2011-04-15T03:11:46.000+0000
Updated2015-04-13T20:17:23.000+0000

Description

With a ScrollView, when the contentHeight is set to 'auto', the very bottom of the scrolling contents ends very abruptly at the bottom edge of the last view.

My workaround currently is to add an extra (otherwise superfluous) transparent view after the final view.

It would be useful to have a bottom padding property for this situation.

Note: this ticket was raised with DonThorp's approval.

Attachments

FileDateSize
1.8.2 scrollview basic.png2012-06-06T12:31:21.000+000016757
2.1.0 scrollview basic (no change).png2012-06-06T12:31:21.000+000016913

Comments

  1. Max Stepanov 2012-05-30

    Cannot reproduce with KitchenSink:BaseUI/Views/Scroll Views/Basic on 2.1.0 master builds (05/30/12).
  2. Neeraj Gupta 2012-05-30

    Fixed as part of composite layout enhancements.
  3. Dustin Hyde 2012-06-06

    Reopening Issue. There is no change in behavior from 1.8.2 to 2.1. There are no padding properties in the documentation for 2.1. Attaching screenshots of this behavior for 1.8.2 and 2.1. SDK: 2.1.0.v20120606105255 Studio: 2.1.0.201206051612 Android: V8 Devices Tested: Revolution 2.3.6 KitchenSink Version: 2.1 KitchenSink Test: Base UI > Views > Scroll Views > Basic Expected Behavior: There should be padding at the bottom of the scrollview or there should be a bottomPadding property in the documentation/API. Actual Behavior: There is no padding property, and there is an abrupt end to the bottom of the scrollview.

JSON Source