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

Android: Custom theme not applying when background color is transparent

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 6.2.2
    • Fix Version/s: Release 7.0.1
    • Component/s: Android
    • Labels:
    • Environment:
    • Story Points:
      3
    • Sprint:
      2017 Sprint 22 SDK

      Description

      Hi,
      Custom theme not applying when the background color is transparent.Testing in android with the latest SDK and found that customs theme properties are not getting applied.

      Attached the project (AppcleratorBug) with custom_theme.xml having the below properties.
      android:textAllCaps
      android:windowActionBar

      <?xml version="1.0" encoding="utf-8"?>
      <resources>
          <style name="Theme.NoActionBar" parent="@style/Theme.AppCompat">
              <item name="android:textAllCaps">false</item>
              <item name="android:windowActionBar">false</item>
              <item name="android:windowNoTitle">true</item>
      		<!-- AppCompat Compatibility -->
      		<item name="windowActionBar">false</item>
      		<item name="windowNoTitle">true</item>
          </style>
      </resources> 
      

      In the tss when we apply the background color 'transparent' the theme properties are not getting applied.

      "#win" : {
      	backgroundColor : "red" // worked
              backgroundColor : "#00FFFFFF" // not worked 
       
      }
      

      Tested for all other colors and works fine.

        Attachments

        1. AppceleratorBug.zip
          8.95 MB
        2. red.jpg
          red.jpg
          45 kB
        3. transparent.jpg
          transparent.jpg
          49 kB

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                aislam Aminul Islam
                Reviewer:
                Yordan Banev
                Tester:
                Lokesh Choudhary
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code