来自移动应用开发的课程实验1,
要求设计出这样一个类似于如下的界面,从什么都不懂也学到了一点东西,主要是Android的布局和程序分开处理,有利于巴拉巴拉贝拉。。。
xml代码如下:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schema.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context="com.example.administrator.myapplication.MainActivity">
<TableLayout
android:layout_width="fill_parent"