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
7da96c0c
Commit
7da96c0c
authored
Apr 28, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chat: keyboard do not hide everything in landscape mode.
parent
bfb1cbf9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
25 deletions
+27
-25
chat_fragment.xml
app/src/main/res/layout/chat_fragment.xml
+27
-25
No files found.
app/src/main/res/layout/chat_fragment.xml
View file @
7da96c0c
...
@@ -14,25 +14,26 @@
...
@@ -14,25 +14,26 @@
-->
-->
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
>
<android.support.v7.widget.Toolbar
xmlns:a
pp=
"http://schemas.android.com/apk/res-auto
"
<android.support.v7.widget.Toolbar
xmlns:a
ndroid=
"http://schemas.android.com/apk/res/android
"
xmlns:a
ndroid=
"http://schemas.android.com/apk/res/android
"
xmlns:a
pp=
"http://schemas.android.com/apk/res-auto
"
android:id=
"@+id/toolbar_default"
android:id=
"@+id/toolbar_default"
android:layout_height=
"?attr/actionBarSize"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"?attr/actionBarSize"
android:theme=
"@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme=
"@style/ThemeOverlay.AppCompat.Light"
android:background=
"?attr/colorPrimary"
android:background=
"?attr/colorPrimary"
android:elevation=
"8dp"
android:elevation=
"8dp"
android:theme=
"@style/ThemeOverlay.AppCompat.Dark.ActionBar"
app:popupTheme=
"@style/ThemeOverlay.AppCompat.Light"
>
>
<include
layout=
"@layout/contact_title"
<include
android:id=
"@+id/contact_title"
android:id=
"@+id/contact_title"
layout=
"@layout/contact_title"
/>
/>
</android.support.v7.widget.Toolbar>
</android.support.v7.widget.Toolbar>
...
@@ -41,62 +42,63 @@
...
@@ -41,62 +42,63 @@
android:id=
"@+id/chat_messages_recycler_view"
android:id=
"@+id/chat_messages_recycler_view"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:
scrollbars=
"vertical
"
android:
layout_above=
"@+id/input_layout
"
android:layout_below=
"@+id/toolbar_default"
android:divider=
"@null"
android:divider=
"@null"
android:dividerHeight=
"0dp"
android:dividerHeight=
"0dp"
android:layout_above=
"@+id/input_layout"
tools:listitem=
"@layout/chat_viewer_outgoing_message"
android:listSelector=
"@android:color/transparent"
android:listSelector=
"@android:color/transparent"
android:layout_below=
"@+id/toolbar_default"
android:scrollbars=
"vertical"
tools:listitem=
"@layout/chat_viewer_outgoing_message"
/>
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/input_layout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:id=
"@+id/input_layout"
android:layout_alignParentBottom=
"true"
android:layout_alignParentBottom=
"true"
android:orientation=
"horizontal"
android:background=
"@color/white"
android:background=
"@color/white"
android:elevation=
"8dp"
android:elevation=
"8dp"
android:orientation=
"horizontal"
>
>
<ImageButton
<ImageButton
android:id=
"@+id/button_security"
android:id=
"@+id/button_security"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"8dp"
android:layout_gravity=
"bottom"
android:src=
"@drawable/ic_security_grey_24dp"
android:background=
"@null"
android:background=
"@null"
android:contentDescription=
"@string/otr_encryption"
android:contentDescription=
"@string/otr_encryption"
android:layout_gravity=
"bottom"
android:padding=
"8dp"
android:src=
"@drawable/ic_security_grey_24dp"
/>
/>
<EditText
<EditText
android:id=
"@+id/chat_input"
android:id=
"@+id/chat_input"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:
minHeight=
"40dp
"
android:
layout_weight=
"1
"
android:
inputType=
"textShortMessage|textAutoCorrect|textCapSentences|textMultiLine
"
android:
background=
"@android:color/transparent
"
android:cursorVisible=
"true"
android:cursorVisible=
"true"
android:fadingEdge=
"vertical"
android:gravity=
"center_vertical"
android:hint=
"@string/chat_input_hint"
android:hint=
"@string/chat_input_hint"
android:imeOptions=
"flagNoExtractUi"
android:inputType=
"textShortMessage|textAutoCorrect|textCapSentences|textMultiLine"
android:maxLines=
"4"
android:maxLines=
"4"
android:minHeight=
"40dp"
android:scrollbars=
"vertical"
android:scrollbars=
"vertical"
android:fadingEdge=
"vertical"
android:layout_weight=
"1"
android:gravity=
"center_vertical"
android:background=
"@android:color/transparent"
/>
/>
<ImageButton
<ImageButton
android:id=
"@+id/button_send_message"
android:id=
"@+id/button_send_message"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"8dp"
android:layout_gravity=
"bottom"
android:src=
"@drawable/ic_button_send"
android:background=
"@null"
android:background=
"@null"
android:contentDescription=
"@string/chat_send"
android:contentDescription=
"@string/chat_send"
android:layout_gravity=
"bottom"
android:padding=
"8dp"
android:src=
"@drawable/ic_button_send"
/>
/>
</LinearLayout>
</LinearLayout>
...
...
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