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
7e5d5714
Commit
7e5d5714
authored
Sep 18, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add item_room_message.xml
parent
e3cdf996
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
0 deletions
+43
-0
item_room_message.xml
app/src/main/res/layout/item_room_message.xml
+43
-0
No files found.
app/src/main/res/layout/item_room_message.xml
0 → 100644
View file @
7e5d5714
<?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"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"@dimen/margin_16"
>
<include
android:id=
"@+id/dayLayout"
layout=
"@layout/day"
/>
<chat.rocket.android.widget.RocketChatAvatar
android:id=
"@+id/userAvatar"
android:layout_width=
"40dp"
android:layout_height=
"40dp"
android:layout_marginTop=
"@dimen/margin_24"
app:layout_constraintTop_toBottomOf=
"@+id/dayLayout"
app:layout_constraintLeft_toLeftOf=
"parent"
/>
<TextView
android:id=
"@+id/username"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/margin_16"
android:layout_marginLeft=
"@dimen/margin_16"
android:layout_marginStart=
"@dimen/margin_16"
android:textAppearance=
"@style/TextAppearance.RocketChat.Message.Username"
app:layout_constraintTop_toBottomOf=
"@+id/dayLayout"
app:layout_constraintLeft_toRightOf=
"@+id/userAvatar"
tools:text=
"\@john.doe"
/>
<chat.rocket.android.widget.message.RocketChatMessageLayout
android:id=
"@+id/messageBody"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"5dp"
android:layout_marginLeft=
"@dimen/margin_16"
android:layout_marginStart=
"@dimen/margin_16"
app:layout_constraintTop_toBottomOf=
"@+id/username"
app:layout_constraintLeft_toRightOf=
"@+id/userAvatar"
app:layout_constraintRight_toRightOf=
"parent"
/>
</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