Enhance profile screen #505

Merged
mmarif merged 1 commits from enhance-profile into master 2020-05-22 15:47:11 +00:00

View File

@ -8,51 +8,48 @@
android:orientation="vertical"> android:orientation="vertical">
<RelativeLayout <RelativeLayout
android:id="@+id/aboutFrame"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="172dp"
android:orientation="vertical" android:orientation="vertical"
android:padding="20dp" android:background="@drawable/nav_background"
android:layout_marginTop="15dp" android:gravity="top">
android:layout_marginBottom="15dp"
android:gravity="top"
android:id="@+id/aboutFrame" >
<ImageView
android:id="@+id/userAvatar"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_gravity="start"
android:contentDescription="@string/logo"
android:src="@mipmap/app_logo_round" />
<LinearLayout <LinearLayout
android:id="@+id/infoSection" android:id="@+id/layoutFrameAccount"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="186dp"
android:layout_toEndOf="@+id/userAvatar" android:padding="16dp"
android:layout_marginStart="20dp"
android:orientation="vertical"> android:orientation="vertical">
<ImageView
android:id="@+id/userAvatar"
android:layout_width="54dp"
android:layout_height="54dp"
android:layout_marginBottom="8dp"
android:layout_gravity="center"
android:contentDescription="@string/generalImgContentText"
android:src="@mipmap/app_logo_round" />
<TextView <TextView
android:id="@+id/userFullName" android:id="@+id/userFullName"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/app_name"
android:textIsSelectable="true" android:textIsSelectable="true"
android:layout_marginBottom="5dp" android:layout_marginBottom="8dp"
android:textSize="18sp" android:textSize="16sp"
android:textColor="?attr/primaryTextColor" android:textColor="@color/white"
android:layout_gravity="start"/> android:layout_gravity="center" />
<TextView <TextView
android:id="@+id/userLogin" android:id="@+id/userLogin"
android:textIsSelectable="true"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="5dp" android:textIsSelectable="true"
android:layout_marginBottom="8dp"
android:textSize="16sp" android:textSize="16sp"
android:layout_gravity="start" android:textColor="@color/white"
opyale marked this conversation as resolved
Review

Same here.

Same here.
android:textColor="?attr/primaryTextColor" /> android:layout_gravity="center" />
<TextView <TextView
android:id="@+id/userEmail" android:id="@+id/userEmail"
@ -61,8 +58,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="0dp" android:layout_marginBottom="0dp"
android:textSize="16sp" android:textSize="16sp"
android:layout_gravity="start" android:textColor="@color/white"
opyale marked this conversation as resolved
Review

Please use android:textColor="?attr/primaryTextColor" instead.

Please use ``android:textColor="?attr/primaryTextColor"`` instead.
android:textColor="?attr/primaryTextColor" /> android:layout_gravity="center" />
</LinearLayout> </LinearLayout>