1. Simple News Client
<Relativelayoutxmlns:android= "Http://schemas.android.com/apk/res/android"Xmlns:tools= "Http://schemas.android.com/tools"Android:layout_width= "Match_parent"Android:layout_height= "Match_parent"Tools:context=". Mainactivity " > <ListViewAndroid:id= "@+id/lv"Android:layout_width= "Wrap_content"Android:layout_height= "Wrap_content" /></Relativelayout>
<?XML version= "1.0" encoding= "Utf-8"?><Relativelayoutxmlns:android= "Http://schemas.android.com/apk/res/android"Android:layout_width= "Match_parent"Android:layout_height= "Wrap_content" > <Com.loopj.android.image.SmartImageViewAndroid:id= "@+id/siv"Android:layout_width= "90DP"Android:layout_height= "70DP"android:src= "@drawable/ic_launcher" android:layout_centervertical= "true" /> <TextViewAndroid:id= "@+id/tv_title"Android:layout_width= "Match_parent"Android:layout_height= "Wrap_content"Android:text= "Title Akejang also depends on the red of the Imam multi-space"android:textsize= "18SP"Android:layout_torightof= "@id/siv" android:singleline= "true" /> <TextViewAndroid:id= "@+id/tv_detail"Android:layout_width= "Match_parent"Android:layout_height= "Wrap_content"Android:text= "Detailed red of the space on the card red the science and technology hobby is three intersection see large caliber of space Ah Shun Fung accountant fee space whether accountant"Android:textcolor= "@android: Color/darker_gray"android:textsize= "15SP"Android:layout_below= "@id/tv_title"Android:layout_torightof= "@id/siv" android:lines= "2" /> <TextViewAndroid:id= "@+id/tv_comment"Android:layout_width= "Wrap_content"Android:layout_height= "Wrap_content"Android:text= "12323 Reviews"Android:textcolor= "#ff0000"Android:layout_alignparentright= "true"Android:layout_below= "@id/tv_detail" /></Relativelayout>
Android Learning essay Eight (network)