43 lines
1.6 KiB
XML
Executable File
43 lines
1.6 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<FrameLayout 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="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<android.support.v7.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_margin="10dp"
|
|
android:background="@android:color/white"
|
|
android:orientation="vertical"
|
|
app:cardCornerRadius="7dp"
|
|
app:cardElevation="4dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/avatar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="300dp"
|
|
android:layout_marginBottom="75dp"
|
|
android:contentDescription="@null"
|
|
android:scaleType="fitXY" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="75dp"
|
|
android:layout_gravity="bottom"
|
|
android:gravity="center|left"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="20dp">
|
|
|
|
<TextView
|
|
android:id="@+id/name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/colorPrimaryDark"
|
|
android:textAlignment="center"
|
|
android:textSize="18dp"
|
|
android:textStyle="bold" />
|
|
</LinearLayout>
|
|
</android.support.v7.widget.CardView>
|
|
</FrameLayout> |