Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fillViewport="true"
- android:background="#99ECA0"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/change"
- android:layout_width="200dp"
- android:layout_height="50dp"
- android:layout_gravity="center"
- android:layout_marginTop="30dp"
- android:layout_marginBottom="10dp"
- android:background="@drawable/btnradius"
- android:gravity="center"
- android:text="CardView profile"
- android:textColor="@color/black"
- android:textSize="17sp"/>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <GridLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal"
- android:layout_marginLeft="15dp"
- android:layout_marginTop="50dp"
- android:layout_marginRight="15dp"
- android:columnCount="1"
- android:columnOrderPreserved="false"
- android:rowCount="1">
- <androidx.cardview.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="10dp"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- app:cardCornerRadius="25dp"
- app:cardElevation="5dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:orientation="vertical">
- <ImageButton
- android:id="@+id/picture"
- android:layout_width="200dp"
- android:layout_height="200dp"
- android:layout_gravity="center"
- android:background="@drawable/gg">
- </ImageButton>
- <TextView
- android:id="@+id/name"
- android:layout_width="208dp"
- android:layout_height="18dp"
- android:layout_marginStart="100dp"
- android:layout_marginTop="30dp"
- android:text="Name"
- android:textColor="@color/black"
- android:textSize="17sp">
- </TextView>
- <TextView
- android:id="@+id/phone"
- android:layout_width="216dp"
- android:layout_height="18dp"
- android:layout_marginStart="100dp"
- android:layout_marginTop="20dp"
- android:text="Phone"
- android:textColor="@color/black"
- android:textSize="17sp">
- </TextView>
- <TextView
- android:id="@+id/email"
- android:layout_width="226dp"
- android:layout_height="33dp"
- android:layout_marginStart="100dp"
- android:layout_marginTop="20dp"
- android:text="email"
- android:textColor="@color/black"
- android:textSize="17sp">
- </TextView>
- </LinearLayout>
- </androidx.cardview.widget.CardView>
- </GridLayout>
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment