Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8979767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:55:19+00:00 2026-06-15T19:55:19+00:00

What is the action bar/Viewpager used for and can it be used for navigating

  • 0

What is the action bar/Viewpager used for and can it be used for navigating through pages?

If it is used for navigating through screens how can i disable swiping through sections in my code so navigation can only be done by clicking on the section buttons within the action bar?

My Java code for the action bar

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:55:20+00:00Added an answer on June 15, 2026 at 7:55 pm

    The primary goals of the action bar are to:

    Provide a dedicated space for identifying the application brand and
    user location. This is accomplished with the app icon or logo on the
    left side and the activity title. You might choose to remove the
    activity title, however, if the current view is identified by a
    navigation label, such as the currently selected tab. Provide
    consistent navigation and view refinement across different
    applications. The action bar provides built-in tab navigation for
    switching between fragments. It also offers a drop-down list you can
    use as an alternative navigation mode or to refine the current view
    (such as to sort a list by different criteria). Make key actions for
    the activity (such as “search”, “create”, “share”, etc.) prominent and
    accessible to the user in a predictable way. You can provide instant
    access to key user actions by placing items from the options menu
    directly in the action bar, as “action items.” Action items can also
    provide an “action view,” which provides an embedded widget for even
    more immediate action behaviors. Menu items that are not promoted to
    an action item are available in the overflow menu, revealed by either
    the device Menu button (when available) or by an “overflow menu”
    button in the action bar (when the device does not include a Menu
    button).

    From http://developer.android.com/guide/topics/ui/actionbar.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i can't set title to Action bar sherlock. Here is my code: public void
I'm adding navigation tabs to an action bar using the sample code provided here:
Whilst I can set Action Bar icons in my Java code, I'm unable to
I can't get the Action Bar to display my action items. They all show
I use Sherlock action bar in my application. I used ifRoom|withText feature in my
I have an action bar with a menuitem. How can I hide/show that menu
Is there action bar for Android Level 7 or something else that I can
The app has an Action Bar, the action bar has several navigation tabs on
I am using viewpager with action-bar tab and I am have two fragment in
The action bar can be shown even on pre-honeycomb devices, as shown via the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.