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
7258f1e2
Commit
7258f1e2
authored
Nov 16, 2017
by
Leonardo Aramaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resize boundaries for the send/attach button
parent
286f46e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
26 deletions
+31
-26
message_composer.xml
...-android-widgets/src/main/res/layout/message_composer.xml
+31
-26
No files found.
rocket-chat-android-widgets/src/main/res/layout/message_composer.xml
View file @
7258f1e2
...
...
@@ -32,11 +32,11 @@
android:id=
"@+id/reply_icon"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_marginRight=
"8dp"
android:layout_marginEnd=
"8dp"
android:layout_centerVertical=
"true"
android:layout_alignParentStart=
"true"
android:layout_alignParentLeft=
"true"
android:layout_alignParentStart=
"true"
android:layout_centerVertical=
"true"
android:layout_marginEnd=
"8dp"
android:layout_marginRight=
"8dp"
android:adjustViewBounds=
"true"
app:srcCompat=
"@drawable/ic_reply"
app:tint=
"@color/color_accent"
/>
...
...
@@ -45,11 +45,11 @@
android:id=
"@+id/reply_cancel"
android:layout_width=
"24dp"
android:layout_height=
"24dp"
android:layout_marginLeft=
"8dp"
android:layout_marginStart=
"8dp"
android:layout_centerVertical=
"true"
android:layout_alignParentEnd=
"true"
android:layout_alignParentRight=
"true"
android:layout_centerVertical=
"true"
android:layout_marginLeft=
"8dp"
android:layout_marginStart=
"8dp"
android:adjustViewBounds=
"true"
app:srcCompat=
"@drawable/ic_close"
app:tint=
"@color/color_icon_composer"
/>
...
...
@@ -59,10 +59,10 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_alignBaseline=
"@id/reply_username"
android:layout_toEndOf=
"@+id/reply_thumb"
android:layout_toLeftOf=
"@+id/reply_cancel"
android:layout_toStartOf=
"@id/reply_cancel"
android:layout_toRightOf=
"@+id/reply_thumb"
android:layout_to
EndOf=
"@+id/reply_thumb
"
android:layout_to
StartOf=
"@id/reply_cancel
"
android:ellipsize=
"end"
android:maxLines=
"1"
android:textColor=
"@color/color_accent"
...
...
@@ -73,13 +73,13 @@
android:id=
"@+id/reply_thumb"
android:layout_width=
"32dp"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"4dp"
android:layout_marginEnd=
"4dp"
android:layout_toRightOf=
"@+id/reply_icon"
android:layout_toEndOf=
"@+id/reply_icon"
android:layout_alignBottom=
"@+id/reply_message"
android:layout_alignTop=
"@+id/reply_username"
android:layout_centerVertical=
"true"
android:layout_marginEnd=
"4dp"
android:layout_marginRight=
"4dp"
android:layout_toEndOf=
"@+id/reply_icon"
android:layout_toRightOf=
"@+id/reply_icon"
android:visibility=
"gone"
fresco:actualImageScaleType=
"fitCenter"
/>
...
...
@@ -88,10 +88,10 @@
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/reply_username"
android:layout_toEndOf=
"@+id/reply_thumb"
android:layout_toLeftOf=
"@+id/reply_cancel"
android:layout_toStartOf=
"@id/reply_cancel"
android:layout_toRightOf=
"@+id/reply_thumb"
android:layout_to
EndOf=
"@+id/reply_thumb
"
android:layout_to
StartOf=
"@id/reply_cancel
"
android:ellipsize=
"end"
android:maxLines=
"1"
tools:text=
"Message"
/>
...
...
@@ -128,29 +128,34 @@
<FrameLayout
android:id=
"@+id/container"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"16dp"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
android:layout_marginStart=
"16dp"
app:layout_constraintBottom_toBottomOf=
"@+id/editor"
android:layout_height=
"0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toRightOf=
"@+id/editor"
app:layout_constraintRight_toRightOf=
"parent"
app:layout_constraintTop_toTopOf=
"
@+id/editor
"
>
app:layout_constraintTop_toTopOf=
"
parent
"
>
<ImageButton
android:id=
"@+id/button_attach"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_gravity=
"center_vertical"
android:background=
"?attr/selectableItemBackgroundBorderless"
android:paddingEnd=
"16dp"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:paddingStart=
"16dp"
android:tint=
"@color/color_icon_composer"
app:srcCompat=
"@drawable/ic_attach_file_black_24dp"
/>
<ImageButton
android:id=
"@+id/button_send"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
android:layout_height=
"
match_par
ent"
android:background=
"?attr/selectableItemBackgroundBorderless"
android:paddingEnd=
"16dp"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:paddingStart=
"16dp"
android:tint=
"@color/color_accent"
app:srcCompat=
"@drawable/ic_send_black_24dp"
/>
</FrameLayout>
...
...
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