Commit 87ee4a6e authored by Grigory Fedorov's avatar Grigory Fedorov

ChatViewer: keyboard do not opened by default.

parent 1b862cde
......@@ -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;
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment