forked from jens/Automation
181 lines
4.7 KiB
XML
181 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/default_margin" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TableLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:stretchColumns="1"
|
|
android:shrinkColumns="1" >
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_span="2"
|
|
android:textSize="25dp"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="@dimen/default_margin"
|
|
android:text="@string/selectApplication" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Button
|
|
android:id="@+id/bSelectApp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/selectApplication" />
|
|
|
|
<EditText
|
|
android:id="@+id/etSelectedApplication"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textMultiLine"
|
|
android:text=""
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:background="#aa000000"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textMultiLine"
|
|
android:text="@string/startAppChoiceNote" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_span="2"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:background="#aa000000" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_span="2"
|
|
android:textSize="25dp"
|
|
android:textStyle="bold"
|
|
android:layout_marginBottom="@dimen/default_margin"
|
|
android:text="@string/addParameters" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:text="@string/parameterType" />
|
|
|
|
<Spinner
|
|
android:id="@+id/spinnerParameterType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/tvCurrentNfcIdValue"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/parameterName" />
|
|
|
|
<EditText
|
|
android:id="@+id/etParameterName"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/textView2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/parameterValue" />
|
|
|
|
<EditText
|
|
android:id="@+id/etParameterValue"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
<Button
|
|
android:id="@+id/bAddIntentPair"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/addIntentValue" />
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:layout_margin="10dp"
|
|
android:background="#aa000000" />
|
|
|
|
<ListView
|
|
android:id="@+id/lvIntentPairs"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="115dp"
|
|
android:layout_marginBottom="@dimen/default_margin" />
|
|
|
|
<Button
|
|
android:id="@+id/bSaveActionStartOtherActivity"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/save" />
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView> |