Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="16dp">
- <TextView
- android:id="@+id/typeTextView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/type"
- android:textSize="18sp"
- android:textStyle="bold"
- android:layout_marginBottom="16dp"/>
- <EditText
- android:id="@+id/priceEditText"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/price"
- android:inputType="numberDecimal"
- android:layout_marginBottom="16dp"/>
- <EditText
- android:id="@+id/quantityEditText"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/quantity"
- android:inputType="number"
- android:layout_marginBottom="16dp"/>
- <EditText
- android:id="@+id/countryEditText"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:hint="@string/country"
- android:layout_marginBottom="16dp"/>
- <Button
- android:id="@+id/saveButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/save_update"
- android:layout_gravity="center_horizontal"
- android:layout_marginBottom="8dp"/>
- <Button
- android:id="@+id/cancelButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/cancel"
- android:layout_gravity="center_horizontal"/>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement