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

  • Home
  • SEARCH
  • 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 6601799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:48:00+00:00 2026-05-25T18:48:00+00:00

I have an app that I am trying to make more tablet compatible. In

  • 0

I have an app that I am trying to make more tablet compatible. In the phone version I have the theme set to no title bar which I thinks looks the best on the phones. Only problem is in Android 3.0 the menu buttons are moved to the title bar(action bar). I was wondering if it is possible to have it have a title bar on the tablet but still have it be no title bar on the phones. Any help would be great.

Thanks

  • 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-05-25T18:48:01+00:00Added an answer on May 25, 2026 at 6:48 pm

    There’s a method for detecting a tablet in the Google I/O app source which looks like this:

    public class UIUtils {
    
        public static boolean isHoneycomb() {
            // Can use static final constants like HONEYCOMB, declared in later versions
            // of the OS since they are inlined at compile time. This is guaranteed behavior.
            return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB;
        }
    
        public static boolean isHoneycombTablet(Context context) {
            // Can use static final constants like HONEYCOMB, declared in later versions
            // of the OS since they are inlined at compile time. This is guaranteed behavior.
            return isHoneycomb() && (context.getResources().getConfiguration().screenLayout
                    & Configuration.SCREENLAYOUT_SIZE_MASK)
                    == Configuration.SCREENLAYOUT_SIZE_XLARGE;
        }
    }
    

    In your Activity you can simply call

    if (!UIUtils.isHoneycombTablet(this)) {
        requestWindowFeature(Window.FEATURE_NO_TITLE);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to make my app more tablet-friendly, and so I'm trying to
I have a WinForms app that I am trying to make full screen (somewhat
I am trying to make my iPhone app more robust, by ensuring that it
I have small web app that generate PDF files as a report. I'm trying
I have a legacy Java (not my native language) app that I'm trying to
I have a windows mobile app (mymobiler) that i am trying to install and
So I'm trying to make a grails app that hooks into an existing DB
I am trying to make a Facebook Connect web app more mobile friendly. I
Iam trying to make my Activity List more effective. I have an Activity List
I was wondering : I'm trying to make an app that as a Listview,

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.