ChatSecureAndroid icon indicating copy to clipboard operation
ChatSecureAndroid copied to clipboard

On API level 10 avatar overlaps small part of messages received

Open 459below opened this issue 10 years ago • 2 comments

The layout would be "layout-mdpi/message_view_left.xml". I created "layout-mdpi-v10" and copied "layout-ldpi/mesage_view_left.xml" over. This does not display the avatar and makes the message visible in its entirety. I may send out a proper pull request, if I get around to defining a proper layout for this density and API level.

screen shot 2015-08-23 at 08 42 06 screen shot 2015-08-24 at 07 34 38 screen shot 2015-08-24 at 07 50 53

459below avatar Aug 24 '15 05:08 459below

I found that adding android:layout_gravity="left" in the LinearLayout of layout-mdpi/message_view_left.xml fixes this quite beautifully. Using specifically layout-mdpi-v10 might be a more stable solution. (Since it's a tiny fix I refrain from sending a proper pull request.)

screen shot 2015-08-25 at 22 25 05

459below avatar Aug 25 '15 21:08 459below

This is the commit fixing this in my fork https://github.com/459below/ChatSecureAndroid/commit/155ccd0fa5a53bf4daa22068c84c693cebc5ae6a

459below avatar Aug 28 '15 00:08 459below