diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_first.xml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app/src/main/res/layout/fragment_first.xml b/app/src/main/res/layout/fragment_first.xml index 435c85b..3533ea3 100644 --- a/app/src/main/res/layout/fragment_first.xml +++ b/app/src/main/res/layout/fragment_first.xml @@ -8,9 +8,14 @@ <TextView android:id="@+id/textview_first" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="@color/purple_700" + android:fontFamily="@font/bangers" android:text="@string/hello_first_fragment" + android:textAlignment="center" + android:textColor="@color/teal_200" + android:textSize="36sp" app:layout_constraintBottom_toTopOf="@id/button_first" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -20,7 +25,7 @@ android:id="@+id/button_first" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="PRESS ON ME" + android:text="@string/press_on_me" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -30,10 +35,9 @@ android:id="@+id/button_second" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="NO, PRESS ON ME !" + android:text="@string/no_press_on_me" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toBottomOf="@id/button_first" app:layout_constraintStart_toStartOf="parent" - /> + app:layout_constraintTop_toBottomOf="@id/button_first" /> </androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |