从今天开始根据之前学习的android的基础知识,实战一下,实现一个简单功能的android手机卫士本文地址:http://www.cnblogs.com/wuyudong/p/5899283.html,转载请注明源地址。手机卫士的主要功能如下:手机页面的splash页面初步如下 ...
从今天开始根据之前学习的android的基础知识,实战一下,实现一个简单功能的android手机卫士
本文地址:http://www.cnblogs.com/wuyudong/p/5899283.html,转载请注明源地址。
手机卫士的主要功能如下:
手机页面的splash页面初步如下:
splash布局
相应的代码在布局文件activity_splash.
<RelativeLayout ="http://schemas.android.com/apk/res/android" ="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/launcher_bg" tools:context=".SplashActivity" > <TextView android:id="@+id/tv_version_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:shadowColor="#f00" android:shadowDx="1" android:shadowDy="1" android:shadowRadius="1" android:text="版本名" android:textColor="#fff" android:textSize="16sp" /> <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_below="@+id/tv_version_name" /></RelativeLayout>
原标题:Android 项目实战
关键词:Android
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。