aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-10 17:35:26 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-10 17:35:26 +0000
commitf27244e555af62b5b4646bcb91037005f3a51fc7 (patch)
tree1c33a6af91bec22c04fe01d8dba47d868b5e9d59 /app/src/main
parent02f43598c2345ce4ba676d6ce9cb3dfc6b948e66 (diff)
downloadinfinity-for-reddit-f27244e555af62b5b4646bcb91037005f3a51fc7.tar
infinity-for-reddit-f27244e555af62b5b4646bcb91037005f3a51fc7.tar.gz
infinity-for-reddit-f27244e555af62b5b4646bcb91037005f3a51fc7.tar.bz2
infinity-for-reddit-f27244e555af62b5b4646bcb91037005f3a51fc7.tar.lz
infinity-for-reddit-f27244e555af62b5b4646bcb91037005f3a51fc7.tar.xz
infinity-for-reddit-f27244e555af62b5b4646bcb91037005f3a51fc7.tar.zst
infinity-for-reddit-f27244e555af62b5b4646bcb91037005f3a51fc7.zip
New UI design in ViewUserDetailActivity.
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java2
-rw-r--r--app/src/main/res/layout-land/activity_view_user_detail.xml125
-rw-r--r--app/src/main/res/layout-sw600dp/activity_view_user_detail.xml125
-rw-r--r--app/src/main/res/layout/activity_view_user_detail.xml125
-rw-r--r--app/src/main/res/values-cs/strings.xml1
-rw-r--r--app/src/main/res/values-de/strings.xml1
-rw-r--r--app/src/main/res/values-el/strings.xml1
-rw-r--r--app/src/main/res/values-es/strings.xml1
-rw-r--r--app/src/main/res/values-fr/strings.xml1
-rw-r--r--app/src/main/res/values-hi/strings.xml1
-rw-r--r--app/src/main/res/values-hr/strings.xml1
-rw-r--r--app/src/main/res/values-hu/strings.xml1
-rw-r--r--app/src/main/res/values-it/strings.xml1
-rw-r--r--app/src/main/res/values-ja/strings.xml1
-rw-r--r--app/src/main/res/values-ko/strings.xml1
-rw-r--r--app/src/main/res/values-nl/strings.xml1
-rw-r--r--app/src/main/res/values-pl/strings.xml1
-rw-r--r--app/src/main/res/values-pt-rBR/strings.xml1
-rw-r--r--app/src/main/res/values-pt/strings.xml1
-rw-r--r--app/src/main/res/values-ro/strings.xml1
-rw-r--r--app/src/main/res/values-ru/strings.xml1
-rw-r--r--app/src/main/res/values-ta/strings.xml1
-rw-r--r--app/src/main/res/values-tr-rTR/strings.xml1
-rw-r--r--app/src/main/res/values-uk/strings.xml1
-rw-r--r--app/src/main/res/values-vi/strings.xml1
-rw-r--r--app/src/main/res/values-zh-rCN/strings.xml1
-rw-r--r--app/src/main/res/values/strings.xml3
27 files changed, 218 insertions, 184 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java
index c5d1889f..c0984cbe 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/ViewUserDetailActivity.java
@@ -614,7 +614,7 @@ public class ViewUserDetailActivity extends BaseActivity implements SortTypeSele
collapsedTabTextColor = mCustomThemeWrapper.getTabLayoutWithCollapsedCollapsingToolbarTextColor();
collapsedTabIndicatorColor = mCustomThemeWrapper.getTabLayoutWithCollapsedCollapsingToolbarTabIndicator();
collapsedTabBackgroundColor = mCustomThemeWrapper.getTabLayoutWithCollapsedCollapsingToolbarTabBackground();
- binding.toolbarLinearLayoutViewUserDetailActivity.setBackgroundColor(expandedTabBackgroundColor);
+ binding.toolbarConstraintLayoutViewUserDetailActivity.setBackgroundColor(expandedTabBackgroundColor);
unsubscribedColor = mCustomThemeWrapper.getUnsubscribed();
subscribedColor = mCustomThemeWrapper.getSubscribed();
binding.userNameTextViewViewUserDetailActivity.setTextColor(mCustomThemeWrapper.getUsername());
diff --git a/app/src/main/res/layout-land/activity_view_user_detail.xml b/app/src/main/res/layout-land/activity_view_user_detail.xml
index 33b8b296..c5349ce1 100644
--- a/app/src/main/res/layout-land/activity_view_user_detail.xml
+++ b/app/src/main/res/layout-land/activity_view_user_detail.xml
@@ -15,14 +15,15 @@
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar_layout_view_user_detail_activity"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
app:titleEnabled="false"
app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed"
app:toolbarId="@+id/toolbar_view_user_detail_activity">
- <RelativeLayout
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
<pl.droidsonroids.gif.GifImageView
android:id="@+id/banner_image_view_view_user_detail_activity"
@@ -31,81 +32,99 @@
android:layout_height="160dp"
android:contentDescription="@string/content_description_banner_imageview" />
- <pl.droidsonroids.gif.GifImageView
- android:id="@+id/icon_gif_image_view_view_user_detail_activity"
- android:layout_width="72dp"
- android:layout_height="72dp"
- android:layout_marginTop="-36dp"
- android:layout_below="@id/banner_image_view_view_user_detail_activity"
- android:layout_centerHorizontal="true"
- android:elevation="4dp" />
-
- <LinearLayout
- android:id="@+id/toolbar_linear_layout_view_user_detail_activity"
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/toolbar_constraint_layout_view_user_detail_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingTop="36dp"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- android:layout_below="@id/banner_image_view_view_user_detail_activity">
+ android:padding="16dp">
+
+ <pl.droidsonroids.gif.GifImageView
+ android:id="@+id/icon_gif_image_view_view_user_detail_activity"
+ android:layout_width="72dp"
+ android:layout_height="72dp"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toTopOf="@id/karma_text_view_view_user_detail_activity" />
<TextView
android:id="@+id/user_name_text_view_view_user_detail_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:layout_marginBottom="16dp"
+ android:layout_marginStart="16dp"
+ android:paddingTop="8dp"
android:textSize="?attr/font_18"
android:fontFamily="?attr/font_family"
- android:layout_gravity="center_horizontal"/>
+ app:layout_constraintVertical_chainStyle="packed"
+ app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintTop_toTopOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintBottom_toTopOf="@id/subscribe_user_chip_view_user_detail_activity" />
<com.google.android.material.chip.Chip
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
- android:layout_gravity="center_horizontal"
+ android:layout_marginStart="16dp"
android:visibility="gone"
- app:chipStrokeColor="#00000000" />
+ app:chipStrokeColor="#00000000"
+ app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintTop_toBottomOf="@id/user_name_text_view_view_user_detail_activity"
+ app:layout_constraintBottom_toBottomOf="@id/icon_gif_image_view_view_user_detail_activity"
+ tools:visibility="visible" />
- <RelativeLayout
- android:layout_width="match_parent"
+ <TextView
+ android:id="@+id/karma_text_view_view_user_detail_activity"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ app:layout_constraintEnd_toStartOf="@id/cakeday_text_view_view_user_detail_activity"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/barrier5"
+ app:layout_constraintHorizontal_bias="0" />
+
+ <TextView
+ android:id="@+id/cakeday_text_view_view_user_detail_activity"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp">
-
- <TextView
- android:id="@+id/karma_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_toStartOf="@id/cakeday_text_view_view_user_detail_activity"
- android:textSize="?attr/font_default"
- android:fontFamily="?attr/font_family" />
-
- <TextView
- android:id="@+id/cakeday_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="end"
- android:layout_alignParentEnd="true"
- android:textSize="?attr/font_default"
- android:fontFamily="?attr/font_family" />
-
- </RelativeLayout>
+ android:layout_marginTop="16dp"
+ android:gravity="end"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/barrier5" />
<TextView
android:id="@+id/description_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
+ android:layout_marginTop="16dp"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family"
- android:visibility="gone" />
+ android:visibility="gone"
+ app:layout_constraintTop_toBottomOf="@id/barrier6"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ tools:visibility="visible" />
+
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/barrier5"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:barrierDirection="bottom"
+ app:constraint_referenced_ids="icon_gif_image_view_view_user_detail_activity,subscribe_user_chip_view_user_detail_activity" />
+
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/barrier6"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:barrierDirection="bottom"
+ app:constraint_referenced_ids="karma_text_view_view_user_detail_activity,cakeday_text_view_view_user_detail_activity" />
- </LinearLayout>
+ </androidx.constraintlayout.widget.ConstraintLayout>
- </RelativeLayout>
+ </LinearLayout>
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar_view_user_detail_activity"
diff --git a/app/src/main/res/layout-sw600dp/activity_view_user_detail.xml b/app/src/main/res/layout-sw600dp/activity_view_user_detail.xml
index 20b5e900..f088a0a1 100644
--- a/app/src/main/res/layout-sw600dp/activity_view_user_detail.xml
+++ b/app/src/main/res/layout-sw600dp/activity_view_user_detail.xml
@@ -15,14 +15,15 @@
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar_layout_view_user_detail_activity"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
app:titleEnabled="false"
app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed"
app:toolbarId="@+id/toolbar_view_user_detail_activity">
- <RelativeLayout
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
<pl.droidsonroids.gif.GifImageView
android:id="@+id/banner_image_view_view_user_detail_activity"
@@ -31,81 +32,99 @@
android:layout_height="160dp"
android:contentDescription="@string/content_description_banner_imageview" />
- <pl.droidsonroids.gif.GifImageView
- android:id="@+id/icon_gif_image_view_view_user_detail_activity"
- android:layout_width="72dp"
- android:layout_height="72dp"
- android:layout_marginTop="-36dp"
- android:layout_below="@id/banner_image_view_view_user_detail_activity"
- android:layout_centerHorizontal="true"
- android:elevation="4dp" />
-
- <LinearLayout
- android:id="@+id/toolbar_linear_layout_view_user_detail_activity"
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/toolbar_constraint_layout_view_user_detail_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingTop="36dp"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- android:layout_below="@id/banner_image_view_view_user_detail_activity">
+ android:padding="16dp">
+
+ <pl.droidsonroids.gif.GifImageView
+ android:id="@+id/icon_gif_image_view_view_user_detail_activity"
+ android:layout_width="72dp"
+ android:layout_height="72dp"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toTopOf="@id/karma_text_view_view_user_detail_activity" />
<TextView
android:id="@+id/user_name_text_view_view_user_detail_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:layout_marginBottom="16dp"
+ android:layout_marginStart="16dp"
+ android:paddingTop="8dp"
android:textSize="?attr/font_18"
android:fontFamily="?attr/font_family"
- android:layout_gravity="center_horizontal"/>
+ app:layout_constraintVertical_chainStyle="packed"
+ app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintTop_toTopOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintBottom_toTopOf="@id/subscribe_user_chip_view_user_detail_activity" />
<com.google.android.material.chip.Chip
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
- android:layout_gravity="center_horizontal"
+ android:layout_marginStart="16dp"
android:visibility="gone"
- app:chipStrokeColor="#00000000" />
+ app:chipStrokeColor="#00000000"
+ app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintTop_toBottomOf="@id/user_name_text_view_view_user_detail_activity"
+ app:layout_constraintBottom_toBottomOf="@id/icon_gif_image_view_view_user_detail_activity"
+ tools:visibility="visible" />
- <RelativeLayout
- android:layout_width="match_parent"
+ <TextView
+ android:id="@+id/karma_text_view_view_user_detail_activity"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ app:layout_constraintEnd_toStartOf="@id/cakeday_text_view_view_user_detail_activity"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/barrier5"
+ app:layout_constraintHorizontal_bias="0" />
+
+ <TextView
+ android:id="@+id/cakeday_text_view_view_user_detail_activity"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp">
-
- <TextView
- android:id="@+id/karma_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_toStartOf="@id/cakeday_text_view_view_user_detail_activity"
- android:textSize="?attr/font_default"
- android:fontFamily="?attr/font_family" />
-
- <TextView
- android:id="@+id/cakeday_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="end"
- android:layout_alignParentEnd="true"
- android:textSize="?attr/font_default"
- android:fontFamily="?attr/font_family" />
-
- </RelativeLayout>
+ android:layout_marginTop="16dp"
+ android:gravity="end"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/barrier5" />
<TextView
android:id="@+id/description_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
+ android:layout_marginTop="16dp"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family"
- android:visibility="gone" />
+ android:visibility="gone"
+ app:layout_constraintTop_toBottomOf="@id/barrier6"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ tools:visibility="visible" />
+
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/barrier5"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:barrierDirection="bottom"
+ app:constraint_referenced_ids="icon_gif_image_view_view_user_detail_activity,subscribe_user_chip_view_user_detail_activity" />
+
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/barrier6"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:barrierDirection="bottom"
+ app:constraint_referenced_ids="karma_text_view_view_user_detail_activity,cakeday_text_view_view_user_detail_activity" />
- </LinearLayout>
+ </androidx.constraintlayout.widget.ConstraintLayout>
- </RelativeLayout>
+ </LinearLayout>
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar_view_user_detail_activity"
diff --git a/app/src/main/res/layout/activity_view_user_detail.xml b/app/src/main/res/layout/activity_view_user_detail.xml
index 4bea527a..1df82c1d 100644
--- a/app/src/main/res/layout/activity_view_user_detail.xml
+++ b/app/src/main/res/layout/activity_view_user_detail.xml
@@ -15,14 +15,15 @@
<com.google.android.material.appbar.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar_layout_view_user_detail_activity"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
app:titleEnabled="false"
app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed"
app:toolbarId="@+id/toolbar_view_user_detail_activity">
- <RelativeLayout
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
<pl.droidsonroids.gif.GifImageView
android:id="@+id/banner_image_view_view_user_detail_activity"
@@ -31,81 +32,99 @@
android:layout_height="160dp"
android:contentDescription="@string/content_description_banner_imageview" />
- <pl.droidsonroids.gif.GifImageView
- android:id="@+id/icon_gif_image_view_view_user_detail_activity"
- android:layout_width="72dp"
- android:layout_height="72dp"
- android:layout_marginTop="-36dp"
- android:layout_below="@id/banner_image_view_view_user_detail_activity"
- android:layout_centerHorizontal="true"
- android:elevation="4dp" />
-
- <LinearLayout
- android:id="@+id/toolbar_linear_layout_view_user_detail_activity"
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/toolbar_constraint_layout_view_user_detail_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingTop="36dp"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- android:layout_below="@id/banner_image_view_view_user_detail_activity">
+ android:padding="16dp">
+
+ <pl.droidsonroids.gif.GifImageView
+ android:id="@+id/icon_gif_image_view_view_user_detail_activity"
+ android:layout_width="72dp"
+ android:layout_height="72dp"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintBottom_toTopOf="@id/karma_text_view_view_user_detail_activity" />
<TextView
android:id="@+id/user_name_text_view_view_user_detail_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:layout_marginBottom="16dp"
+ android:layout_marginStart="16dp"
+ android:paddingTop="8dp"
android:textSize="?attr/font_18"
android:fontFamily="?attr/font_family"
- android:layout_gravity="center_horizontal"/>
+ app:layout_constraintVertical_chainStyle="packed"
+ app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintTop_toTopOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintBottom_toTopOf="@id/subscribe_user_chip_view_user_detail_activity" />
<com.google.android.material.chip.Chip
android:id="@+id/subscribe_user_chip_view_user_detail_activity"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
- android:layout_gravity="center_horizontal"
+ android:layout_marginStart="16dp"
android:visibility="gone"
- app:chipStrokeColor="#00000000" />
+ app:chipStrokeColor="#00000000"
+ app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_view_user_detail_activity"
+ app:layout_constraintTop_toBottomOf="@id/user_name_text_view_view_user_detail_activity"
+ app:layout_constraintBottom_toBottomOf="@id/icon_gif_image_view_view_user_detail_activity"
+ tools:visibility="visible" />
- <RelativeLayout
- android:layout_width="match_parent"
+ <TextView
+ android:id="@+id/karma_text_view_view_user_detail_activity"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp">
-
- <TextView
- android:id="@+id/karma_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_toStartOf="@id/cakeday_text_view_view_user_detail_activity"
- android:textSize="?attr/font_default"
- android:fontFamily="?attr/font_family" />
-
- <TextView
- android:id="@+id/cakeday_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="end"
- android:layout_alignParentEnd="true"
- android:textSize="?attr/font_default"
- android:fontFamily="?attr/font_family" />
-
- </RelativeLayout>
+ android:layout_marginTop="16dp"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ app:layout_constraintEnd_toStartOf="@id/cakeday_text_view_view_user_detail_activity"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/barrier5"
+ app:layout_constraintHorizontal_bias="0" />
+
+ <TextView
+ android:id="@+id/cakeday_text_view_view_user_detail_activity"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:gravity="end"
+ android:textSize="?attr/font_default"
+ android:fontFamily="?attr/font_family"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/barrier5" />
<TextView
android:id="@+id/description_text_view_view_user_detail_activity"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginBottom="16dp"
+ android:layout_marginTop="16dp"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family"
- android:visibility="gone" />
+ android:visibility="gone"
+ app:layout_constraintTop_toBottomOf="@id/barrier6"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintBottom_toBottomOf="parent"
+ tools:visibility="visible" />
+
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/barrier5"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:barrierDirection="bottom"
+ app:constraint_referenced_ids="icon_gif_image_view_view_user_detail_activity,subscribe_user_chip_view_user_detail_activity" />
+
+ <androidx.constraintlayout.widget.Barrier
+ android:id="@+id/barrier6"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ app:barrierDirection="bottom"
+ app:constraint_referenced_ids="karma_text_view_view_user_detail_activity,cakeday_text_view_view_user_detail_activity" />
- </LinearLayout>
+ </androidx.constraintlayout.widget.ConstraintLayout>
- </RelativeLayout>
+ </LinearLayout>
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar_view_user_detail_activity"
diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml
index 9849ec08..8e5924d2 100644
--- a/app/src/main/res/values-cs/strings.xml
+++ b/app/src/main/res/values-cs/strings.xml
@@ -144,7 +144,6 @@
<string name="follow_failed">"Sledování selhalo"</string>
<string name="unfollowed">"Sledování zrušeno"</string>
<string name="unfollow_failed">"Rušení sledování selhalo"</string>
- <string name="content_description_banner_imageview">"Bannerový obrázek subredditu"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Hledat cokoli"</string>
<string name="no_posts_no_lazy_mode">"Nejsou dostupné žádné příspěvky"</string>
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 2c74441f..27911615 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -142,7 +142,6 @@ Tippen für Neuversuch."</string>
<string name="follow_failed">"Folgen fehlgeschlagen"</string>
<string name="unfollowed">"Entfolgt"</string>
<string name="unfollow_failed">"Entfolgen fehlgeschlagen"</string>
- <string name="content_description_banner_imageview">"Subreddit Banner-Bild"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Alles durchsuchen"</string>
<string name="no_posts_no_lazy_mode">"Keine Beiträge verfügbar"</string>
diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml
index b4d61766..fede6623 100644
--- a/app/src/main/res/values-el/strings.xml
+++ b/app/src/main/res/values-el/strings.xml
@@ -120,7 +120,6 @@
<string name="follow_failed">"Η παρακολούθηση απέτυχε"</string>
<string name="unfollowed">"Καταργήθηκε η παρακολούθηση"</string>
<string name="unfollow_failed">"Η κατάργηση παρακολούθησης απέτυχε"</string>
- <string name="content_description_banner_imageview">"Εικόνα Μπάνερ Subreddit"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Αναζήτηση"</string>
<string name="no_posts_no_lazy_mode">"Καμία ανάρτηση"</string>
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 09577f60..3a3fefb4 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -150,7 +150,6 @@ Toca para reintentar."</string>
<string name="follow_failed">"No fue posible seguir"</string>
<string name="unfollowed">"Dejó de Seguir"</string>
<string name="unfollow_failed">"Error al dejar de seguir"</string>
- <string name="content_description_banner_imageview">"Imagen de portada del subreddit"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Busca cualquier cosa"</string>
<string name="no_posts_no_lazy_mode">"No hay publicaciones disponibles"</string>
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 23210c5a..6d807084 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -152,7 +152,6 @@ Appuyez pour réessayer."</string>
<string name="follow_failed">"Échec du suivi"</string>
<string name="unfollowed">"Suivi annulé"</string>
<string name="unfollow_failed">"Echec de l'annulation du suivi"</string>
- <string name="content_description_banner_imageview">"Image de la bannière du subreddit"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Rechercher n'importe quoi"</string>
<string name="no_posts_no_lazy_mode">"Aucune publication disponible"</string>
diff --git a/app/src/main/res/values-hi/strings.xml b/app/src/main/res/values-hi/strings.xml
index 55b2e2a2..39d64ed0 100644
--- a/app/src/main/res/values-hi/strings.xml
+++ b/app/src/main/res/values-hi/strings.xml
@@ -155,7 +155,6 @@
<string name="follow_failed">"अनुसरण असफल"</string>
<string name="unfollowed">"अनफॉलोड"</string>
<string name="unfollow_failed">"अ-अनुसरण असफल"</string>
- <string name="content_description_banner_imageview">"सबरैडिट बैनर चित्र"</string>
<string name="app_label">"इनफिनिटी"</string>
<string name="search_hint">"कुछ खोजिए"</string>
<string name="no_posts_no_lazy_mode">"कोई पोस्ट उपलब्ध नहीं"</string>
diff --git a/app/src/main/res/values-hr/strings.xml b/app/src/main/res/values-hr/strings.xml
index d85716d2..a4221052 100644
--- a/app/src/main/res/values-hr/strings.xml
+++ b/app/src/main/res/values-hr/strings.xml
@@ -142,7 +142,6 @@
<string name="follow_failed">"Praćenje nije uspjelo"</string>
<string name="unfollowed">"Odpraćeno"</string>
<string name="unfollow_failed">"Odpraćenje nije uspjelo"</string>
- <string name="content_description_banner_imageview">"Slika podreddita"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Pretražite nešto"</string>
<string name="no_posts_no_lazy_mode">"Nema dostupnih objava"</string>
diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml
index 49797443..9de8f1aa 100644
--- a/app/src/main/res/values-hu/strings.xml
+++ b/app/src/main/res/values-hu/strings.xml
@@ -124,7 +124,6 @@
<string name="follow_failed">"Követés sikertelen"</string>
<string name="unfollowed">"Követés megszüntetve"</string>
<string name="unfollow_failed">"Követés megszüntetése sikertelen"</string>
- <string name="content_description_banner_imageview">"Subreddit borítóképe"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Keressen bármire"</string>
<string name="no_posts_no_lazy_mode">"Nincs rendelkezésre álló bejegyzés"</string>
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index bff0782b..12af767b 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -126,7 +126,6 @@ Tocca per riprovare."</string>
<string name="follow_failed">"Errore nel seguire"</string>
<string name="unfollowed">"Smesso di seguire"</string>
<string name="unfollow_failed">"Disiscrizione non riuscita"</string>
- <string name="content_description_banner_imageview">"Banner subreddit"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Cerca qualcosa"</string>
<string name="no_posts_no_lazy_mode">"Nessun post disponibile"</string>
diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml
index 16e5af01..c6c7dfe2 100644
--- a/app/src/main/res/values-ja/strings.xml
+++ b/app/src/main/res/values-ja/strings.xml
@@ -157,7 +157,6 @@
<string name="follow_failed">"フォローに失敗しました"</string>
<string name="unfollowed">"フォローを解除しました"</string>
<string name="unfollow_failed">"フォローの解除に失敗しました"</string>
- <string name="content_description_banner_imageview">"Subredditのバナー画像"</string>
<string name="app_label">"ホーム - Infinity"</string>
<string name="search_hint">"何でも検索してみてください"</string>
<string name="no_posts_no_lazy_mode">"投稿がありません"</string>
diff --git a/app/src/main/res/values-ko/strings.xml b/app/src/main/res/values-ko/strings.xml
index 2743e087..37814dde 100644
--- a/app/src/main/res/values-ko/strings.xml
+++ b/app/src/main/res/values-ko/strings.xml
@@ -144,7 +144,6 @@
<string name="follow_failed">"팔로우 실패"</string>
<string name="unfollowed">"언팔로우됨"</string>
<string name="unfollow_failed">"언팔로우 실패"</string>
- <string name="content_description_banner_imageview">"서브레딧 배너 사진"</string>
<string name="app_label">"인피니티"</string>
<string name="search_hint">"아무거나 검색"</string>
<string name="no_posts_no_lazy_mode">"글 없음"</string>
diff --git a/app/src/main/res/values-nl/strings.xml b/app/src/main/res/values-nl/strings.xml
index 5b4d50e8..bf7f1c6d 100644
--- a/app/src/main/res/values-nl/strings.xml
+++ b/app/src/main/res/values-nl/strings.xml
@@ -141,7 +141,6 @@ Druk om opnieuw te proberen."</string>
<string name="follow_failed">"Het volgen is mislukt"</string>
<string name="unfollowed">"Ontvolgd"</string>
<string name="unfollow_failed">"Het ontvolgen is mislukt"</string>
- <string name="content_description_banner_imageview">"Omslagfoto van subreddit"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Zoek iets"</string>
<string name="no_posts_no_lazy_mode">"Geen berichten beschikbaar"</string>
diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml
index 50a26ecf..0c343d9c 100644
--- a/app/src/main/res/values-pl/strings.xml
+++ b/app/src/main/res/values-pl/strings.xml
@@ -139,7 +139,6 @@ Naciśnij, aby spróbować ponownie."</string>
<string name="follow_failed">"Nie udało się zaobserwować"</string>
<string name="unfollowed">"Przestano obserwować"</string>
<string name="unfollow_failed">"Nie udało się przestać obserwować"</string>
- <string name="content_description_banner_imageview">"Banner subreddita"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Wyszukaj cokolwiek"</string>
<string name="no_posts_no_lazy_mode">"Nie znaleziono postów"</string>
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index b608a9d6..47a3c4e2 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -142,7 +142,6 @@ Toque para tentar de novo."</string>
<string name="follow_failed">"Erro ao seguir"</string>
<string name="unfollowed">"Parou de Seguir"</string>
<string name="unfollow_failed">"Erro ao parar de seguir"</string>
- <string name="content_description_banner_imageview">"Imagem do cartaz do subreddit"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Busque qualquer coisa"</string>
<string name="no_posts_no_lazy_mode">"Sem postagens disponíveis"</string>
diff --git a/app/src/main/res/values-pt/strings.xml b/app/src/main/res/values-pt/strings.xml
index 646f9916..3bc40f7f 100644
--- a/app/src/main/res/values-pt/strings.xml
+++ b/app/src/main/res/values-pt/strings.xml
@@ -144,7 +144,6 @@ Toque para tentar novamente."</string>
<string name="follow_failed">"Falhou ao Seguir"</string>
<string name="unfollowed">"Deixado de Seguir"</string>
<string name="unfollow_failed">"Falhou ao Deixar de Seguir"</string>
- <string name="content_description_banner_imageview">"Imagem Estandarte da Comunidade"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Pesquisar por qualquer coisa"</string>
<string name="no_posts_no_lazy_mode">"Sem publicações disponíveis"</string>
diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml
index 6758df68..483d2ac8 100644
--- a/app/src/main/res/values-ro/strings.xml
+++ b/app/src/main/res/values-ro/strings.xml
@@ -144,7 +144,6 @@ Apăsați pentru reîncercare."</string>
<string name="follow_failed">"Urmărire eșuată"</string>
<string name="unfollowed">"Urmărire anulată"</string>
<string name="unfollow_failed">"Eșuare anulare urmărire"</string>
- <string name="content_description_banner_imageview">"Banner subreddit"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Căutați orice"</string>
<string name="no_posts_no_lazy_mode">"Nicio postare disponibilă"</string>
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index 031ce02f..3166d7bd 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -147,7 +147,6 @@
<string name="follow_failed">"Невозможно начать следить"</string>
<string name="unfollowed">"Вы не следите"</string>
<string name="unfollow_failed">"Невозможно отписаться"</string>
- <string name="content_description_banner_imageview">"Изображение баннера сабреддита"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Ищите что угодно"</string>
<string name="no_posts_no_lazy_mode">"Нет доступных постов"</string>
diff --git a/app/src/main/res/values-ta/strings.xml b/app/src/main/res/values-ta/strings.xml
index 6fdc6705..34e53837 100644
--- a/app/src/main/res/values-ta/strings.xml
+++ b/app/src/main/res/values-ta/strings.xml
@@ -137,7 +137,6 @@
<string name="follow_failed">"பின்தொடர்தல் தோல்வி"</string>
<string name="unfollowed">"பின்தொடர்நீக்கம்"</string>
<string name="unfollow_failed">"பின்தொடர்நீக்கம் தோல்வி"</string>
- <string name="content_description_banner_imageview">"துணைரெட்டிட் பதாகைப் படம்"</string>
<string name="search_hint">"எதையும் தேடு"</string>
<string name="no_posts_no_lazy_mode">"இடுகைகள் ஏதுமில்லை"</string>
<string name="lazy_mode_stop">"சோம்பல் பயன்முறை நின்றது"</string>
diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml
index 714462ed..68cb602c 100644
--- a/app/src/main/res/values-tr-rTR/strings.xml
+++ b/app/src/main/res/values-tr-rTR/strings.xml
@@ -141,7 +141,6 @@ This translation does it work well in this kinda format. People use "since" in s
<string name="follow_failed">"Takip edilemedi"</string>
<string name="unfollowed">"Takip bırakıldı"</string>
<string name="unfollow_failed">"Takip bırakılamadı"</string>
- <string name="content_description_banner_imageview">"Subreddit Banner Resmi"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Bir şey arayın"</string>
<string name="no_posts_no_lazy_mode">"Hiç gönderi yok"</string>
diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml
index fe0c728c..c2ffe7f8 100644
--- a/app/src/main/res/values-uk/strings.xml
+++ b/app/src/main/res/values-uk/strings.xml
@@ -144,7 +144,6 @@
<string name="follow_failed">"Не вдалося стежити"</string>
<string name="unfollowed">"Не відстежується"</string>
<string name="unfollow_failed">"Не вдалося не відстежувати"</string>
- <string name="content_description_banner_imageview">"Зображення банера сабредиту"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Шукати все"</string>
<string name="no_posts_no_lazy_mode">"Нема доступних дописів"</string>
diff --git a/app/src/main/res/values-vi/strings.xml b/app/src/main/res/values-vi/strings.xml
index 42f543d8..3ed89fbf 100644
--- a/app/src/main/res/values-vi/strings.xml
+++ b/app/src/main/res/values-vi/strings.xml
@@ -140,7 +140,6 @@
<string name="follow_failed">"Theo dõi thất bại"</string>
<string name="unfollowed">"Đã hủy theo dõi"</string>
<string name="unfollow_failed">"Hủy theo dõi thất bại"</string>
- <string name="content_description_banner_imageview">"Ảnh bìa của Subreddit"</string>
<string name="app_label">"Infinity"</string>
<string name="search_hint">"Tìm bất cứ thứ gì"</string>
<string name="no_posts_no_lazy_mode">"Không bài đăng nào có sẵn"</string>
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index 91dee8b4..7511203c 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -140,7 +140,6 @@
<string name="unfollow_failed">"取消关注失败"</string>
<!-- 参考国内一些评论,将“Subreddit”翻译为“社区” -->
- <string name="content_description_banner_imageview">"版块横幅图片"</string>
<!-- 这个感觉不必翻译 -->
<string name="app_label">"Infinity"</string>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ffc28bf4..ee33c49d 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -167,8 +167,6 @@
<string name="unfollowed">Unfollowed</string>
<string name="unfollow_failed">Unfollowing Failed</string>
- <string name="content_description_banner_imageview">Subreddit Banner Image</string>
-
<string name="app_label">Infinity</string>
<string name="search_hint">Search anything</string>
<string name="search_only_subreddits_hint">Search subreddits</string>
@@ -1434,6 +1432,7 @@
<string name="comment_filter_min_vote_explanation">Comments that have a score lower than the following value will be filtered out (-1 means no restriction).</string>
<string name="comment_filter_max_vote_explanation">Comments that have a score higher than the following value will be filtered out (-1 means no restriction).</string>
+ <string name="content_description_banner_imageview">Banner Image</string>
<string name="content_description_create_comment_filter">Create comment filter</string>
<string name="content_description_add_comment_filter_usage">Apply comment filter to somewhere</string>
<string name="content_description_comment_filter_add_user">Add a user to comment filter</string>