Android: Library android-support-v7-appcompat



  • All implemented by this instruction: http://habrahabr.ru/post/189678/

    In style.xml write this:

        <resources>
    
    &lt;style name="AppBaseTheme" parent=" /users/10804/styles </a>/Theme.AppCompat.Light"&gt;&lt;/style&gt;
    &lt;!-- Application theme. --&gt;
    &lt;style name="AppTheme" parent="AppBaseTheme"&gt;
        &lt;!-- All customizations that are NOT specific to a particular API-level can go here. --&gt;
    &lt;/style&gt;
    

    </resources>

    Mistake:

    error: Error retrieving parent for item: No resource found that matches the given name ' /users/10804/styles /Theme.AppCompat.Light'.

    I'm going this way:
    Properties - state Android - constituent library grad shows that the library project is not connected. I'm adding, retaining, collecting the draft status result the same.

    What else could there be?



  • Add. values-v21 folder in RES and into it styles.xml c code

    <style name="Theme" parent="android:Theme.Material.Light" >
    

    And the others. values- They're all standard.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2