Android Learning essay Eight (network)

Source: Internet
Author: User

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)

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.