安卓UI控件1

来源:互联网 发布:如何更改淘宝店铺名字 编辑:程序博客网 时间:2024/05/05 08:04
<?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:orientation="horizontal"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="bottom">
    <Button
        android:id="@+id/button1"
        android:height="20pt"
        android:width="40pt"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:layout_marginBottom="3dp"
        android:text="入库"
        android:textSize="25sp"/>
    <Button
        android:id="@+id/button2"
        android:height="20pt"
        android:width="40pt"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:layout_marginBottom="3dp"
        android:text="出库"
        android:textSize="25sp"/>
    <Button
        android:id="@+id/button3"
        android:height="20pt"
        android:width="40pt"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:layout_marginBottom="3dp"
        android:text="库存"
        android:textSize="25sp" />
</LinearLayout>
0 0
原创粉丝点击