<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
RelativeLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
tools:ignore
=
"HardcodedText"
>
<
androidx.cardview.widget.CardView
android:layout_width
=
"match_parent"
android:layout_height
=
"wrap_content"
android:layout_margin
=
"8dp"
android:elevation
=
"4dp"
app:cardBackgroundColor
=
"@color/colorPrimaryDark"
app:cardCornerRadius
=
"4dp"
app:cardPreventCornerOverlap
=
"true"
app:cardUseCompatPadding
=
"true"
>
<
RelativeLayout
android:layout_width
=
"match_parent"
android:layout_height
=
"match_parent"
android:padding
=
"8dp"
>
<
ImageView
android:id
=
"@+id/imageView"
android:layout_width
=
"45dp"
android:layout_height
=
"45dp"
android:layout_alignParentStart
=
"true"
android:src
=
"@drawable/image_logo"
/>
<
TextView
android:id
=
"@+id/textView1"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_marginStart
=
"4dp"
android:layout_toEndOf
=
"@id/imageView"
android:text
=
"GeeksforGeeks"
android:textAlignment
=
"center"
android:textColor
=
"@android:color/white"
android:textSize
=
"18sp"
android:textStyle
=
"bold"
/>
<
TextView
android:id
=
"@+id/textView2"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_below
=
"@id/textView1"
android:layout_marginStart
=
"4dp"
android:layout_toEndOf
=
"@id/imageView"
android:text
=
"Computer Science Portal"
android:textColor
=
"@android:color/white"
android:textSize
=
"14sp"
/>
<
View
android:layout_width
=
"2dp"
android:layout_height
=
"45dp"
android:layout_toStartOf
=
"@id/gotoWebsiteButton"
android:background
=
"@android:color/white"
/>
<
Button
android:id
=
"@+id/gotoWebsiteButton"
style
=
"@style/Widget.MaterialComponents.Button.TextButton"
android:layout_width
=
"wrap_content"
android:layout_height
=
"wrap_content"
android:layout_alignParentEnd
=
"true"
android:text
=
"GOTO WEBSITE"
android:textColor
=
"@android:color/white"
android:textSize
=
"14sp"
/>
</
RelativeLayout
>
</
androidx.cardview.widget.CardView
>
</
RelativeLayout
>