一、程序运行效果图
二、代码实现
1、main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:版权声明:本文为caihongshijie6原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。