Added the year to the date field in Transaction items, and made the to and from text fields more visible.
This commit is contained in:
parent
5d8dc8ec39
commit
756abb8f5f
2 changed files with 1 additions and 3 deletions
|
@ -74,7 +74,7 @@ class TransfersDetailsAdapter(private val context: Context) :
|
||||||
|
|
||||||
init {
|
init {
|
||||||
val locale = ConfigurationCompat.getLocales(context.resources.configuration)[0]
|
val locale = ConfigurationCompat.getLocales(context.resources.configuration)[0]
|
||||||
dateFormat = SimpleDateFormat("dd MMM", locale)
|
dateFormat = SimpleDateFormat("dd MMM, yyyy", locale)
|
||||||
timeFormat = SimpleDateFormat("HH:mm:ss z", locale)
|
timeFormat = SimpleDateFormat("HH:mm:ss z", locale)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,6 @@
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
tools:text="denzel-washington"
|
tools:text="denzel-washington"
|
||||||
android:textAppearance="@style/TextAppearance.Bitsy.Body2"
|
android:textAppearance="@style/TextAppearance.Bitsy.Body2"
|
||||||
android:textColor="@color/gray"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/firstVerticalGuideline"
|
app:layout_constraintStart_toEndOf="@id/firstVerticalGuideline"
|
||||||
app:layout_constraintEnd_toStartOf="@id/secondVerticalGuideline"/>
|
app:layout_constraintEnd_toStartOf="@id/secondVerticalGuideline"/>
|
||||||
|
@ -94,7 +93,6 @@
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
tools:text="joes-grocery-13"
|
tools:text="joes-grocery-13"
|
||||||
android:textAppearance="@style/TextAppearance.Bitsy.Body2"
|
android:textAppearance="@style/TextAppearance.Bitsy.Body2"
|
||||||
android:textColor="@color/gray"
|
|
||||||
android:textAlignment="textEnd"
|
android:textAlignment="textEnd"
|
||||||
app:layout_constraintTop_toTopOf="@id/tvFrom"
|
app:layout_constraintTop_toTopOf="@id/tvFrom"
|
||||||
app:layout_constraintStart_toEndOf="@id/thirdVerticalGuideline"
|
app:layout_constraintStart_toEndOf="@id/thirdVerticalGuideline"
|
||||||
|
|
Loading…
Reference in a new issue