Arithmetic Android version Ver.mk2

Source: Internet
Author: User

Made a slight change .... Very small ... But the beauty point is ... That's----plus background!

Part of the code after the change:

1<linearlayout xmlns:android= "Http://schemas.android.com/apk/res/android"2Android:layout_width= "Fill_parent"3android:layout_height= "Fill_parent"4android:orientation= "Vertical"5android:background= "@drawable/a1" >6 7<EditText8Android:id= "@+id/result"9Android:layout_width= "Match_parent"Tenandroid:layout_height= "Wrap_content" OneAndroid:cursorvisible= "false" AAndroid:digits= "1234567890." -Android:ems= "10" -Android:focusable= "false" theandroid:numeric= "Decimal" -Android:singleline= "true"/> -  -<Tablelayout +Android:layout_width= "Fill_parent" -android:layout_height= "Wrap_content" +android:stretchcolumns= "0,1,2,3" > A  at<TableRow> -  -<Button -Android:id= "@+id/btn_1" -android:text= "7"/> -  in<Button -Android:id= "@+id/btn_2" toandroid:text= "8"/> +  -<Button theAndroid:id= "@+id/btn_3" *android:text= "9"/> $</TableRow>Panax Notoginseng  -<TableRow> the  +<Button AAndroid:id= "@+id/btn_4" theandroid:text= "4"/> +  -<Button $Android:id= "@+id/btn_5" $android:text= "5"/> -  -<Button theAndroid:id= "@+id/btn_6" -android:text= "6"/>Wuyi</TableRow> the  -<TableRow> Wu  -<Button AboutAndroid:id= "@+id/btn_7" $android:text= "1"/> -  -<Button -Android:id= "@+id/btn_8" Aandroid:text= "2"/> +  the<Button -Android:id= "@+id/btn_9" $android:text= "3"/> the</TableRow> the  the<TableRow> the  -<Button inAndroid:id= "@+id/btn_dot" theandroid:text= "."/> the  About<Button theAndroid:id= "@+id/btn_0" theandroid:text= "0"/> the  +<Button -Android:id= "@+id/btn_eq" theandroid:text= "OK"/>Bayi</TableRow> the</TableLayout> the  -<Button -Android:id= "@+id/btn_clear" theAndroid:layout_width= "Fill_parent" theandroid:layout_height= "Wrap_content" theandroid:text= "Clear"/> the  -<EditText theAndroid:id= "@+id/xs" theAndroid:layout_width= "Wrap_content" theandroid:layout_height= "Wrap_content"94Android:focusable= "false" theAndroid:text= "Welcome to the four operator!" > the  the<requestfocus/>98</EditText> About  -<Button101Android:id= "@+id/start"102Android:layout_width= "Wrap_content"103android:layout_height= "Wrap_content"104android:text= "Start"/> the 106</LinearLayout>
Fragment_main

By the way attach user diagram!

Arithmetic Android version Ver.mk2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.