Skip to content
This repository was archived by the owner on Feb 1, 2020. It is now read-only.

Commit c8e680a

Browse files
committed
Add long click description
1 parent 8063499 commit c8e680a

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

app/src/main/res/layout/fragment_dashboard.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44
android:layout_width="match_parent"
55
android:layout_height="match_parent">
66

7+
<TextView
8+
android:id="@+id/textView"
9+
android:layout_width="0dp"
10+
android:layout_height="wrap_content"
11+
android:layout_marginStart="8dp"
12+
android:layout_marginEnd="8dp"
13+
android:fontFamily="sans-serif-condensed-medium"
14+
android:text="Press and hold in order to confirm you have watered the plant!"
15+
android:textAppearance="@style/TextAppearance.AppCompat.Small"
16+
android:textColor="@android:color/black"
17+
app:layout_constraintEnd_toEndOf="parent"
18+
app:layout_constraintStart_toStartOf="parent" />
19+
720
<Button
821
android:id="@+id/addPlantButton"
922
android:layout_width="wrap_content"
@@ -19,10 +32,9 @@
1932
android:layout_width="match_parent"
2033
android:layout_height="0dp"
2134
android:layout_marginStart="8dp"
22-
android:layout_marginTop="8dp"
2335
android:layout_marginEnd="8dp"
2436
app:layout_constraintBottom_toTopOf="@+id/addPlantButton"
2537
app:layout_constraintEnd_toEndOf="parent"
2638
app:layout_constraintStart_toStartOf="parent"
27-
app:layout_constraintTop_toTopOf="parent" />
39+
app:layout_constraintTop_toBottomOf="@+id/textView" />
2840
</androidx.constraintlayout.widget.ConstraintLayout>

0 commit comments

Comments
 (0)