mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
fix padding problem in compose text
// FREEBIE
This commit is contained in:
parent
b87abcc2c1
commit
4397b55ceb
9
res/drawable/compose_background.xml
Normal file
9
res/drawable/compose_background.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@android:color/transparent" />
|
||||
<padding android:bottom="@dimen/conversation_activity_compose_padding"
|
||||
android:left="@dimen/conversation_activity_compose_padding"
|
||||
android:right="@dimen/conversation_activity_compose_padding"
|
||||
android:top="@dimen/conversation_activity_compose_padding" />
|
||||
</shape>
|
@ -85,8 +85,7 @@
|
||||
android:layout_weight="1.0"
|
||||
android:autoText="true"
|
||||
android:capitalize="sentences"
|
||||
android:background="#00ffffff"
|
||||
android:layout_margin="12dp"
|
||||
android:background="@drawable/compose_background"
|
||||
android:paddingRight="0dp"
|
||||
android:imeOptions="actionSend|flagNoEnterAction|flagNoExtractUi"
|
||||
android:inputType="textShortMessage|textAutoCorrect|textCapSentences|textMultiLine"
|
||||
|
@ -14,6 +14,7 @@
|
||||
<dimen name="contact_selection_photo_size">50dp</dimen>
|
||||
<dimen name="thumbnail_max_size">230dp</dimen>
|
||||
<dimen name="preference_fragment_padding_side">8dp</dimen>
|
||||
<dimen name="conversation_activity_compose_padding">12dp</dimen>
|
||||
|
||||
<integer name="media_overview_cols">3</integer>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user