aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-09 20:48:18 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-09 20:48:18 +0100
commit8064dbe9a5c2fbd9073b694fa237d457039380b2 (patch)
tree5ed4e8e2dace70631027f6197a885f5626a2692d /app/src/main/res/layout
parent04a65204406247589b2a334f5367e8384a6caa92 (diff)
Adding colours and "locking" in dark mode.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/activity_main.xml6
-rw-r--r--app/src/main/res/layout/fragment_first.xml4
2 files changed, 6 insertions, 4 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
index 616f503..aa7a1c1 100644
--- a/app/src/main/res/layout/activity_main.xml
+++ b/app/src/main/res/layout/activity_main.xml
@@ -4,7 +4,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context=".MainActivity">
+ tools:context=".MainActivity"
+ android:background="@color/very_dark_purple">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
@@ -28,6 +29,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
- app:srcCompat="@android:drawable/ic_dialog_email" />
+ app:srcCompat="@android:drawable/ic_dialog_info"
+ android:contentDescription="@string/info"/>
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_first.xml b/app/src/main/res/layout/fragment_first.xml
index 3533ea3..81142cd 100644
--- a/app/src/main/res/layout/fragment_first.xml
+++ b/app/src/main/res/layout/fragment_first.xml
@@ -10,11 +10,11 @@
android:id="@+id/textview_first"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="@color/purple_700"
+ android:background="@color/black"
android:fontFamily="@font/bangers"
android:text="@string/hello_first_fragment"
android:textAlignment="center"
- android:textColor="@color/teal_200"
+ android:textColor="@color/strong_pink"
android:textSize="36sp"
app:layout_constraintBottom_toTopOf="@id/button_first"
app:layout_constraintEnd_toEndOf="parent"