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
63c1bfd1
Unverified
Commit
63c1bfd1
authored
Mar 08, 2019
by
Filipe de Lima Brito
Committed by
GitHub
Mar 08, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2089 from kareemhamdy100/rtl_bug
[FIX] Chatroom showing empty messages in RTL layout
parents
28044ea6
f7f9f91c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
item_message.xml
app/src/main/res/layout/item_message.xml
+8
-9
No files found.
app/src/main/res/layout/item_message.xml
View file @
63c1bfd1
...
@@ -34,8 +34,8 @@
...
@@ -34,8 +34,8 @@
android:id=
"@+id/day"
android:id=
"@+id/day"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_margin
Lef
t=
"16dp"
android:layout_margin
Star
t=
"16dp"
android:layout_margin
Right
=
"16dp"
android:layout_margin
End
=
"16dp"
android:textAppearance=
"@style/Message.DayMarker"
android:textAppearance=
"@style/Message.DayMarker"
tools:text=
"Wednesday"
/>
tools:text=
"Wednesday"
/>
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
layout=
"@layout/avatar"
layout=
"@layout/avatar"
android:layout_width=
"40dp"
android:layout_width=
"40dp"
android:layout_height=
"40dp"
android:layout_height=
"40dp"
app:layout_constraint
Left_toLef
tOf=
"parent"
app:layout_constraint
Start_toStar
tOf=
"parent"
app:layout_constraintTop_toTopOf=
"@+id/message_header"
/>
app:layout_constraintTop_toTopOf=
"@+id/message_header"
/>
<LinearLayout
<LinearLayout
...
@@ -95,17 +95,16 @@
...
@@ -95,17 +95,16 @@
android:layout_marginStart=
"16dp"
android:layout_marginStart=
"16dp"
android:orientation=
"horizontal"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@+id/layout_avatar"
app:layout_constraintStart_toEndOf=
"@+id/layout_avatar"
app:layout_constraintStart_toEndOf=
"@+id/layout_avatar"
app:layout_constraintTop_toBottomOf=
"@+id/day_marker_layout"
>
app:layout_constraintTop_toBottomOf=
"@+id/day_marker_layout"
>
<TextView
<TextView
android:id=
"@+id/text_sender"
android:id=
"@+id/text_sender"
style=
"@style/Sender.Name.TextView"
style=
"@style/Sender.Name.TextView"
android:layout_width=
"
0dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"8dp"
android:layout_marginEnd=
"8dp"
android:
layout_weight=
"1
"
android:
maxLength=
"22
"
tools:text=
"User Name with long name"
/>
tools:text=
"User Name with long name"
/>
<TextView
<TextView
...
@@ -123,7 +122,7 @@
...
@@ -123,7 +122,7 @@
android:layout_marginStart=
"4dp"
android:layout_marginStart=
"4dp"
android:text=
"@string/msg_edited"
android:text=
"@string/msg_edited"
android:textStyle=
"italic"
android:textStyle=
"italic"
android:visibility=
"
gon
e"
android:visibility=
"
invisibl
e"
tools:visibility=
"visible"
/>
tools:visibility=
"visible"
/>
<ImageView
<ImageView
...
@@ -133,7 +132,7 @@
...
@@ -133,7 +132,7 @@
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:layout_marginStart=
"4dp"
android:layout_marginStart=
"4dp"
android:layout_marginTop=
"2dp"
android:layout_marginTop=
"2dp"
android:visibility=
"
gon
e"
android:visibility=
"
invisibl
e"
app:srcCompat=
"@drawable/ic_action_message_star_24dp"
app:srcCompat=
"@drawable/ic_action_message_star_24dp"
tools:visibility=
"visible"
/>
tools:visibility=
"visible"
/>
...
@@ -141,7 +140,7 @@
...
@@ -141,7 +140,7 @@
android:id=
"@+id/read_receipt_view"
android:id=
"@+id/read_receipt_view"
android:layout_width=
"24dp"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_height=
"24dp"
android:visibility=
"
gon
e"
android:visibility=
"
invisibl
e"
app:srcCompat=
"@drawable/ic_check_unread_24dp"
app:srcCompat=
"@drawable/ic_check_unread_24dp"
tools:visibility=
"visible"
/>
tools:visibility=
"visible"
/>
</LinearLayout>
</LinearLayout>
...
...
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