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
87ee4a6e
Commit
87ee4a6e
authored
Apr 21, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ChatViewer: keyboard do not opened by default.
parent
1b862cde
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ChatViewer.java
app/src/main/java/com/xabber/android/ui/ChatViewer.java
+3
-0
chat_viewer_item.xml
app/src/main/res/layout/chat_viewer_item.xml
+0
-2
No files found.
app/src/main/java/com/xabber/android/ui/ChatViewer.java
View file @
87ee4a6e
...
...
@@ -20,6 +20,7 @@ import android.content.Intent;
import
android.os.Bundle
;
import
android.support.v4.view.ViewPager
;
import
android.view.View
;
import
android.view.WindowManager
;
import
android.view.inputmethod.InputMethodManager
;
import
android.widget.LinearLayout
;
...
...
@@ -112,6 +113,8 @@ public class ChatViewer extends ManagedActivity implements OnChatChangedListener
statusBarPainter
=
new
StatusBarPainter
(
this
);
getWindow
().
setSoftInputMode
(
WindowManager
.
LayoutParams
.
SOFT_INPUT_STATE_HIDDEN
);
if
(
account
!=
null
&&
user
!=
null
)
{
chatViewerAdapter
=
new
ChatViewerAdapter
(
getFragmentManager
(),
account
,
user
,
this
);
isChatSelected
=
true
;
...
...
app/src/main/res/layout/chat_viewer_item.xml
View file @
87ee4a6e
...
...
@@ -85,8 +85,6 @@
android:maxLines=
"4"
android:scrollbars=
"vertical"
android:fadingEdge=
"vertical"
android:focusable=
"true"
android:descendantFocusability=
"beforeDescendants"
android:layout_weight=
"1"
android:layout_gravity=
"center_vertical"
android:background=
"@android:color/transparent"
...
...
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