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

Android window backgroundColor:'transparent' disable custom themes

    Details

      Description

      *S*etting index window to backgroundColor:'transparent' somehow disable custom themes use.

      *S*imple project attached using greenstyle theme blog example
      http://www.appcelerator.com/blog/2014/07/android-appcompat-library/

      Reproducing steps:
      1 - Create New project Simple Alloy
      2 - Copy the Platform folder to your project root https://github.com/ricardoalcocer/New_in_Ti_3.3.0/tree/master/AppCompat/abthemes
      3 - Change the tiappxml android tag to:

          <android xmlns:android="http://schemas.android.com/apk/res/android">
              <manifest>
                  <application android:theme="@style/Theme.Greenstyle"/>
                  <uses-sdk android:minSdkVersion="14"/>
                  <uses-sdk android:targetSdkVersion="20"/>
              </manifest>
          </android>
      

      4 - Run a test (tested only on a Nexus 4), theme will aplly action bar will be green, alert message will be light styled.
      5 - Edit index.tss add the property:

      "#index":{
      	backgroundColor:'transparent',	
      }
      

      6 - Run a test (tested only on a Nexus 4), theme will NOT aplly action bar will be BLACK, alert message will be DARK styled.

        Attachments

        1. screenshot-1.jpg
          screenshot-1.jpg
          66 kB
        2. screenshot-2.jpg
          screenshot-2.jpg
          33 kB
        3. ThemeTest.zip
          5.69 MB

          Issue Links

            Activity

              People

              • Assignee:
                ybanev Yordan Banev
                Reporter:
                cleison.ezoom Ezoom Agency
                Reviewer:
                Gary Mathews
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration