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
2d47080f
Commit
2d47080f
authored
Nov 21, 2017
by
Filipe de Lima Brito
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update layout.
parent
c755ec92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
item_chat.xml
app/src/main/res/layout/item_chat.xml
+12
-10
No files found.
app/src/main/res/layout/item_chat.xml
View file @
2d47080f
...
...
@@ -29,20 +29,21 @@
app:layout_constraintRight_toLeftOf=
"@id/right_container"
>
<TextView
android:id=
"@+id/text_
room
_name"
android:id=
"@+id/text_
chat
_name"
style=
"@style/TextAppearance.AppCompat.Title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:drawablePadding=
"5dp"
tools:text=
"Ronald Perkins"
/>
<TextView
android:id=
"@+id/text_last_message"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"4dp"
android:ellipsize=
"end"
android:maxLines=
"1"
app:layout_constraintLeft_toLeftOf=
"@id/text_room_name"
app:layout_constraintTop_toBottomOf=
"@+id/text_room_name"
app:layout_constraintTop_toBottomOf=
"@+id/text_chat_name"
tools:text=
"Type something"
/>
</android.support.constraint.ConstraintLayout>
...
...
@@ -72,21 +73,22 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
app:layout_constraintGuide_begin=
"4
4
dp"
/>
app:layout_constraintGuide_begin=
"4
8
dp"
/>
<TextView
android:id=
"@+id/text_
unread_message
"
android:id=
"@+id/text_
total_unread_messages
"
style=
"@style/TextAppearance.AppCompat.Caption"
android:layout_width=
"2
2
dp"
android:layout_height=
"2
2
dp"
android:background=
"@drawable/style_
unread_message
"
android:layout_width=
"2
0
dp"
android:layout_height=
"2
0
dp"
android:background=
"@drawable/style_
total_unread_messages
"
android:gravity=
"center"
android:textColor=
"@color/white"
android:textSize=
"10sp"
android:visibility=
"gone"
app:layout_constraintBottom_toBottomOf=
"@+id/guideline_two"
app:layout_constraintRight_toRightOf=
"parent"
tools:text=
"99+"
/>
tools:text=
"99+"
tools:visibility=
"visible"
/>
</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