<TextView
android:id=“@+id/textView2”
android:layout_width=“wrap_content”
android:layout_height=“wrap_content”
android:layout_marginStart=“88dp”
android:layout_marginLeft=“88dp”
android:layout_marginTop=“244dp”
android:text=“Python”
android:textSize=“25sp”
app:layout_constraintStart_toStartOf=“parent”
app:layout_constraintTop_toTopOf=“parent” />
</androidx.constraintlayout.widget.ConstraintLayout>
源代码
<?xml version="1.0" encoding="utf-8"?><item
android:drawable=“@drawable/m1”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m2”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m3”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m4”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m5”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m6”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m7”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m8”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m9”
android:durati
on=“200”
/>
<item
android:drawable=“@drawable/m10”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m11”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m12”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m13”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m14”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m15”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m16”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m17”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m18”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m19”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m20”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m21”
android:duration=“200”
/>
<item
android:drawable=“@drawable/m22”
android:duration=“200”
/>
package com.example.application01;
import androidx.appcompat.app.AppCompatActivity;
import android.graphics.drawable.AnimationDrawable;
import android.os.Bundle;
import android.widget.ImageView;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
最后
小编这些年深知大多数初中级Android工程师,想要提升自己,往往是自己摸索成长,自己不成体系的自学效果低效漫长且无助。
因此我收集整理了一份《2024年Android移动开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人
都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
资料⬅专栏获取
tentView(R.layout.activity_main);
最后
小编这些年深知大多数初中级Android工程师,想要提升自己,往往是自己摸索成长,自己不成体系的自学效果低效漫长且无助。
因此我收集整理了一份《2024年Android移动开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友。
[外链图片转存中…(img-kLbw0cG1-1718820691268)]
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人
都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
资料⬅专栏获取