0% found this document useful (0 votes)
28 views2 pages

XML

The document contains the code for an Android layout file. It includes a ConstraintLayout with a TextView and ImageView at the top. Below is a View, followed by multiple TextViews that display details like a name, role, phone number, address, and emails. This layout is designed to display contact information, likely for a person named Ratan Tata, using different views and text within a vertical LinearLayout.

Uploaded by

fake name
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)
28 views2 pages

XML

The document contains the code for an Android layout file. It includes a ConstraintLayout with a TextView and ImageView at the top. Below is a View, followed by multiple TextViews that display details like a name, role, phone number, address, and emails. This layout is designed to display contact information, likely for a person named Ratan Tata, using different views and text within a vertical LinearLayout.

Uploaded by

fake name
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/ 2

<?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"
tools:context=".MainActivity">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="150dp">

<TextView
android:id="@+id/textView"
android:layout_width="172dp"
android:layout_height="63dp"
android:text="@string/tata_groups"
android:textAlignment="center"
android:textColor="#191818"
android:textSize="25sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.276"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.597" />

<ImageView
android:id="@+id/imageView"
android:layout_width="141dp"
android:layout_height="80dp"
android:textAlignment="viewEnd"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.881"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/tata"
android:contentDescription="TODO"
tools:ignore="ContentDescription" />
</androidx.constraintlayout.widget.ConstraintLayout>

<View
android:id="@+id/view2"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@color/white"
/>

<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="60dp"
android:text="Ratan tata"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="24sp" />
<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="60dp"
android:text="CEO"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="24sp" />

<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="60dp"
android:text="9591265305"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="24sp" />

<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="60dp"
android:text="'Bakhtawar', Colaba, Mumbai, Indiaa"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="24sp" />
<TextView
android:id="@+id/textView3"
android:layout_width="match_parent"
android:layout_height="60dp"
android:text="[email protected], [email protected]"
android:textAlignment="center"
android:textColor="#000000"
android:textSize="24sp" />

</LinearLayout>

You might also like