Merge pull request #1057 from starypatyk/master

Fix for display issues with non default font sizes (issue #955)
This commit is contained in:
Marcel Hibbe 2021-03-22 08:41:18 +01:00 committed by GitHub
commit a85ffbe1c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View file

@ -20,7 +20,7 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/rv_item_view_height" android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_margin="@dimen/double_margin_between_elements" android:layout_margin="@dimen/double_margin_between_elements"
android:background="@color/bg_default"> android:background="@color/bg_default">

View file

@ -26,14 +26,9 @@
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="@dimen/rv_item_view_height" android:layout_height="wrap_content"
android:layout_margin="@dimen/double_margin_between_elements"> android:layout_margin="@dimen/double_margin_between_elements">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<FrameLayout <FrameLayout
android:id="@+id/dialogAvatarFrameLayout" android:id="@+id/dialogAvatarFrameLayout"
android:layout_width="@dimen/small_item_height" android:layout_width="@dimen/small_item_height"
@ -126,5 +121,4 @@
android:textSize="16sp" android:textSize="16sp"
tools:text="Best conversation" /> tools:text="Best conversation" />
</RelativeLayout>
</RelativeLayout> </RelativeLayout>