<?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= "wrap_content" android:orientation= "Horizontal" android:gravity= "Center" ><ImageView android:id= "@+id/imageview4_1_1" android:layout_width= "Wrap_content" android:layout_height= "Wrap_content" android:src= "@drawable/ic_launcher" /><textview android:id= "@+id/textView4_ 1_1 " android:layout_width=" Match_parent " android:layout_height=" Wrap_content " android:text=" TextView " /> </LinearLayout>
Android:layout_width= "Match_parent"
android:layout_height= "Wrap_content"
android:orientation= "Horizontal"
android:gravity= "Center"
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8B/7D/wKiom1hPirLwkQzzAAAvK7wBVCM647.png-wh_500x0-wm_3 -wmp_4-s_142118596.png "title=" Q~$943dj$66or$md (xpxk17.png "alt=" Wkiom1hpirlwkqzzaaavk7wbvcm647.png-wh_50 "/>
This article is from the "matengbing" blog, make sure to keep this source http://matengbing.blog.51cto.com/11395502/1882230
Android to arrange pictures and text horizontally