Set the width on the parent element instead of forcing the job on the buttons.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Thu, 19 Jul 2012 14:42:55 +0000 (14:42 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Thu, 19 Jul 2012 14:42:55 +0000 (14:42 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@910 180e2498-e6e9-4542-8430-84ac67f01cd8

android/res/layout/simulation_condition_dialog.xml

index 90d4170cdcc4c2e850415f41d2aac8ec7818e00e..2edd052c7adc4a069f24d6169b4e6db23035a63b 100644 (file)
@@ -4,6 +4,7 @@
     android:layout_height="match_parent"\r
     android:descendantFocusability="beforeDescendants"\r
     android:focusableInTouchMode="true"\r
+    android:minWidth="250dp"\r
     android:orientation="vertical" >\r
 \r
     <TextView\r
 \r
     <Button\r
         android:id="@+id/simulationConditionDelete"\r
-        android:layout_width="250dp"\r
+        android:layout_width="match_parent"\r
         android:layout_height="wrap_content"\r
         android:text="@string/Delete" />\r
 \r
     <Button\r
         android:id="@+id/simulationConditionRun"\r
-        android:layout_width="250dp"\r
+        android:layout_width="match_parent"\r
         android:layout_height="wrap_content"\r
         android:text="@string/Run" />\r
 \r