2014-02-08 19:42:32 -05:00
|
|
|
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-02-08 17:48:45 -05:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2014-02-08 19:42:32 -05:00
|
|
|
android:id="@+id/TableLayout1"
|
2014-02-08 17:48:45 -05:00
|
|
|
android:layout_width="match_parent"
|
2014-02-08 19:42:32 -05:00
|
|
|
android:layout_height="350dp"
|
2014-02-08 17:48:45 -05:00
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
|
tools:context=".MainActivity" >
|
|
|
|
|
2014-02-08 19:42:32 -05:00
|
|
|
<TableRow
|
|
|
|
android:id="@+id/tableRow1"
|
2014-02-08 17:48:45 -05:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2014-02-08 19:42:32 -05:00
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingBottom="8dp" >
|
2014-02-08 17:48:45 -05:00
|
|
|
|
2014-02-08 19:42:32 -05:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblListedPrice"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/lblListedPrice"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/txtListedPrice"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ems="10"
|
|
|
|
android:hint="@string/hintTxtListedPrice"
|
|
|
|
android:inputType="numberDecimal"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" >
|
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
</EditText>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:id="@+id/tableRow2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingBottom="8dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblDiscountPercent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:text="@string/lblDiscountPct"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
android:id="@+id/rdgDiscountPercent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:orientation="horizontal" >
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/rad10Pct"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/rad10Pct"
|
|
|
|
android:textSize="9sp" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/rad25Pct"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/rad25Pct"
|
|
|
|
android:textSize="9sp" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/rad50Pct"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/rad50Pct"
|
|
|
|
android:textSize="9sp" />
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
android:id="@+id/radCustomPct"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/radCustomPct"
|
|
|
|
android:textSize="9sp" />
|
|
|
|
</RadioGroup>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:id="@+id/tableRow3"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:paddingBottom="8dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblCustomPercent"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/radCustomPct"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/seekCustom"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblCustomPercentValue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/lblCustomPercentValue"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:id="@+id/tableRow4"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingBottom="8dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblUserSaves"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/lblUserSaves"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblUserSavesValue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/lblUserSavesValue"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:id="@+id/tableRow5"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingBottom="8dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblUserPays"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/lblUserPays"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/lblUserPaysValue"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/lblUserPaysValue"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:id="@+id/tableRow6"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:paddingBottom="8dp" >
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnExit"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/btnExit" />
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
</TableLayout>
|