Last active
August 29, 2015 14:02
-
-
Save yareally/2626d83f13dc74df5f68 to your computer and use it in GitHub Desktop.
xml for fixing the send button
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
| <!-- old xml --> | |
| <EditText | |
| android:id="@+id/embedded_text_editor" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_weight="1.0" | |
| android:autoText="true" | |
| android:capitalize="sentences" | |
| android:background="#00ffffff" | |
| android:padding="12dp" | |
| android:paddingRight="0dp" | |
| android:hint="@string/conversation_activity__type_message" | |
| android:imeOptions="actionSend|flagNoEnterAction" | |
| android:inputType="textShortMessage|textAutoCorrect|textCapSentences|textMultiLine" | |
| android:maxLength="1000" | |
| android:maxLines="4" | |
| android:nextFocusRight="@+id/send_button" | |
| android:textColor="?conversation_editor_text_color" /> | |
| <!-- new xml --> | |
| <EditText | |
| android:id="@+id/embedded_text_editor" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_weight="1.0" | |
| android:autoText="true" | |
| android:capitalize="sentences" | |
| android:background="#00ffffff" | |
| android:padding="12dp" | |
| android:paddingRight="0dp" | |
| android:hint="@string/conversation_activity__type_message" | |
| android:imeOptions="actionSend" | |
| android:inputType="textAutoCorrect|textCapSentences" | |
| android:maxLength="1000" | |
| android:maxLines="4" | |
| android:nextFocusRight="@+id/send_button" | |
| android:textColor="?conversation_editor_text_color" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment