瀏覽代碼

Merge pull request #1057 from starypatyk/master

Fix for display issues with non default font sizes (issue #955)
Marcel Hibbe 4 年之前
父節點
當前提交
a85ffbe1c6

+ 1 - 1
app/src/main/res/layout/rv_item_browser_file.xml

@@ -20,7 +20,7 @@
 
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     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"
     android:layout_margin="@dimen/double_margin_between_elements"
     android:background="@color/bg_default">

+ 1 - 7
app/src/main/res/layout/rv_item_conversation_with_last_message.xml

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