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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:18:27+00:00 2026-05-31T19:18:27+00:00

I use class from How to support Arabic text in Android? to show Arabic

  • 0

I use class from How to support Arabic text in Android? to show Arabic text. In Android 2.1 – 2.3 text located in the left side, so I use android:gravity=”right”, but in Android 3.0+ Arabic text has automatically alignment in right side and if I use android:gravity=”right” in will be alignment in the left side. How can I make the text to be aligned with the same in different Android versions?

  • 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-31T19:18:28+00:00Added an answer on May 31, 2026 at 7:18 pm

    You can create different versions of the layouts for different API versions.

    As you can read here: http://developer.android.com/guide/topics/resources/providing-resources.html you can have say the normal folder (/res/layout/) with the layout for old devices and then another one for the ones that support it: /res/layout-11/

    The layout inside layout-v11 will only be applied on devices with android 3.0 and over.

    Hope it helps.
    (UPD: API level changed to 11)

    UPDATE

    On Android 4.2 This is a native feature 🙂

    http://android-developers.blogspot.com.es/2013/03/native-rtl-support-in-android-42.html

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

Sidebar

Related Questions

I am trying to use a class from a C# assembly in vb.net. The
I'm trying to use the Server class from Cassini to include a basic web
If I import and use a single class from another package, will it include
I use Jochen Kalmbach's StackWalker class from CodeProject , to produce a stacktrace when
I'm trying to use: // this is a BreakHistory class from the ADO.NET Data
I have to use a class/assembly made in C# .NET from native C++ application.
I'm trying to use the WebClient class to download a html file from another
I want to use the values of JTextFields from one class in another class
I'm trying to use reflection to get a property from a class. Here is
I'm tring to use the NSURL class's parameterString message to return the string from

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.