2011-06-23 4 views
0

右下の合計値を画像の下に揃える方法Androidアラートダイアログテキストの整列

enter image description here

感謝。

+0

としてリニアレイアウトの高さ幅を使用することができます。あなたができることについてのヒントを簡単に伝えることができます。 –

+0

XmlレイアウトなしAlertDialog。 – david

答えて

0

このダイアログボックスを使用してください。これはurl

0

はXMLで以下のスタイルを使用してリンクします。

<LinearLayout 
    android:id="@+id/linearLayout1" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:orientation="horizontal"> 
    <TextView 
     android:text="Label" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_weight="1"/> 
    <TextView 
     android:text="Value" 
     android:gravity="right" 
     android:layout_width="fill_parent" 
     android:layout_height="wrap_content" 
     android:layout_weight="1"/> 
</LinearLayout> 

あなたはレイアウトXMLを追加してくださいあなたの願い

関連する問題