Commit b75f74d8 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update item_room_member.xml

parent f81ca6af
...@@ -6,28 +6,55 @@ ...@@ -6,28 +6,55 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="@dimen/margin_16"> android:padding="@dimen/margin_16">
<ImageView
android:id="@+id/status"
android:layout_width="8dp"
android:layout_height="8dp"
android:layout_marginLeft="@dimen/margin_8"
android:layout_marginStart="@dimen/margin_8"
app:layout_constraintTop_toTopOf="@+id/userAvatar"
app:layout_constraintBottom_toBottomOf="@+id/userAvatar"
app:srcCompat="@drawable/ic_user_status_black_24dp" />
<chat.rocket.android.widget.RocketChatAvatar <chat.rocket.android.widget.RocketChatAvatar
android:id="@+id/userAvatar" android:id="@+id/userAvatar"
android:layout_width="40dp" android:layout_width="30dp"
android:layout_height="40dp" /> android:layout_height="30dp"
android:layout_marginLeft="2dp"
android:layout_marginStart="2dp"
app:layout_constraintTop_toTopOf="@+id/textContainer"
app:layout_constraintBottom_toBottomOf="@+id/textContainer"
app:layout_constraintLeft_toRightOf="@+id/status" />
<TextView <LinearLayout
android:id="@+id/username" android:id="@+id/textContainer"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_16" android:layout_marginLeft="@dimen/margin_16"
android:layout_marginStart="@dimen/margin_16" android:layout_marginStart="@dimen/margin_16"
android:textAppearance="@style/TextAppearance.RocketChat.Message.Username"
app:layout_constraintTop_toTopOf="@+id/userAvatar"
app:layout_constraintLeft_toRightOf="@+id/userAvatar" app:layout_constraintLeft_toRightOf="@+id/userAvatar"
app:layout_constraintBottom_toBottomOf="@+id/userAvatar" android:orientation="vertical">
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.RocketChat.Message.Name"
tools:text="John Doe" />
<TextView
android:id="@+id/username"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.RocketChat.Message.Username"
tools:text="\@john.doe" /> tools:text="\@john.doe" />
</LinearLayout>
<View <View
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="1dp" android:layout_height="1dp"
android:layout_weight="1" android:layout_weight="1"
android:background="@color/colorDivider" android:background="@color/colorDivider"
android:layout_marginTop="@dimen/margin_8" android:layout_marginTop="@dimen/margin_16"
app:layout_constraintTop_toBottomOf="@+id/userAvatar" /> app:layout_constraintTop_toBottomOf="@+id/textContainer" />
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment