222 lines
5.8 KiB
XML
222 lines
5.8 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">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_span="2"
|
|
android:inputType="textMultiLine"
|
|
android:text="@string/startAppChoiceNote" />
|
|
|
|
</TableRow>
|
|
|
|
<TableRow
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:text="@string/startAppSelectionType" />
|
|
|
|
<RadioGroup
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<RadioButton
|
|
android:id="@+id/rbStartAppSelectByActivity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:checked="true"
|
|
android:text="@string/startAppByActivity" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/rbStartAppSelectByAction"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/startAppByAction" />
|
|
|
|
</RadioGroup>
|
|
|
|
</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" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<EditText
|
|
android:id="@+id/etPackageName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textMultiLine"
|
|
android:text=""
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
<EditText
|
|
android:id="@+id/etActivityOrActionPath"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textMultiLine"
|
|
android:text=""
|
|
android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
|
</LinearLayout>
|
|
|
|
</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> |