63 lines
2.4 KiB
XML
63 lines
2.4 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<android.support.constraint.ConstraintLayout 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">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/thumb"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="230dp"
|
||
|
app:srcCompat="@android:drawable/ic_menu_gallery" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="60dp"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/userImg"
|
||
|
android:layout_width="140dp"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:adjustViewBounds="false"
|
||
|
android:clickable="false"
|
||
|
android:cropToPadding="false"
|
||
|
android:padding="5dp"
|
||
|
android:scaleType="centerInside"
|
||
|
app:srcCompat="@drawable/default_avatar" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_weight="1"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tittleTxt"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="TextView"
|
||
|
android:textSize="18sp"
|
||
|
android:textStyle="bold" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/descriptionTxt"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="TextView"
|
||
|
android:textColor="@android:color/darker_gray" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
|
||
|
</android.support.constraint.ConstraintLayout>
|