Advertisement
Imran2544

about xml

Nov 28th, 2020
1,382
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:orientation="vertical"
  8.    android:id="@+id/about_layout"
  9.    tools:context=".About">
  10.  
  11.     <TextView
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:text="About the develper"
  15.        android:textStyle="bold"
  16.        android:textSize="@dimen/_20sdp"
  17.        android:textColor="@color/black"
  18.        android:layout_gravity="center_horizontal"
  19.        android:padding="20sp" />
  20.  
  21.     <androidx.cardview.widget.CardView
  22.        android:layout_width="160sp"
  23.        android:layout_height="160sp"
  24.        app:cardCornerRadius="250dp"
  25.        app:cardElevation="20dp"
  26.        android:layout_gravity="center_horizontal"
  27.        android:padding="10sp"
  28.        >
  29.         <androidx.cardview.widget.CardView
  30.            android:layout_width="150dp"
  31.            android:layout_height="150dp"
  32.            app:cardCornerRadius="250dp"
  33.            android:elevation="12dp"
  34.            android:layout_gravity="center">
  35.  
  36.             <ImageView
  37.                android:layout_width="150dp"
  38.                android:layout_height="150dp"
  39.                android:src="@drawable/dp"
  40.                android:scaleType="centerCrop"/>
  41.  
  42.         </androidx.cardview.widget.CardView>
  43.  
  44.     </androidx.cardview.widget.CardView>
  45.  
  46.     <TextView
  47.        android:padding="25sp"
  48.        android:layout_width="wrap_content"
  49.        android:layout_height="wrap_content"
  50.        android:text="@string/about"
  51.        android:textColor="@color/black"
  52.        android:layout_gravity="center_horizontal"
  53.        android:gravity="center"
  54.        android:textSize="@dimen/_13sdp"
  55.        />
  56.  
  57. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement