0

I have a simple view with included TextView on RelativeLayout

<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:gravity="center"
    android:textSize="21sp"
    android:rotation="-20"
/>

and it works well on slider view, but when I'm trying to include it to list adapter it has gone.

I tried to wrap this TextView to LinearLayout and set it programmatically, but it hasn't helped.

How can I rotate my view? What is it a sort of problem? Thank for any help.

Gorets
  • 2,434
  • 5
  • 27
  • 45

0 Answers0