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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:58:57+00:00 2026-06-06T16:58:57+00:00

I have an EditText, which generally shows parallel to the screen X-axis. I want

  • 0

I have an EditText, which generally shows parallel to the screen X-axis. I want to show it obliquely (around 45 degree to horizontal axis). Is it possible to do this in Android. Please guide me in a direction so that I can try for it.

After getting the two links in the answer by pawelzeiba, I proceed a little bit in solving this, but stuck again so I put another question on this. here is the link.

As Gunnar Karisson said, there is a setRotation() method in View class introduced in Android 3.0, but I cannot use it as my application should work fro Android 2.1 version.

So please help me to solve this.

  • 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-06T16:58:58+00:00Added an answer on June 6, 2026 at 4:58 pm

    After a long R & D, I succeed to solve this by creating my own custom edittext, which works perfectly as per my requirement.

    public class CustomEditText extends EditText {
    
    private Animation rotateAnim;
    public CustomEditText(Context context) {
            super(context);
    }
    
    public CustomEditText(Context context, AttributeSet attrs){
        super(context, attrs);
    }
    
    private void createAnim(Canvas canvas) {
            rotateAnim = new RotateAnimation(0, -45, 250, 50);
            rotateAnim.setRepeatCount(Animation.INFINITE);
            startAnimation(rotateAnim);
    }
    
    @Override
    protected void onDraw(Canvas canvas) {
            super.onDraw(canvas);
            // creates the animation the first time
            if (rotateAnim == null) {
                    createAnim(canvas);
            }
    
    }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a edittext in which some text are selected . I want to
Is it possible to have an EditText that allows multilines and doesn't show the
I have list of products which have EditText in TableLayout . I want Keyboard
I have an EditText in which I want only integer values to be inserted.
hi i want to create a a layout which must have an EditText and
I have an EditText that shows time. After user clicks the EditText I want
I have a screen which have editText and a button, now when we click
I have an editText field for which I want check that it meets with
i have a EditText in android in which i want the user to enter
I have a numberDecimal EditText which I want to validate using a regular expression.

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.