Advertisement
Guest User

bottom_fragment.xml file

a guest
Mar 14th, 2021
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.63 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:id="@+id/bottomSheetParent"
  6.    android:layout_width="match_parent"
  7.    android:layout_height="wrap_content"
  8.    android:layout_marginTop="8dp"
  9.    android:layout_marginBottom="8dp"
  10.    app:layout_constraintBottom_toBottomOf="parent"
  11.    app:layout_constraintTop_toBottomOf="@+id/textView3">
  12.  
  13.     <TextView
  14.        android:id="@+id/textView7"
  15.        android:layout_width="wrap_content"
  16.        android:layout_height="wrap_content"
  17.        android:layout_marginStart="16dp"
  18.        android:layout_marginTop="32dp"
  19.        android:textSize="24sp"
  20.        app:layout_constraintStart_toStartOf="parent"
  21.        app:layout_constraintTop_toTopOf="parent"
  22.        tools:text="Edit Your Info" />
  23.  
  24.     <Button
  25.        android:id="@+id/btnUpdate"
  26.        style="@android:style/Widget.Material.Button.Borderless"
  27.        android:layout_width="140dp"
  28.        android:layout_height="wrap_content"
  29.        android:layout_marginTop="16dp"
  30.        android:layout_marginEnd="8dp"
  31.        android:text="Update"
  32.        app:layout_constraintEnd_toEndOf="parent"
  33.        app:layout_constraintTop_toTopOf="parent" />
  34.  
  35.     <com.google.android.material.textfield.TextInputLayout
  36.        android:id="@+id/etWeight"
  37.        android:layout_width="0dp"
  38.        android:layout_height="wrap_content"
  39.        android:layout_marginStart="16dp"
  40.        android:layout_marginTop="8dp"
  41.        android:layout_marginEnd="16dp"
  42.        app:layout_constraintEnd_toEndOf="parent"
  43.        app:layout_constraintHorizontal_bias="0.0"
  44.        app:layout_constraintStart_toStartOf="parent"
  45.        app:layout_constraintTop_toBottomOf="@+id/textView7">
  46.  
  47.         <!--        android:theme="@style/TextInputLayoutAppearance"-->
  48.  
  49.  
  50.         <com.google.android.material.textfield.TextInputEditText
  51.            android:layout_width="match_parent"
  52.            android:layout_height="45dp"
  53.            android:hint="Enter Weight in KG"
  54.            android:inputType="numberSigned"
  55.            android:maxLength="3"
  56.            android:paddingStart="10dp"
  57.            android:paddingBottom="10dp" />
  58.     </com.google.android.material.textfield.TextInputLayout>
  59.  
  60.     <com.google.android.material.textfield.TextInputLayout
  61.        android:id="@+id/etWorkTime"
  62.        android:layout_width="0dp"
  63.        android:layout_height="wrap_content"
  64.        android:layout_marginStart="16dp"
  65.        android:layout_marginTop="8dp"
  66.        android:layout_marginEnd="16dp"
  67.        app:layout_constraintEnd_toEndOf="parent"
  68.        app:layout_constraintStart_toStartOf="parent"
  69.        app:layout_constraintTop_toBottomOf="@+id/etWeight">
  70.         <!--        android:theme="@style/TextInputLayoutAppearance"-->
  71.  
  72.  
  73.         <com.google.android.material.textfield.TextInputEditText
  74.            android:layout_width="match_parent"
  75.            android:layout_height="45dp"
  76.            android:hint="Daily Workout in mins"
  77.            android:inputType="numberSigned"
  78.            android:maxLength="3"
  79.            android:paddingStart="10dp"
  80.            android:paddingBottom="10dp" />
  81.     </com.google.android.material.textfield.TextInputLayout>
  82.  
  83.     <com.google.android.material.textfield.TextInputLayout
  84.        android:id="@+id/etWakeUpTime"
  85.        android:layout_width="0dp"
  86.        android:layout_height="wrap_content"
  87.        android:layout_marginStart="16dp"
  88.        android:layout_marginTop="8dp"
  89.        android:layout_marginEnd="8dp"
  90.        app:layout_constraintEnd_toStartOf="@+id/etSleepTime"
  91.        app:layout_constraintStart_toStartOf="parent"
  92.        app:layout_constraintTop_toBottomOf="@+id/etWorkTime">
  93.         <!--        android:theme="@style/TextInputLayoutAppearance"-->
  94.  
  95.  
  96.         <com.google.android.material.textfield.TextInputEditText
  97.            android:layout_width="match_parent"
  98.            android:layout_height="45dp"
  99.            android:clickable="true"
  100.            android:focusable="false"
  101.            android:hint="wakeup time"
  102.            android:inputType="numberSigned"
  103.            android:paddingStart="10dp"
  104.            android:paddingBottom="10dp" />
  105.     </com.google.android.material.textfield.TextInputLayout>
  106.  
  107.     <com.google.android.material.textfield.TextInputLayout
  108.        android:id="@+id/etSleepTime"
  109.        android:layout_width="0dp"
  110.        android:layout_height="wrap_content"
  111.        android:layout_marginStart="8dp"
  112.        android:layout_marginTop="8dp"
  113.        android:layout_marginEnd="16dp"
  114.        app:layout_constraintEnd_toEndOf="parent"
  115.        app:layout_constraintStart_toEndOf="@+id/etWakeUpTime"
  116.        app:layout_constraintTop_toBottomOf="@+id/etWorkTime">
  117.  
  118.         <com.google.android.material.textfield.TextInputEditText
  119.            android:layout_width="match_parent"
  120.            android:layout_height="45dp"
  121.            android:clickable="true"
  122.            android:focusable="false"
  123.            android:hint="Sleep Time"
  124.            android:inputType="numberSigned"
  125.            android:paddingStart="10dp"
  126.            android:paddingBottom="10dp" />
  127.     </com.google.android.material.textfield.TextInputLayout>
  128.  
  129.     <TextView
  130.        android:id="@+id/totalIntakePercentage"
  131.        android:layout_width="wrap_content"
  132.        android:layout_height="wrap_content"
  133.        android:layout_marginStart="16dp"
  134.        android:layout_marginTop="8dp"
  135.        android:text="Notification Settings"
  136.        android:textSize="24sp"
  137.        app:layout_constraintStart_toStartOf="parent"
  138.        app:layout_constraintTop_toBottomOf="@+id/etTarget" />
  139.  
  140.     <com.google.android.material.textfield.TextInputLayout
  141.        android:id="@+id/etTarget"
  142.        android:layout_width="0dp"
  143.        android:layout_height="wrap_content"
  144.        android:layout_marginStart="16dp"
  145.        android:layout_marginTop="8dp"
  146.        android:layout_marginEnd="16dp"
  147.        app:layout_constraintEnd_toEndOf="parent"
  148.        app:layout_constraintHorizontal_bias="0.0"
  149.        app:layout_constraintStart_toStartOf="parent"
  150.        app:layout_constraintTop_toBottomOf="@+id/etWakeUpTime">
  151.         <!--        android:theme="@style/TextInputLayoutAppearance"-->
  152.  
  153.  
  154.         <com.google.android.material.textfield.TextInputEditText
  155.            android:layout_width="match_parent"
  156.            android:layout_height="45dp"
  157.            android:hint="Custom Water Intake"
  158.            android:inputType="numberSigned"
  159.            android:paddingStart="10dp"
  160.            android:paddingBottom="10dp" />
  161.     </com.google.android.material.textfield.TextInputLayout>
  162.  
  163.     <com.google.android.material.textfield.TextInputLayout
  164.        android:id="@+id/etNotificationText"
  165.        android:layout_width="0dp"
  166.        android:layout_height="wrap_content"
  167.        android:layout_marginStart="16dp"
  168.        android:layout_marginTop="8dp"
  169.        android:layout_marginEnd="16dp"
  170.        app:layout_constraintEnd_toEndOf="parent"
  171.        app:layout_constraintStart_toStartOf="parent"
  172.        app:layout_constraintTop_toBottomOf="@+id/totalIntakePercentage">
  173.  
  174.         <com.google.android.material.textfield.TextInputEditText
  175.            android:layout_width="match_parent"
  176.            android:layout_height="45dp"
  177.            android:background="@null"
  178.            android:hint="Notification Message"
  179.            android:inputType="text"
  180.            android:paddingStart="10dp"
  181.            android:paddingBottom="10dp" />
  182.     </com.google.android.material.textfield.TextInputLayout>
  183.  
  184.     <com.google.android.material.textfield.TextInputLayout
  185.        android:id="@+id/etRingtone"
  186.        android:layout_width="0dp"
  187.        android:layout_height="wrap_content"
  188.        android:layout_marginStart="16dp"
  189.        android:layout_marginTop="8dp"
  190.        android:layout_marginEnd="16dp"
  191.        app:layout_constraintEnd_toEndOf="parent"
  192.        app:layout_constraintStart_toStartOf="parent"
  193.        app:layout_constraintTop_toBottomOf="@+id/etNotificationText">
  194.  
  195.         <com.google.android.material.textfield.TextInputEditText
  196.            android:layout_width="match_parent"
  197.            android:layout_height="45dp"
  198.            android:background="@null"
  199.            android:clickable="true"
  200.            android:focusable="false"
  201.            android:hint="Notificaition Tone"
  202.            android:inputType="text"
  203.            android:paddingStart="10dp"
  204.            android:paddingBottom="10dp" />
  205.     </com.google.android.material.textfield.TextInputLayout>
  206.  
  207.  
  208. </androidx.constraintlayout.widget.ConstraintLayout>
  209.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement