0% found this document useful (0 votes)
24 views4 pages

Message

The document is an XML layout file for an Android profile page. It contains a nested series of LinearLayout and RelativeLayout containers defining the visual structure and elements of the profile page. This includes a circular image, name, statistics on subscribers/likes/shares, contact details, a follow button and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views4 pages

Message

The document is an XML layout file for an Android profile page. It contains a nested series of LinearLayout and RelativeLayout containers defining the visual structure and elements of the profile page. This includes a circular image, name, statistics on subscribers/likes/shares, contact details, a follow button and more.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

<?xml version="1.0" encoding="utf-8"?

>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#F6F5F5"
tools:context=".Profile">

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="350dp">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="300dp"
android:background="#2196F3"
android:orientation="vertical">

<androidx.cardview.widget.CardView
android:layout_width="140dp"
android:layout_height="140dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="35dp"
android:foregroundGravity="center_horizontal"
app:cardCornerRadius="100dp">

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/profile" />
</androidx.cardview.widget.CardView>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:text="KG Official"
android:textColor="#fff"
android:textSize="23dp"
android:textStyle="bold" />
</LinearLayout>

<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_alignParentBottom="true"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_centerHorizontal="true"
app:cardCornerRadius="5dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="3"
android:orientation="horizontal"
android:padding="10dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Subscribers"
android:textSize="17dp"
android:textColor="#000"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1000K+"
android:textSize="27dp"
android:textColor="#2196F3"
android:textStyle="bold"/>

</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Likes"
android:textSize="17dp"
android:textColor="#000"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="500K+"
android:textSize="27dp"
android:textColor="#2196F3"
android:textStyle="bold"/>

</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Shares"
android:textSize="17dp"
android:textColor="#000"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="33.1K+"
android:textSize="27dp"
android:textColor="#2196F3"
android:textStyle="bold"/>

</LinearLayout>

</LinearLayout>

</androidx.cardview.widget.CardView>
</RelativeLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center"
android:layout_marginTop="30dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginLeft="25dp">
<ImageView
android:layout_width="45dp"
android:layout_height="45dp"
android:src="@drawable/ic_baseline_email_24"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="[email protected]"
android:textColor="#000"
android:textSize="18dp"
android:paddingLeft="15dp"
android:layout_gravity="center_vertical"/>

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="20dp"
android:layout_marginLeft="25dp">
<ImageView
android:layout_width="45dp"
android:layout_height="45dp"
android:src="@drawable/ic_baseline_phone_iphone_24"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="+92345-1234567"
android:textColor="#000"
android:textSize="18dp"
android:paddingLeft="15dp"
android:layout_gravity="center_vertical"/>

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="20dp"
android:layout_marginLeft="25dp">
<ImageView
android:layout_width="45dp"
android:layout_height="45dp"
android:src="@drawable/ic_baseline_location_on_24"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Karachi- Pakistan"
android:textColor="#000"
android:textSize="18dp"
android:paddingLeft="15dp"
android:layout_gravity="center_vertical"/>

</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="20dp"
android:layout_marginLeft="25dp">
<ImageView
android:layout_width="45dp"
android:layout_height="45dp"
android:src="@drawable/ic_baseline_insert_comment_24"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Show all comments"
android:textColor="#000"
android:textSize="18dp"
android:paddingLeft="15dp"
android:layout_gravity="center_vertical"/>

</LinearLayout>
</LinearLayout>

<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Follow me"
android:layout_gravity="center_horizontal"
android:textSize="18dp"
android:layout_marginTop="15dp"/>

</LinearLayout>

You might also like