I have a requirement to show an EditText at 45 degree angled to horizontal axis.So I used this code to do this
EditText editText = (EditText) findViewById(R.id.edit_text);
editText.setText("Hello");
Animation anim = new RotateAnimation(0.0f, -45.0f, 190, 90);
anim.setFillAfter(true);
editText.setAnimation(anim);
It also shows the EditText as per my requirement. But problem arises when I started typing some text in it.
As you can see the screen shot, some places of the edittext are not showing the text and at the middle portion of the edittext is only displaying the text.
The Hello which is in the left corner of the edittext is just becase of, I set that using setText()
Please help me how to create an edittext obliquely so that I can type properly in it.