Closed ghost closed 9 years ago
I'm currently on it, the posts are properly displayed when the phone is rotated, though.
Update: The problem happens when the dates and the room info. for the posts are obtained. The info. are way too long and they push the post title & contents way a lot.
vh.postCDate.setText(post.postCDate);
vh.room.setText(post.fkPostRoomId.roomTitle);
I will try to fit the dates & room info. to the sizes that a phone screen can accept.
Try changing font sizes unit from dp to sp. On Apr 12, 2015 6:50 PM, "arcadesmasher" notifications@github.com wrote:
Update: The problem happens when the dates and the room info. for the posts are obtained.
vh.postCDate.setText(post.postCDate); vh.room.setText(post.fkPostRoomId.roomTitle);
I will try to fit the dates & room info. to the sizes that a phone screen can accept.
— Reply to this email directly or view it on GitHub https://github.com/OZMOPOL/OZMO-ANDROID/issues/11#issuecomment-92082920.
It's about the width/height of the date & room info. I'm currently messing with those.
The room names and the dates were too long so I've initiated another horizontal LinearLayout under the horizontal LinearLayout where the user, date, room info. were stored, then moved the room info under that sub LinearLayout and decreased the font sizes a bit.
Problem solved.
@arcadesmasher could you please modify post_item.xml to be shown in a phone without bugs.