SORU
22 AĞUSTOS 2013, PERŞEMBE


Hiçbir kaynak göz önüne alındığında adı '@style/ Theme sonuç bulundu.Holo.Işık.' DarkActionBar;

Platform:4.3

API Seviyesi:18

AndroidManifest.xml:

<uses-sdk
    android:minSdkVersion="18"
    android:targetSdkVersion="18" />

values-v14\styles.xml:

  <resources>

<!--
    Base application theme for API 14 . This theme completely replaces
    AppBaseTheme from BOTH res/values/styles.xml and
    res/values-v11/styles.xml on API 14  devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
</style>

 <style name="CustomActionBarTheme"
       parent="@style/Theme.Holo.Light.DarkActionBar">
    <item name="android:actionBarStyle">@style/MyActionBar</item>
</style>

<style name="MyActionBar"
       parent="@style/Widget.Holo.Light.ActionBar.Solid.Inverse">
    <item name="android:background">@drawable/actionbar_background</item>
</style>

Android bir çaylağım.Çok teşekkür ederim!

CEVAP
22 AĞUSTOS 2013, PERŞEMBE


Bunu yapmak için:

"android:style/Theme.Holo.Light.DarkActionBar"

Stil önce android anahtar kaçırdın. Bu Android için dahili bir tarzı olduğunu gösterir.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Android Police

    Android Poli

    21 NİSAN 2010
  • Keith Anthe

    Keith Anthe

    26 NİSAN 2011
  • NextGenWindows

    NextGenWindo

    8 Kasım 2011