Advertisement
AleksandarH

fragment_clothes_dialog.xml

Dec 12th, 2023
942
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.81 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    android:layout_width="match_parent"
  3.    android:layout_height="match_parent"
  4.    android:orientation="vertical"
  5.    android:padding="16dp">
  6.  
  7.     <TextView
  8.        android:id="@+id/typeTextView"
  9.        android:layout_width="wrap_content"
  10.        android:layout_height="wrap_content"
  11.        android:text="@string/type"
  12.        android:textSize="18sp"
  13.        android:textStyle="bold"
  14.        android:layout_marginBottom="16dp"/>
  15.  
  16.     <EditText
  17.        android:id="@+id/priceEditText"
  18.        android:layout_width="match_parent"
  19.        android:layout_height="wrap_content"
  20.        android:hint="@string/price"
  21.        android:inputType="numberDecimal"
  22.        android:layout_marginBottom="16dp"/>
  23.  
  24.     <EditText
  25.        android:id="@+id/quantityEditText"
  26.        android:layout_width="match_parent"
  27.        android:layout_height="wrap_content"
  28.        android:hint="@string/quantity"
  29.        android:inputType="number"
  30.        android:layout_marginBottom="16dp"/>
  31.  
  32.     <EditText
  33.        android:id="@+id/countryEditText"
  34.        android:layout_width="match_parent"
  35.        android:layout_height="wrap_content"
  36.        android:hint="@string/country"
  37.        android:layout_marginBottom="16dp"/>
  38.  
  39.     <Button
  40.        android:id="@+id/saveButton"
  41.        android:layout_width="wrap_content"
  42.        android:layout_height="wrap_content"
  43.        android:text="@string/save_update"
  44.        android:layout_gravity="center_horizontal"
  45.        android:layout_marginBottom="8dp"/>
  46.  
  47.     <Button
  48.        android:id="@+id/cancelButton"
  49.        android:layout_width="wrap_content"
  50.        android:layout_height="wrap_content"
  51.        android:text="@string/cancel"
  52.        android:layout_gravity="center_horizontal"/>
  53.  
  54. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement