Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14223

Android: Holo theme: Views with borderRadius inside a ScrollView fail to show

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 3.1.0
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      Android 3.1.0GA

      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thomas.neerup@eg.dk Thomas Neerup
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-16736
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration