Make new private chat screen edit text work with multiple lines

This commit is contained in:
nielsandriesse 2020-08-04 16:27:39 +10:00
parent 1cca9c47b6
commit 97491bb824
2 changed files with 10 additions and 2 deletions

View file

@ -12,10 +12,14 @@
style="@style/SessionEditText"
android:id="@+id/publicKeyEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="80dp"
android:layout_marginLeft="@dimen/large_spacing"
android:layout_marginTop="@dimen/large_spacing"
android:layout_marginRight="@dimen/large_spacing"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:maxLines="2"
android:gravity="center_vertical"
android:hint="@string/fragment_enter_public_key_edit_text_hint" />
<TextView

View file

@ -12,10 +12,14 @@
style="@style/SmallSessionEditText"
android:id="@+id/publicKeyEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="54dp"
android:layout_marginLeft="@dimen/large_spacing"
android:layout_marginTop="@dimen/large_spacing"
android:layout_marginRight="@dimen/large_spacing"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:maxLines="2"
android:gravity="center_vertical"
android:hint="@string/fragment_enter_public_key_edit_text_hint" />
<TextView