Android主界面

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/huaxue2"
    android:orientation="vertical"
    tools:context=".MainActivity"
    >
    <TextView
        android:id="@+id/shouye_webroom"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="195dp"
        android:layout_marginTop="65dp"
        android:text="                        "

        android:textSize="30sp"
        android:textColor="#000000"
        />
    <TextView
        android:id="@+id/shouye_book"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="195dp"
        android:layout_marginTop="45dp"
        android:text="                       "
        android:textSize="30sp"
        android:textColor="#000000"
        />
    <TextView
        android:id="@+id/shouye_sc"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="195dp"
        android:layout_marginTop="45dp"
        android:text="                           "
        android:textSize="30sp"
        android:textColor="#000000"
        />
    <TextView
        android:id="@+id/shouye_our"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="235dp"
        android:layout_marginTop="235dp"
        android:text="             "

        android:textSize="30sp"
        android:textColor="#000000"
        />


</LinearLayout>

  包括界面的绘制,以及按键格式

posted @ 2022-06-08 17:48  橙大力  阅读(137)  评论(0)    收藏  举报