-6
您好有人能幫助我如何獲得一個XML DESGIN喜歡這幅畫:Android的 - 簡單的設計
一切都是容易的,但我只想把價格定到手機的右上角,但我不知道如何:
<?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="vertical"
android:background="@color/white"
android:id="@+id/souscarte_element_layout">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
android:id="@+id/souscarte_element_title"
android:text="deddewdedwe"/>
<TextView android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
android:id="@+id/souscarte_element_prix"
android:gravity="right"
android:text="12E"/>
</LinearLayout>
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/souscarte_element_desc"
android:text="deddewdedwe"/>
</LinearLayout>
謝謝
您是指不同文本區域的佈局,還是您在尋找應用邊框的幫助? – Rawkode 2013-03-15 16:03:40
你必須至少付出努力。我們不會爲您編寫代碼。包括你已經嘗試過的一些XML ... – 2013-03-15 16:06:32