Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xabber-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
xabber-android
Commits
85142b69
Commit
85142b69
authored
Feb 20, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chat viewer: layout improvements. Send button null background. Avatar bottom aligned.
parent
bbccea6b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
8 deletions
+5
-8
chat_viewer_item.xml
app/src/main/res/layout/chat_viewer_item.xml
+2
-0
chat_viewer_message.xml
app/src/main/res/layout/chat_viewer_message.xml
+3
-6
chat_viewer_message_own.xml
app/src/main/res/layout/chat_viewer_message_own.xml
+0
-2
No files found.
app/src/main/res/layout/chat_viewer_item.xml
View file @
85142b69
...
...
@@ -58,7 +58,9 @@
android:layout_alignParentBottom=
"true"
android:layout_alignParentRight=
"true"
android:layout_alignParentEnd=
"true"
android:padding=
"8dp"
android:src=
"@drawable/ic_send_white_24dp"
android:background=
"@null"
android:contentDescription=
"@string/chat_send"
/>
</RelativeLayout>
app/src/main/res/layout/chat_viewer_message.xml
View file @
85142b69
...
...
@@ -27,10 +27,9 @@
android:layout_height=
"32dip"
android:src=
"@drawable/avatar_1_1"
android:layout_marginTop=
"4dp"
android:layout_marginBottom=
"4dp"
/>
android:layout_alignParentBottom=
"true"
android:layout_alignParentLeft=
"true"
android:layout_alignParentStart=
"true"
/>
<TextView
android:id=
"@+id/text"
...
...
@@ -55,8 +54,6 @@
android:layout_marginStart=
"40dp"
android:layout_marginLeft=
"4dp"
android:textColor=
"@android:color/primary_text_light"
android:text=
"Some text\n line \nrgregrere"
android:background=
"@drawable/msg_in"
...
...
app/src/main/res/layout/chat_viewer_message_own.xml
View file @
85142b69
...
...
@@ -39,8 +39,6 @@
android:layout_marginEnd=
"4dp"
android:layout_marginRight=
"4dp"
android:textColor=
"@android:color/primary_text_light"
android:text=
"Some text\n line \nrgregrere"
android:background=
"@drawable/msg_out"
android:gravity=
"end"
...
...
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