Created
August 20, 2014 13:00
-
-
Save sw1ftc0d3r/1798f147e1e314251d03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- Kontalk Android client | |
| Copyright (C) 2014 Kontalk Devteam <[email protected]> | |
| This program is free software: you can redistribute it and/or modify | |
| it under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. | |
| This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| GNU General Public License for more details. | |
| You should have received a copy of the GNU General Public License | |
| along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| --> | |
| <merge xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto"> | |
| <!-- Divider. (Yes, the .9dp is on purpose.) --> | |
| <View android:background="?android:attr/dividerHorizontal" | |
| android:layout_width="match_parent" | |
| android:layout_height=".9dp" /> | |
| <LinearLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:id="@+id/chat_compose_panel" | |
| android:focusable="true" | |
| android:focusableInTouchMode="true" | |
| android:background="#fff"> | |
| <ImageButton | |
| android:id="@+id/emoji_button" | |
| style="?android:attr/borderlessButtonStyle" | |
| android:src="@drawable/ic_emoji_dark" | |
| android:adjustViewBounds="false" | |
| android:drawablePadding="0dip" | |
| android:layout_width="48dp" | |
| android:layout_height="wrap_content" | |
| android:minHeight="48dip" | |
| android:layout_gravity="bottom" | |
| android:contentDescription="@string/menu_smileys" /> | |
| <com.rockerhieu.emojicon.EmojiconEditText | |
| android:textColor="@android:color/black" | |
| android:id="@+id/text_editor" | |
| android:layout_width="0dip" | |
| android:layout_height="wrap_content" | |
| android:layout_weight="1" | |
| android:layout_gravity="bottom" | |
| android:autoText="true" | |
| android:textSize="16sp" | |
| app:emojiconSize="@dimen/emoji_edittext_size" | |
| android:capitalize="sentences" | |
| android:nextFocusRight="@+id/send_button" | |
| android:hint="@string/hint_enter_text" | |
| android:minHeight="48dip" | |
| android:maxLines="3" | |
| android:inputType="textAutoCorrect|textCapSentences|textMultiLine" | |
| android:imeOptions="actionSend|flagNoEnterAction" | |
| /> | |
| <ImageButton | |
| android:id="@+id/send_button" | |
| style="?android:attr/borderlessButtonStyle" | |
| android:src="@drawable/send_button_selector" | |
| android:drawablePadding="0dip" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:minHeight="48dip" | |
| android:layout_gravity="bottom" | |
| android:layout_marginLeft="4dip" | |
| android:contentDescription="@string/send" | |
| android:nextFocusLeft="@+id/text_editor" /> | |
| <org.kontalk.ui.FrameLayoutFixed | |
| android:layout_height="48dp" | |
| android:layout_width="fill_parent" | |
| android:layout_marginTop="2dp" | |
| android:layout_marginRight="48dp" | |
| android:background="#ffffff" | |
| android:id="@+id/record_panel" | |
| android:visibility="gone"> | |
| <LinearLayout | |
| android:layout_height="wrap_content" | |
| android:layout_width="wrap_content" | |
| android:layout_gravity="center" | |
| android:layout_marginLeft="30dp" | |
| android:orientation="horizontal" | |
| android:id="@+id/slideText"> | |
| <ImageView | |
| android:layout_height="wrap_content" | |
| android:layout_width="wrap_content" | |
| android:src="@android:drawable/ic_delete" | |
| android:layout_gravity="center_vertical" | |
| android:layout_marginTop="1dp"/> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:textColor="#999999" | |
| android:textSize="12dp" | |
| android:layout_marginLeft="6dp" | |
| android:id="@+id/slideToCancelTextView" | |
| android:layout_gravity="center_vertical"/> | |
| </LinearLayout> | |
| <LinearLayout | |
| android:layout_height="wrap_content" | |
| android:layout_width="wrap_content" | |
| android:layout_gravity="center_vertical" | |
| android:paddingLeft="13dp" | |
| android:orientation="horizontal" | |
| android:background="#ffffffff"> | |
| <ImageView | |
| android:layout_height="wrap_content" | |
| android:layout_width="wrap_content" | |
| android:src="@android:drawable/ic_media_play" | |
| android:layout_gravity="center_vertical" | |
| android:layout_marginTop="1dp"/> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:id="@+id/recording_time_text" | |
| android:text="00:00" | |
| android:textColor="#4d4c4b" | |
| android:textSize="16dp" | |
| android:layout_gravity="center_vertical" | |
| android:layout_marginLeft="6dp"/> | |
| </LinearLayout> | |
| </org.kontalk.ui.FrameLayoutFixed> | |
| </LinearLayout> | |
| </merge> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment