Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-6499

Android Material Theme not working in SDK 9

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: None
    • Component/s: Titanium SDK & CLI
    • Labels:
    • Environment:

      SDK 9

      Description

      Material them and custom button not working in SDK 9. Worked in 8.2.x
      With the mytheme.xml, the buttons are supposed to be not with the standard grey rectangle and text should not in caps.

      <resources>
      	<style name="materialTheme" parent="@style/Theme.AppCompat">
      		 <item name="colorPrimary">#033047</item>
      		 <item name="colorPrimaryDark">#4c6a7a</item>
      		 <item name="colorAccent">#4d88a3</item>
      		 <item name="colorControlNormal">#757575</item>
      		 <item name="colorControlActivated">#FF6E40</item>
      		 <item name="colorControlHighlight">#4d88a3</item>
      		 <item name="colorSwitchThumbNormal">#BDBDBD</item>
      		 <item name="android:colorButtonNormal">#0D0C05</item>
      		 <item name="android:colorEdgeEffect">#4d88a3</item>
      		 <item name="android:buttonStyle">@style/customButton</item>
      	</style>
      	<style name="customButton" parent="Widget.AppCompat.Button">
      		<item name="android:textAllCaps">false</item>
      	</style>
      </resources>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amukherjee Abir Mukherjee
                Reporter:
                tlau Tony Lau
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration