SJ64-PS1 Katy的学习笔记

1.安装Java sdk&Android Studio

项目调试方式:用手机通过usb数据线链接进行真机调试

以下是我通过Android Studio做的app内容:

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

tools:context="com.example.android.happybirthday.MainActivity"/>

ImageView

android:src="@drawable/dog"

android:scaleType="centerCrop"

android:layout_width="match_parent"

android:layout_height="match_parent"/>

TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="Happy Birthday!"

android:textSize="36sp"

android:padding="20dp"

android:fontFamily="sans-serif-light"

android:textColor="@android:color/white"/>

TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="From Katy"

android:textSize="36sp"

android:padding="20dp"

android:fontFamily="sans-serif-light"

android:textColor="@android:color/white"

android:layout_alignParentBottom="true"

android:layout_alignParentRight="true"/>


我弄的    哈哈哈。。。

PS1复习了之前学的&制作APP要点

1.Select View

2.Style View

3.Position View

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容