Il giorno sabato 20 febbraio 2016 12:21:06 UTC+1, Christian Cortese ha 
scritto:
>
>
>
> Il giorno sabato 20 febbraio 2016 11:49:22 UTC+1, Christian Cortese ha 
> scritto:
>>
>>
>>
>> Il giorno giovedì 18 febbraio 2016 23:49:47 UTC+1, TreKing ha scritto:
>>>
>>>
>>> On Thu, Feb 18, 2016 at 6:10 AM, Christian Cortese <
>>> christian....@gmail.com> wrote:
>>>
>>>> but i have a problem...on kitkat it works well, in lollipop i can't see 
>>>> the menu toolbar and when i click on a contact the app crashes with a 
>>>> nullpointerexception
>>>
>>>
>>> Sounds like the action bar is disabled on Lollipop. Check your app 
>>> theme. You might have something in values-21/styles.xml that disables the 
>>> default action bar in order to use a Toolbar instead.
>>>
>>>
>>> -------------------------------------------------------------------------------------------------
>>> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago 
>>> transit tracking app for Android-powered devices
>>>
>>  
>>
>>
>> how can i get the code of styles.xml in values-21??  
>> in android studio i have only values folder the values 21 folder dosen't 
>> exists
>>
>

i've find the values 21 this is what contains 

<?xml version="1.0" encoding="utf-8"?>
<resources>

    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <item name="android:windowContentTransitions">true</item>
        <item name="android:windowAllowEnterTransitionOverlap">true</item>
        <item name="android:windowAllowReturnTransitionOverlap">true</item>
        <item 
name="android:windowSharedElementEnterTransition">@android:transition/move</item>
        <item 
name="android:windowSharedElementExitTransition">@android:transition/move</item>
    </style>

    <style name="AppTheme.Dark" parent="Theme.AppCompat.NoActionBar">
        <item name="android:windowDrawsSystemBarBackgrounds">true</item>
        <item name="android:statusBarColor">@color/primary_darker</item>

        <item name="android:windowContentTransitions">true</item>
        <item name="android:windowAllowEnterTransitionOverlap">true</item>
        <item name="android:windowAllowReturnTransitionOverlap">true</item>
        <item 
name="android:windowSharedElementEnterTransition">@android:transition/move</item>
        <item 
name="android:windowSharedElementExitTransition">@android:transition/move</item>

        <item name="colorPrimary">@color/primary</item>
        <item name="colorPrimaryDark">@color/primary_dark</item>
        <item name="colorAccent">@color/accent</item>

        <item name="android:windowBackground">@color/primary</item>

        <item name="colorControlNormal">@color/iron</item>
        <item name="colorControlActivated">@color/white</item>
        <item name="colorControlHighlight">@color/white</item>
        <item name="android:textColorHint">@color/iron</item>

        <item name="colorButtonNormal">@color/primary_darker</item>
        <item name="android:colorButtonNormal">@color/primary_darker</item>
    </style>

</resources>

 

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/1ba0fd6a-8af8-42e7-84b8-e9f5b1bf126c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to