Android的页面设计
作者:
本次任务完成时间:
开发工具与关键技术:
- 完成模块功能:功能实现
用LinearLayout布局,根据项目需要布局,orientation="vertical"把项目纵向布局,设置其宽度、高度等。
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@color/colorWhite">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="30dp"
android:orientation="horizontal"
android:background="@color/colorPrimary">
<TextView
android:layout_width="wrap_content"
android:layout_height="20dp"