From 95fa5dcd9bd12709bba6ebfbf8a9bb1fef417299 Mon Sep 17 00:00:00 2001
From: Sadwhy <99601717+Sadwhy@users.noreply.github.com>
Date: Fri, 8 Mar 2024 05:36:18 +0600
Subject: [PATCH] Feet(profiles): update textviews (#221)
* nothing
* feet: Attached strings
* feet(fix)
---------
Co-authored-by: rebel onion <87634197+rebelonion@users.noreply.github.com>
---
app/src/main/res/layout/activity_profile.xml | 2 +-
app/src/main/res/layout/fragment_profile.xml | 32 +++++++++----------
app/src/main/res/layout/item_follower.xml | 5 ++-
.../main/res/layout/item_follower_grid.xml | 5 ++-
app/src/main/res/values/strings.xml | 17 ++++++++--
5 files changed, 35 insertions(+), 26 deletions(-)
diff --git a/app/src/main/res/layout/activity_profile.xml b/app/src/main/res/layout/activity_profile.xml
index 8c077fe8db0..1583039d305 100644
--- a/app/src/main/res/layout/activity_profile.xml
+++ b/app/src/main/res/layout/activity_profile.xml
@@ -101,7 +101,7 @@
android:backgroundTint="?attr/colorSecondaryContainer"
android:enabled="true"
android:fontFamily="@font/poppins_bold"
- android:text="Follow"
+ android:text="@string/follow"
android:textColor="@color/bg_opp"
android:textSize="14sp"
app:cornerRadius="8dp"
diff --git a/app/src/main/res/layout/fragment_profile.xml b/app/src/main/res/layout/fragment_profile.xml
index 592378b4cd1..687423b0c8d 100644
--- a/app/src/main/res/layout/fragment_profile.xml
+++ b/app/src/main/res/layout/fragment_profile.xml
@@ -4,8 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
- tools:ignore="HardcodedText">
+ android:orientation="vertical">
@@ -157,8 +156,7 @@
android:paddingStart="32dp"
android:paddingTop="16dp"
android:paddingEnd="32dp"
- android:paddingBottom="16dp"
- tools:ignore="HardcodedText">
+ android:paddingBottom="16dp">
+ android:textSize="18sp"/>
+ android:textStyle="bold"/>
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_follower_grid.xml b/app/src/main/res/layout/item_follower_grid.xml
index 9593aba7724..56132bbec8e 100644
--- a/app/src/main/res/layout/item_follower_grid.xml
+++ b/app/src/main/res/layout/item_follower_grid.xml
@@ -27,11 +27,10 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|center_vertical"
android:fontFamily="@font/poppins_semi_bold"
- android:text="Username"
+ android:text="@string/username"
android:textColor="?attr/colorOnBackground"
android:textSize="12sp"
android:ellipsize="end"
- android:textStyle="bold"
- tools:ignore="HardcodedText" />
+ android:textStyle="bold"/>
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index a2014d2cf54..89cc8d51feb 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -670,6 +670,19 @@
View Following
menu
View Followers
-
-
+ User has no favorite Anime
+ User has no favorite Manga
+ Favourite Characters
+ Favorite Staff
+
+ Stats
+ Days watched
+ Total Anime
+ Anime Mean Score
+ Volume read
+ Total Manga
+ Manga Mean Score
+ About me
+ Follow
+