2012-05-22 19:34:11 +00:00
|
|
|
<?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"
|
2012-06-18 02:50:19 +00:00
|
|
|
android:descendantFocusability="beforeDescendants"
|
|
|
|
android:focusableInTouchMode="true"
|
2012-05-22 19:34:11 +00:00
|
|
|
android:orientation="vertical" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/labelTextStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/simulationConditionWind" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/simulation_condition_windspeed"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="right"
|
|
|
|
android:inputType="number"
|
|
|
|
android:text="0" >
|
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
</EditText>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/labelTextStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/simulationConditionsRodLength" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/simulation_condition_rodlength"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="right"
|
|
|
|
android:inputType="number"
|
|
|
|
android:text="0" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/labelTextStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/simulationConditionsLaunchRodAngle" />
|
|
|
|
|
2012-06-02 04:06:02 +00:00
|
|
|
<EditText
|
2012-06-04 19:16:27 +00:00
|
|
|
android:id="@+id/simulation_condition_rodangle"
|
2012-06-02 04:06:02 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="right"
|
|
|
|
android:inputType="number"
|
|
|
|
android:text="0" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/labelTextStyle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/simulationConditionsLaunchRodDirection" />
|
|
|
|
|
2012-05-22 19:34:11 +00:00
|
|
|
<EditText
|
2012-06-04 19:16:27 +00:00
|
|
|
android:id="@+id/simulation_condition_roddirection"
|
2012-05-22 19:34:11 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ems="10"
|
|
|
|
android:gravity="right"
|
|
|
|
android:inputType="number"
|
|
|
|
android:text="0" />
|
|
|
|
|
2012-06-02 04:06:02 +00:00
|
|
|
<net.sf.openrocket.android.rocket.MotorConfigSpinner
|
2012-05-22 19:34:11 +00:00
|
|
|
android:id="@+id/simulationConditionConfigurationSpinner"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:prompt="@string/simulationConditionSelectMotors" />
|
2012-06-18 02:50:19 +00:00
|
|
|
|
2012-06-02 04:06:02 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/simulationConditionDelete"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content"
|
2012-06-18 02:50:19 +00:00
|
|
|
android:text="@string/Delete" />
|
|
|
|
|
2012-06-02 04:06:02 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/simulationConditionRun"
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/Run" />
|
2012-05-22 19:34:11 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|