1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

"Add" layouts: Use minimum width for small buttons

This commit is contained in:
Sebastian Kaspari 2011-02-05 14:04:43 +01:00
parent 450ba9c7a2
commit ca6e342c9d
3 changed files with 81 additions and 72 deletions

View File

@ -28,7 +28,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:enabled="false"
android:text="Add" />
android:text="Add"
android:minWidth="50px" />
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
@ -38,11 +39,13 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/ok"
android:text="Ok" />
android:text="Ok"
android:minWidth="75px" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/cancel"
android:text="Cancel" />
android:text="Cancel"
android:minWidth="75px" />
</LinearLayout>
</LinearLayout>

View File

@ -48,7 +48,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/add"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/action_add" />
android:text="@string/action_add"
android:minWidth="50px" />
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
@ -58,11 +59,13 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/ok"
android:text="@string/action_ok" />
android:text="@string/action_ok"
android:minWidth="75px" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/cancel"
android:text="@string/action_cancel" />
android:text="@string/action_cancel"
android:minWidth="75px" />
</LinearLayout>
</LinearLayout>

View File

@ -48,7 +48,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/add"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/action_add" />
android:text="@string/action_add"
android:minWidth="50px" />
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
@ -58,11 +59,13 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/ok"
android:text="@string/action_ok" />
android:text="@string/action_ok"
android:minWidth="75px" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/cancel"
android:text="@string/action_cancel" />
android:text="@string/action_cancel"
android:minWidth="75px" />
</LinearLayout>
</LinearLayout>