Skip to content

Commit

Permalink
Set the flag on the textfield to not use the fullscreen keyboard in l…
Browse files Browse the repository at this point in the history
…andscape mode
  • Loading branch information
c99koder committed Sep 16, 2013
1 parent 854bc77 commit 2de6012
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 16 deletions.
11 changes: 7 additions & 4 deletions res/layout-sw600dp-land/activity_message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
android:id="@+id/BuffersList"
android:name="com.irccloud.android.BuffersListFragment"
android:layout_width="@dimen/drawer_width"
android:layout_height="match_parent" />
android:layout_height="match_parent"
tools:layout="@layout/bufferslist" />

<LinearLayout
android:layout_width="match_parent"
Expand All @@ -37,7 +38,8 @@
android:name="com.irccloud.android.MessageViewFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
android:layout_weight="1"
tools:layout="@layout/messageview" />

<LinearLayout
android:layout_width="match_parent"
Expand All @@ -54,7 +56,7 @@
android:layout_weight="1"
android:ems="10"
android:hint="Message"
android:imeOptions="actionSend"
android:imeOptions="flagNoExtractUi|actionSend"
android:inputType="textCapSentences|textAutoCorrect|textMultiLine|textShortMessage" />

<include
Expand All @@ -69,6 +71,7 @@
android:id="@+id/usersListFragment"
android:name="com.irccloud.android.UsersListFragment"
android:layout_width="@dimen/userlist_width"
android:layout_height="match_parent" />
android:layout_height="match_parent"
tools:layout="@layout/userslist" />

</LinearLayout>
11 changes: 7 additions & 4 deletions res/layout-sw800dp-land/activity_message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
android:id="@+id/BuffersList"
android:name="com.irccloud.android.BuffersListFragment"
android:layout_width="@dimen/drawer_width"
android:layout_height="match_parent" />
android:layout_height="match_parent"
tools:layout="@layout/bufferslist" />

<LinearLayout
android:layout_width="match_parent"
Expand All @@ -37,7 +38,8 @@
android:name="com.irccloud.android.MessageViewFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
android:layout_weight="1"
tools:layout="@layout/messageview" />

<LinearLayout
android:layout_width="match_parent"
Expand All @@ -54,7 +56,7 @@
android:layout_weight="1"
android:ems="10"
android:hint="Message"
android:imeOptions="actionSend"
android:imeOptions="flagNoExtractUi|actionSend"
android:inputType="textCapSentences|textAutoCorrect|textMultiLine|textShortMessage" />

<include
Expand All @@ -69,6 +71,7 @@
android:id="@+id/usersListFragment"
android:name="com.irccloud.android.UsersListFragment"
android:layout_width="@dimen/userlist_width"
android:layout_height="match_parent" />
android:layout_height="match_parent"
tools:layout="@layout/userslist" />

</LinearLayout>
11 changes: 7 additions & 4 deletions res/layout-sw800dp/activity_message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
android:id="@+id/BuffersList"
android:name="com.irccloud.android.BuffersListFragment"
android:layout_width="@dimen/drawer_width"
android:layout_height="match_parent" />
android:layout_height="match_parent"
tools:layout="@layout/bufferslist" />

<LinearLayout
android:id="@+id/messageContainer"
Expand All @@ -51,7 +52,8 @@
android:name="com.irccloud.android.MessageViewFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
android:layout_weight="1"
tools:layout="@layout/messageview" />

<LinearLayout
android:layout_width="match_parent"
Expand All @@ -68,7 +70,7 @@
android:layout_weight="1"
android:ems="10"
android:hint="Message"
android:imeOptions="actionSend"
android:imeOptions="flagNoExtractUi|actionSend"
android:inputType="textCapSentences|textAutoCorrect|textMultiLine|textShortMessage" />

<include
Expand All @@ -84,7 +86,8 @@
android:name="com.irccloud.android.UsersListFragment"
android:layout_width="@dimen/userlist_width"
android:layout_height="match_parent"
android:layout_gravity="right" />
android:layout_gravity="right"
tools:layout="@layout/userslist" />
</LinearLayout>
</LinearLayout>
</com.irccloud.android.MessageActivityPager>
11 changes: 7 additions & 4 deletions res/layout/activity_message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
android:id="@+id/BuffersList"
android:name="com.irccloud.android.BuffersListFragment"
android:layout_width="@dimen/drawer_width"
android:layout_height="match_parent" />
android:layout_height="match_parent"
tools:layout="@layout/bufferslist" />

<LinearLayout
android:id="@+id/messageContainer"
Expand All @@ -46,7 +47,8 @@
android:name="com.irccloud.android.MessageViewFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
android:layout_weight="1"
tools:layout="@layout/messageview" />

<LinearLayout
android:layout_width="match_parent"
Expand All @@ -63,7 +65,7 @@
android:layout_weight="1"
android:ems="10"
android:hint="Message"
android:imeOptions="actionSend"
android:imeOptions="flagNoExtractUi|actionSend"
android:inputType="textCapSentences|textAutoCorrect|textMultiLine|textShortMessage" />

<include
Expand All @@ -79,7 +81,8 @@
android:name="com.irccloud.android.UsersListFragment"
android:layout_width="@dimen/userlist_width"
android:layout_height="match_parent"
android:layout_gravity="right" />
android:layout_gravity="right"
tools:layout="@layout/userslist" />

</LinearLayout>
</com.irccloud.android.MessageActivityPager>

0 comments on commit 2de6012

Please sign in to comment.