直播带货源码,Android Studio实现电商引导页
直播带货源码,Android Studio实现电商引导页
打开“activity_splash.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:background="@drawable/splash_bg"
tools:context=".activity.SplashActivity">
<ImageView
android:id="@+id/splash_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="120dp"
android:background="@drawable/splash_logo"/>
<RelativeLayout
android:id="@+id/rl_splash_loading_bg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/splash_logo"
android:layout_centerHorizontal="true"
android:layout_marginTop="50dp"
android:background="@drawable/splash_loading_bg">
<ImageView
android:id="@+id/iv_splash_loading_item"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:src="@drawable/splash_loading_item"/>
</RelativeLayout>
</RelativeLayout>
以上就是直播带货源码,Android Studio实现电商引导页, 更多内容欢迎关注之后的文章