[TIMOB-14223] Android: Holo theme: Views with borderRadius inside a ScrollView fail to show
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 3.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | ScrollView, android, borderRadius |
Reporter | Thomas Neerup |
Assignee | Unknown |
Created | 2013-06-10T10:27:59.000+0000 |
Updated | 2018-02-28T20:03:41.000+0000 |
Description
*Problem*
When a view with borderRadius=1 is put inside a scrollView and the height exceeds the height of the device, it fails to show on the screen.
*Steps to reproduce*
1. Create a new Default Alloy Project
2. Drop the attached index.xml
3. Change tiapp.xml
3.1 Change defaultunit to dip:
<property name="ti.ui.defaultunit" type="string">dip</property>
3.2 Add:
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest>
<supports-screens android:anyDensity="true"/>
<uses-sdk android:targetSdkVersion="17"/>
<application
android:theme="@android:style/Theme.Holo.Light">
</application>
</manifest>
</android>
4. Run the Project and see the the Green view is missing. (The Bug)
5. Change borderRadius from 1 to 0
6. Run the Project again and see the Green view is showing as i should
In the index.xml the view is set to 1000. If the device has a larger screen, just increase the height so it is larger than the screen.
Attachments
File | Date | Size |
---|---|---|
index.xml | 2013-06-10T10:27:59.000+0000 | 304 |
Cannot reproduce on Samsung Galaxy S2 2.3.6, or 4.1.2 x86 emulator with Ti SDK 3.0.2 GA, 3.1 GA 3.1 RC or 3.2 CI. The green view is always there with borderRadius set to 1 or 0. Please provide your Android version, and maybe a screenshot.
So sorry... need the following in
for the error to appear...