Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I presume you have achieved an <a href="http://developer.android.com/design/patterns/actionbar.html#considerations-split-action-bars" rel="nofollow">ActionBar with "tabs+swipe" navigation</a> on your API 14+ device. the whole thing can be adapted to pre-Honeycomb devices, since I just happened to have made a demo for that myself.</p> <p>The most easy way is, basically, you just have to:</p> <ul> <li>extend/import <strong>com.actionbarsherlock</strong> classes whevever possible!</li> <li>import from <strong>android.support.v4</strong> (instead from the usual <strong>android</strong>) package, wherever possible!</li> </ul> <p>However, before you can do those, you would have to have to first:</p> <ul> <li>known how to use the <a href="http://developer.android.com/training/basics/fragments/support-lib.html" rel="nofollow">Android Support Library</a>, seemingly a.k.a. the Compatibility Library.</li> <li>know how to get started using <a href="http://actionbarsherlock.com/faq.html" rel="nofollow">ActionBarSherlock</a>.</li> </ul> <p>For example (MainActivity.java):</p> <pre><code>import com.actionbarsherlock.app.ActionBar.Tab; import com.actionbarsherlock.app.SherlockFragmentActivity; import com.actionbarsherlock.app.ActionBar; import com.actionbarsherlock.view.Menu; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import android.support.v4.app.FragmentTransaction; import android.support.v4.view.ViewPager; public class MainActivity extends SherlockFragmentActivity implements ActionBar.TabListener {/*...*/} </code></pre>
    singulars
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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