Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
1200533a
Commit
1200533a
authored
Sep 22, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update item_room_member.xml
parent
5cabf9f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
25 deletions
+32
-25
item_room_member.xml
app/src/main/res/layout/item_room_member.xml
+32
-25
No files found.
app/src/main/res/layout/item_room_member.xml
View file @
1200533a
...
@@ -4,57 +4,64 @@
...
@@ -4,57 +4,64 @@
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"@dimen/margin_16"
>
android:paddingTop=
"@dimen/margin_16"
android:paddingRight=
"@dimen/margin_16"
<ImageView
android:paddingStart=
"@dimen/margin_16"
android:id=
"@+id/status"
android:paddingLeft=
"@dimen/margin_16"
android:layout_width=
"8dp"
android:paddingEnd=
"@dimen/margin_16"
>
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=
"30dp"
android:layout_width=
"40dp"
android:layout_height=
"30dp"
android:layout_height=
"40dp"
android:layout_marginLeft=
"2dp"
android:layout_marginTop=
"4dp"
android:layout_marginStart=
"2dp"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"@+id/textContainer"
app:layout_constraintBottom_toBottomOf=
"@+id/textContainer"
app:layout_constraintLeft_toRightOf=
"@+id/status"
/>
<
Linear
Layout
<
android.support.constraint.Constraint
Layout
android:id=
"@+id/
textC
ontainer"
android:id=
"@+id/
c
ontainer"
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"
app:layout_constraintLeft_toRightOf=
"@+id/userAvatar"
app:layout_constraintLeft_toRightOf=
"@+id/userAvatar"
>
android:orientation=
"vertical"
>
<ImageView
android:id=
"@+id/status"
android:layout_width=
"6dp"
android:layout_height=
"6dp"
app:layout_constraintTop_toTopOf=
"@+id/name"
app:layout_constraintBottom_toBottomOf=
"@+id/name"
app:srcCompat=
"@drawable/ic_user_status_black_24dp"
/>
<TextView
<TextView
android:id=
"@+id/name"
android:id=
"@+id/name"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"4dp"
android:layout_marginStart=
"4dp"
android:ellipsize=
"end"
android:maxLines=
"1"
android:textAppearance=
"@style/TextAppearance.RocketChat.Message.Name"
android:textAppearance=
"@style/TextAppearance.RocketChat.Message.Name"
app:layout_constraintLeft_toRightOf=
"@+id/status"
tools:text=
"John Doe"
/>
tools:text=
"John Doe"
/>
<TextView
<TextView
android:id=
"@+id/username"
android:id=
"@+id/username"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:ellipsize=
"end"
android:maxLines=
"1"
android:textAppearance=
"@style/TextAppearance.RocketChat.Message.Username"
android:textAppearance=
"@style/TextAppearance.RocketChat.Message.Username"
app:layout_constraintTop_toBottomOf=
"@+id/name"
app:layout_constraintLeft_toLeftOf=
"@+id/name"
tools:text=
"\@john.doe"
/>
tools:text=
"\@john.doe"
/>
</
Linear
Layout>
</
android.support.constraint.Constraint
Layout>
<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_16
"
android:layout_marginTop=
"
20dp
"
app:layout_constraintTop_toBottomOf=
"@+id/
textC
ontainer"
/>
app:layout_constraintTop_toBottomOf=
"@+id/
c
ontainer"
/>
</android.support.constraint.ConstraintLayout>
</android.support.constraint.ConstraintLayout>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment