0
我有一個textView
作爲'+'標誌在水平佈局的末尾。當我按textView我需要加號符號在同一軸上旋轉。我有這個rotate.xml
文件。Android中的旋轉+符號文本查看
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="2000"
android:fromDegrees="0"
android:pivotX="0%"
android:pivotY="0%"
android:toDegrees="360"
android:toYScale="0.0"
android:toXScale="0.0"/>
但是,這使得我的優點得到了解決。幫助我在同一個軸上旋轉我的textView。
它的工作....我犯了一個錯誤,通過添加填充到我的看法...現在它的layout_margin ...它的作品完美... – Simon