Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>But nothing is working. How can I make ActionBarActivity(there is no new variants) </p> </blockquote> <p>This document is quite dense if English is not your first language. So these are the key steps from the "Adding libraries with resources" section of <a href="http://developer.android.com/tools/support-library/setup.html" rel="nofollow">http://developer.android.com/tools/support-library/setup.html</a></p> <p>1) Add support library WITH RESOURCES (file ...import ... android ... existing android code into workspace)</p> <p>2) Check it is defined as a library project (properties .. android ... isLibrary checked), then REFERENCE it in your application project (properties .. android ... reference ... add) </p> <p>3) Then in the library project - right clicked on each of the jar files in libs and do (build path ... add to build path)</p> <p>4) Then FOR THE LIBRARY PROJECT do right click ...( build path ... configure build path ... order and export ...) check both of these libraries and unchecked android dependencies</p> <p>At this point, your android-support-v7-appcompat library project should contain no errors. You should also be able to use ActionBarActivity in your project and things like android:theme="@style/Theme.AppCompat.Light" in your manifest. </p> <blockquote> <p>I used to add in manifest to activity, tried to add it to the style.xml</p> </blockquote> <p>You should not now need to add style.xml to your project - it will be picked up from the referenced library project. I suggest you confirm all this is working before you proceed to <a href="http://developer.android.com/guide/topics/ui/actionbar.html" rel="nofollow">http://developer.android.com/guide/topics/ui/actionbar.html</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload