From 71935a00580a1e5975c3a9263be32a2915544f21 Mon Sep 17 00:00:00 2001 From: Mahe Iram Khan <65779580+ForgottenProgramme@users.noreply.github.com> Date: Fri, 4 Dec 2020 15:26:12 +0530 Subject: [PATCH] Fix #2176: Added RTL Support for Profile List Screen (profile_view_profile_list.xml file) (#2199) * RTL Support for ongoing_topic_item Added RTL Support in the ongoing_topic_item * Update Project.xml * Update Project.xml * RTL support Profile List * Update Project.xml * Update build.gradle * Update gradle-wrapper.properties * Update gradle-wrapper.properties --- app/src/main/res/layout-land/profile_list_profile_view.xml | 2 ++ app/src/main/res/layout/profile_list_profile_view.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/src/main/res/layout-land/profile_list_profile_view.xml b/app/src/main/res/layout-land/profile_list_profile_view.xml index c98a97a7d44..d060e5b1070 100644 --- a/app/src/main/res/layout-land/profile_list_profile_view.xml +++ b/app/src/main/res/layout-land/profile_list_profile_view.xml @@ -41,6 +41,7 @@ android:maxLines="1" android:text="@{profile.name}" android:textColor="@color/oppiaPrimaryTextDark" + android:textAlignment="viewStart" android:textSize="16sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" @@ -56,6 +57,7 @@ android:fontFamily="sans-serif" android:text="@string/profile_chooser_admin" android:textColor="@color/black_38" + android:textAlignment="viewStart" android:textSize="12sp" android:textStyle="italic" android:visibility="@{profile.isAdmin ? View.VISIBLE : View.GONE}" diff --git a/app/src/main/res/layout/profile_list_profile_view.xml b/app/src/main/res/layout/profile_list_profile_view.xml index bcdb0502518..9e485528d81 100644 --- a/app/src/main/res/layout/profile_list_profile_view.xml +++ b/app/src/main/res/layout/profile_list_profile_view.xml @@ -41,6 +41,7 @@ android:maxLines="1" android:text="@{profile.name}" android:textColor="@color/oppiaPrimaryTextDark" + android:textAlignment="viewStart" android:textSize="16sp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" @@ -56,6 +57,7 @@ android:fontFamily="sans-serif" android:text="@string/profile_chooser_admin" android:textColor="@color/black_38" + android:textAlignment="viewStart" android:textSize="12sp" android:textStyle="italic" android:visibility="@{profile.isAdmin ? View.VISIBLE : View.GONE}"