aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_first.xml
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-09 16:23:31 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-09 16:23:31 +0100
commit04a65204406247589b2a334f5367e8384a6caa92 (patch)
tree615daea988346e0c18cf0f72bee529eaeda4ca60 /app/src/main/res/layout/fragment_first.xml
parentad628ca49daaaf02687a1867e0a86ee38c063ee6 (diff)
Messing around with some texts to learn
Diffstat (limited to 'app/src/main/res/layout/fragment_first.xml')
-rw-r--r--app/src/main/res/layout/fragment_first.xml14
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