Merge "Fixed an issue where the messaging layout could appear empty" into pi-dev
This commit is contained in:
@@ -105,7 +105,7 @@ public class MessagingTextMessage extends ImageFloatingTextView implements Messa
|
||||
public int getMeasuredType() {
|
||||
boolean measuredTooSmall = getMeasuredHeight()
|
||||
< getLayoutHeight() + getPaddingTop() + getPaddingBottom();
|
||||
if (measuredTooSmall) {
|
||||
if (measuredTooSmall && getLineCount() <= 1) {
|
||||
return MEASURED_TOO_SMALL;
|
||||
} else {
|
||||
Layout layout = getLayout();
|
||||
|
||||
@@ -42,8 +42,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/notification_text_margin_top"
|
||||
android:spacing="2dp"
|
||||
android:layout_weight="1"/>
|
||||
android:spacing="2dp"/>
|
||||
</com.android.internal.widget.RemeasuringLinearLayout>
|
||||
<FrameLayout
|
||||
android:id="@+id/messaging_group_icon_container"
|
||||
|
||||
Reference in New Issue
Block a user