Browse Source

Enhance profile screen

tags/3.0.0-rc1
M M Arif 2 weeks ago
parent
commit
6a6bbef63d
1 changed files with 26 additions and 29 deletions
  1. +26
    -29
      app/src/main/res/layout/fragment_profile.xml

+ 26
- 29
app/src/main/res/layout/fragment_profile.xml View File

@@ -8,51 +8,48 @@
android:orientation="vertical">

<RelativeLayout
android:id="@+id/aboutFrame"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="172dp"
android:orientation="vertical"
android:padding="20dp"
android:layout_marginTop="15dp"
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" />
android:background="@drawable/nav_background"
android:gravity="top">

<LinearLayout
android:id="@+id/infoSection"
android:id="@+id/layoutFrameAccount"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toEndOf="@+id/userAvatar"
android:layout_marginStart="20dp"
android:layout_height="186dp"
android:padding="16dp"
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
android:id="@+id/userFullName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:textIsSelectable="true"
android:layout_marginBottom="5dp"
android:textSize="18sp"
android:textColor="?attr/primaryTextColor"
android:layout_gravity="start"/>
android:layout_marginBottom="8dp"
android:textSize="16sp"
android:textColor="@color/white"
android:layout_gravity="center" />

<TextView
android:id="@+id/userLogin"
android:textIsSelectable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:textIsSelectable="true"
android:layout_marginBottom="8dp"
android:textSize="16sp"
android:layout_gravity="start"
android:textColor="?attr/primaryTextColor" />
android:textColor="@color/white"
android:layout_gravity="center" />

<TextView
android:id="@+id/userEmail"
@@ -61,8 +58,8 @@
android:layout_height="wrap_content"
android:layout_marginBottom="0dp"
android:textSize="16sp"
android:layout_gravity="start"
android:textColor="?attr/primaryTextColor" />
android:textColor="@color/white"
android:layout_gravity="center" />

</LinearLayout>