のlayout_height
プロパティの
<LinearLayout android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_below="@id/imagetitle"
android:orientation="horizontal">
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Previous" android:id="@+id/previous" />
<Button android:layout_width="185dip" android:layout_height="wrap_content"
android:text="Vote for this picture" android:id="@+id/vote" />
<Button android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="Next" android:id="@+id/next" />
</LinearLayout>
をこの行を追加し あなたはすべてのボタンの上部を揃えたいと思いますか?より多くのスペースを取るようにしますか?またはクリップのテキスト? –
私は投票のためのボタンが同じレベルでボタンと次のボタンと同じ行にあることを望みます。そして、すべてのテキストをボタンで確認してください。 – Gabrielle
2番目のボタンの使用** android:width ** android:layout_width = "wrap_content" – Hanry