Skip to content

Commit

Permalink
- Added prefix and suffix text
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashank02051997 committed May 8, 2020
1 parent 4555e8e commit 7cd1d03
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion app/src/main/res/layout/fragment_send_money.xml
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,22 @@
app:hintTextColor="@color/colorAccent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView8">
app:layout_constraintTop_toBottomOf="@+id/textView8"
app:prefixText="$"
app:prefixTextColor="#D6D9E4"
app:suffixText="change currency"
app:suffixTextAppearance="@style/TextAppearance.AppCompat.Small"
app:suffixTextColor="@color/colorAccent">

<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawablePadding="8dp"
android:fontFamily="@font/calibri"
android:hint="Amount"
android:inputType="numberDecimal"
android:textColor="@color/black"
android:textCursorDrawable="@null"
android:textSize="16sp" />

</com.google.android.material.textfield.TextInputLayout>
Expand All @@ -235,6 +244,8 @@
android:layout_height="wrap_content"
android:fontFamily="@font/calibri"
android:hint="Description"
android:textColor="@color/black"
android:textCursorDrawable="@null"
android:textSize="16sp" />

</com.google.android.material.textfield.TextInputLayout>
Expand Down

0 comments on commit 7cd1d03

Please sign in to comment.