Created
October 24, 2019 15:11
-
-
Save muzafakar/5be956218104bb5a6642081be44efd67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.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" | |
android:orientation="vertical" | |
android:padding="8dp"> | |
<!--Kalo error ganti ke ImageView--> | |
<de.hdodenhof.circleimageview.CircleImageView | |
android:id="@+id/circleImageView" | |
android:layout_width="72dp" | |
android:layout_height="72dp" | |
android:src="@drawable/suyanto" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toTopOf="parent" /> | |
<TextView | |
android:id="@+id/textView8" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginStart="8dp" | |
android:text="Rektor Amikom" | |
android:textColor="@android:color/black" | |
android:textSize="18sp" | |
android:textStyle="bold" | |
app:layout_constraintBottom_toTopOf="@+id/textView7" | |
app:layout_constraintStart_toEndOf="@+id/circleImageView" | |
app:layout_constraintTop_toTopOf="parent" | |
app:layout_constraintVertical_chainStyle="packed" /> | |
<TextView | |
android:id="@+id/textView7" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_marginStart="8dp" | |
android:layout_marginTop="4dp" | |
android:ellipsize="end" | |
android:maxLines="1" | |
android:text="Assalamu'alaikum Warahmatullah Wabarakatuh" | |
android:textSize="16sp" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toEndOf="@+id/circleImageView" | |
app:layout_constraintTop_toBottomOf="@+id/textView8" | |
app:layout_constraintVertical_chainStyle="packed" /> | |
<TextView | |
android:id="@+id/textView9" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="11:23 AM" | |
app:layout_constraintBottom_toBottomOf="@+id/textView8" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintTop_toTopOf="@+id/textView8" /> | |
<View | |
android:layout_width="0dp" | |
android:layout_height="1dp" | |
android:layout_marginStart="8dp" | |
android:background="@android:color/darker_gray" | |
app:layout_constraintBottom_toBottomOf="@+id/circleImageView" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toEndOf="@+id/circleImageView" /> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment