Android 线性布局 计算器
发布时间:2020-12-15 07:17:31 所属栏目:Java 来源:网络整理
导读:? xml version="1.0" encoding="utf-8" ? LinearLayout xmlns:android ="http://schemas.android.com/apk/res/android" android:layout_width ="match_parent" android:layout_height android:background ="#FFFFFF" android:orientation ="vertical" Linear
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height android:background="#FFFFFF" android:orientation="vertical" > LinearLayout android:layout_width android:layout_height="wrap_content" android:orientation="horizontal" > EditText android:id="@+id/data" android:layout_width android:layout_height="wrap_content" /> </LinearLayoutButton android:layout_weight="1" android:text="mc" /> ="m+" ="m-" ="mr" ="C" ="+/-" ="/" ="*" ="7" ="8" ="9" ="-" ="4" ="5" ="6" ="+" LinearLayout android:orientation> LinearLayout android:layout_height android:orientation> Button android:layout_height android:layout_weight android:text="1" /> ="2" ="3" /> ="0" ="2"="." > Button android:text="=" /> > > > (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |