`
yangwei0915
  • 浏览: 460163 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

android的小问题:You need to use a Theme.AppCompat theme

 
阅读更多

android的一个小问题:

 

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

 

当在AndroidManifest.xml文件的application的节点设置了属性:

android:theme="@android:style/Theme.NoTitleBar

而Activity继承了ActionBarActivity就回出现上述错误,解决的办法就是让Activity去继承Activity而不是ActionBarActivity

分享到:
评论

相关推荐

    jQwidgets 3.6.0

    In general you need to use files from this directory only. Files list & description: Files required in all projects using the SDK jqxcore.js: Core jQWidgets framework Stylesheet files. Include at ...

    可以滑动页面的项目

    <style name="ActivityTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="android:windowIsTranslucent">true If the device is greater than the version of android L, you can use the ...

    BuddyPress Theme Development

    It will then walk you through the various theme options from theme compatibility through to child themes and creating a custom theme. You will also learn how to create your own theme from conception...

    Digging into WordPress.pdf

    2.4.6 You Don’t Need to Use Them At All ...............................................34 2.4.7 Custom Taxonomies ..................................................................34 2.5.1 Users and ...

    Preproduction.Blueprint.How.to.Plan.Game.Environments.and.Level.Designs.2nd.Ed

    All you need is a solid plan of what your environment is going to look and play like prior to creating it. "Preproduction Blueprint" is the planning system and workbook. These are the same steps I ...

    Ionic.2.Cookbook.2nd.Edition.epub

    You'll work with Cordova to support native functionalities on both iOS and Android. From there, you'll get to grips with using the default themes for each platform as well as customizing your own. ...

    WordPress 2.8 Theme Design.pdf

    General template tags—the least you need to know 173 Conditional tags 179 This material is copyright and is licensed for the sole use by Gay Anschultz on 5th December 2009 21844 Grovepark Dr., , ...

    gtk-engines-

    If you need to install this package in a different prefix from GTK+, then you'll have to set your GTK_PATH environment variable to point to the installed prefix. For instance, if this package was ...

    drupal 6.12

    uploads, you may need to use the following command from a shell or system prompt (while in the installation directory): chmod o+w uploads * Access the file system path settings in Drupal by ...

    BCGControlBarPro.v12.00

    Usually, you'll need to call the following class methods to create your backstage view: AddCommand: add a single command button such as "Save", "Save As" or "Exit". AddView: add a button with ...

    Extending Bootstrap PDF

    Chapter 2, Applying a Custom Theme, shows you how to create your first Bootstrap project and apply a Bootswatch theme to it. Chapter 3, Creating Your Own Build, uses the customize tool from the ...

    flash标签云 3D效果 PHP插件 by weefselkweekje

    There's a text field in the root of the movie that you can use to embed more characters. If you change to another font, you'll need to edit the Tag class as well. More info [here]...

    Drupal.8.for.Absolute.Beginners.1430264667

    You will then use Drush to apply a theme to Drupal, customizing everything to your liking, before publishing your work to the world. The book also covers some more advanced topics that beginners ...

    The Definitive Guide to Shopify Themes

    An increasing number of businesses use Shopify and all of them need a well-designed theme to turn visitors into customers. Designers and developers that can deliver such themes create value for their...

    英文版 web album maker 2.2

    Web Album Maker is a web photo album generator that creates online photo slideshow from your digital photos using unique and highly professional Flash or HTML theme templates. When you are finished, ...

    helix3_template_j3_v2.5.6.zip

    Perfect to use as-is or as a blank, genesis, starter theme for development. It is designed so that you can work fast, using current technologies and work-flows, without being bogged down by the ...

    Android代码-MultipleTheme

    This framework of Android app support multiple theme(such as day/night mode) and needn’t finish current application or current activity. 第一步:在项目的attr.xml声明自定义属性(各种模式都会用到的...

    Windows MicroXP 0.82[Microsoft Windows XP SP3原版加工成的微型XP系统,=99.9%个完整XP]

    There you can double click the service you need to use and even a novice user can now read the service descriptions and decide what to enable and what to keep disabled. For example if you have a Dial...

    gatsby-blog:https

    gatsby-blog Gatsby starter for creating a blog. Have a look at first. ...After you deploy successfully once, you may use deploy.sh to help you. Maybe you need change sth in deploy.sh. ================

    WPTools.v6.29.1.Pro

    - change in WPIOHTML to use default charattr of paragraph is a paragraph is empty 9.2.2012 - WPTools 6.25.2 * new 2-pass painting triggers CustomPaint event only on second loop (when the text is ...

Global site tag (gtag.js) - Google Analytics