0
我正在創建LinearLayout的過程中,並且在此佈局中...將會有一個選擇菜單。我想知道如何在文本旁邊添加圖標。這是我有以下代碼:菜單選擇圖標/ android
<ImageView
android:src="@drawable/ic_launcher"
android:layout_width="200dp"
android:layout_height="175dp"
android:layout_gravity="left"
<TextView
android:text="Check Account"
android:textSize="20dp"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:layout_gravity="right"/>
</ImageView>
它不是我想要的方式工作。
請幫忙。
哇哦!感謝一束。 – MCarter
耶!得到了接受:) ..但順便說一句,以防萬一你想創建一個「選項/設置/偏好菜單」。看看http://developer.android.com/guide/topics/ui/menus.html –
爲什麼非常感謝你(: – MCarter