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 8545849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:53:11+00:00 2026-06-11T12:53:11+00:00

I am going to create an Android application that supports multiple API levels. I

  • 0

I am going to create an Android application that supports multiple API levels. I searched the Android Developers website and learned that this is done as follows:

if (android.os.Build.VERSION.SDK_INT >= 11) 
{
  // Use APIs supported by API level 11 (Android 3.0) and up
} 
else 
{
  // Do something different to support older versions
}

The above is used in Java files, but what about XML files? I am using some Android 4.0 tags.

I am an iOS developer, too. In iOS, I always design UIs programmetically. Which is better in Android applications: creating applications programmatically, like I do for iOS applications, or by using XML files.

Android UI design is not good like iOS UI design is.

  • 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-11T12:53:12+00:00Added an answer on June 11, 2026 at 12:53 pm

    You can have different subfolders in your res directory such as layout-v11, layout-v14 in addition to your layout folder. then if you are running, say, API 14, your app will frist try taking needed xml files from layout-v14, only then from layout directory.
    The same applies to other folders under the res directory.

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

Sidebar

Related Questions

I am going to create a typical business application that will be used by
I'm going to create mobile application that works with CommuniGate Pro server. For example,
I am going to implement an application that is gathering data from Android device.
I want to create an Android application that has a MapView at the top
I am going to create a script that sends out an email. I am
I've been assigned to create an RESTful Android application for an existing web service
Possible Duplicates: how to create startup application in android? How to Autostart an Android
So I am developing one application on Android with multiple features. Now I am
I have searched through Google, SO and Android developers but I need some further
i have coded an android application that will update GPS coordinates to the exif

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.