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
89839a67
Commit
89839a67
authored
Jul 16, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Left padding added for input view in conference chat.
parent
a4cd95df
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
ChatViewerFragment.java
...c/main/java/com/xabber/android/ui/ChatViewerFragment.java
+3
-0
chat_viewer_fragment.xml
app/src/main/res/layout/chat_viewer_fragment.xml
+7
-0
No files found.
app/src/main/java/com/xabber/android/ui/ChatViewerFragment.java
View file @
89839a67
...
...
@@ -143,6 +143,8 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
AbstractChat
abstractChat
=
MessageManager
.
getInstance
().
getChat
(
account
,
user
);
securityButton
=
(
ImageButton
)
view
.
findViewById
(
R
.
id
.
button_security
);
View
spacer
=
view
.
findViewById
(
R
.
id
.
button_security_spacer
);
if
(
abstractChat
instanceof
RegularChat
)
{
securityButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
...
...
@@ -152,6 +154,7 @@ public class ChatViewerFragment extends Fragment implements PopupMenu.OnMenuItem
});
}
else
{
securityButton
.
setVisibility
(
View
.
GONE
);
spacer
.
setVisibility
(
View
.
VISIBLE
);
}
chatMessageAdapter
=
new
ChatMessageAdapter
(
getActivity
(),
account
,
user
,
this
);
...
...
app/src/main/res/layout/chat_viewer_fragment.xml
View file @
89839a67
...
...
@@ -73,6 +73,13 @@
android:src=
"@drawable/ic_security_grey_24dp"
/>
<Space
android:id=
"@+id/button_security_spacer"
android:layout_width=
"16dp"
android:layout_height=
"match_parent"
android:visibility=
"gone"
/>
<EditText
android:id=
"@+id/chat_input"
android:layout_width=
"0dp"
...
...
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