有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!


共 (1) 个答案

  1. # 1 楼答案

    在视图(xml)中,您可以使用:

    android:rotation="15" // that’s means 15 degrees
    

    编程方式:可以使用旋转,例如TextView

    my_textview.rotation = 15F
    
    //Animation:
    my_textview.animate()
            .setDuration(600)
            .rotation(15f)
            .start()