java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. titanium

后端 未结 7 1757
北荒
北荒 2021-01-06 11:35

I\'m creating a custom theme for my Titanium application using this theme generator. But when I run my application it\'s crashing and my log says that I need appCompac

7条回答
  •  被撕碎了的回忆
    2021-01-06 12:00

    write the code in style-v11 folder

     name="AppBaseTheme" parent="Theme.AppCompat.Light"
    

    and in styles-v14 folder

     name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar"
    

提交回复
热议问题