Skip to content

Instantly share code, notes, and snippets.

@waliahimanshu
Created January 17, 2020 22:15
Show Gist options
  • Save waliahimanshu/c237c1dce48183aa8e88b3c021ff4576 to your computer and use it in GitHub Desktop.
Save waliahimanshu/c237c1dce48183aa8e88b3c021ff4576 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="64dp">
<ImageView
android:id="@+id/imageView2"
android:layout_width="@dimen/icon_size_medium_small"
android:layout_height="@dimen/icon_size_medium_small"
android:layout_marginRight="8dp"
tools:srcCompat="@tools:sample/avatars" />
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Text.Title"
android:textSize="14sp"
android:layout_toEndOf="@id/imageView2"
android:text="Himanshu Walia" />
<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/textView4"
android:textSize="12sp"
android:layout_toEndOf="@id/imageView2"
android:text="Commented" />
<ImageView
android:id="@+id/imageView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:layout_alignParentEnd="true"
app:srcCompat="@drawable/ic_reply_black_24dp" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment