I believe that every project will have user feedback suggestions and other functions, the implementation of a lot of methods, the following is my way to achieve, for everyone to communicate. First look at the concrete interface, three fields. Name, the mailbox is optional, can be empty, the suggestion cannot be empty. If you need, you can leave a message for me.
The following is a layout code that uses a <include layout= "@layout/uphead" > is to introduce another layout file into this layout.
<?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=" match_parent "android:orientation=" Vertica L "android:background=" @color/bg_gray "> <include layout=" @layout/uphead "/> <!--Name Lab El--> <textview android:layout_width= "fill_parent" android:layout_height= "Wrap_content" Android : text= "name (optional)" android:paddingleft= "10dip" android:paddingright= "10dip" android:textcolor= "@color
Coffee "android:paddingtop=" 10dip "android:textsize=" 12sp "/> <!--Input Name--> <edittext android:id= "@+id/inputname" android:layout_width= fill_parent "android:layout_height=" Wrap_c Ontent "android:layout_margin=" 5dip "android:layout_marginbottom=" 15dip "android:singleline=" true " /> <!--PriceLabel--> <textview android:layout_width= "fill_parent" android:layout_height= "Wrap_content" Andr oid:text= "Mailbox (optional)" android:paddingleft= "10dip" android:paddingright= "10dip" android:textcolor= "@col
Or/coffee "android:paddingtop=" 10dip "android:textsize=" 12sp "/> <!--Input Price--> <edittext android:id= "@+id/inputemail" android:layout_width= "Fill_parent" W Rap_content "android:layout_margin=" 5dip "android:layout_marginbottom=" 15dip "android:singleline=" True "/> <!--Description Label--> <textview android:layout_width=" Fill_parent "Andro id:layout_height= "Wrap_content" android:text= "recommended (required)" android:paddingleft= "10dip" Android:paddingr ight= "10dip" android:paddingtop= "10dip" android:textcolor= "@color/coffee" android:textsize= "12SP"/ > <!--Input Description--> <edittext android:id= "@+id/inputdesc" android:layout_width= "Fill_parent"
android:layout_height= "Wrap_content" android:layout_margin= "5dip" android:layout_marginbottom= "15dip" Android:lines= "4" android:gravity= "Top"/> <!--button Create Product--> <button Android:id= "@+id/btncreateproduct" android:layout_width= "fill_parent" android:layout_height= "Wrap_content"
"Android:text=" android:textsize= "20sp" android:textcolor= "@color/coffee"/> </LinearLayout>