Vertical (rotated) label in Android

后端 未结 10 1127
礼貌的吻别
礼貌的吻别 2020-11-22 08:04

I need 2 ways of showing vertical label in Android:

  1. Horizontal label turned 90 degrees counterclockwise (letters on the side)
  2. Horizontal label with l
10条回答
  •  深忆病人
    2020-11-22 08:27

    check = (TextView)findViewById(R.id.check);
    check.setRotation(-90);
    

    This worked for me, just fine. As for the vertically going down letters - I dont' know.

提交回复
热议问题