OZMOPOL / OZMO-ANDROID

We will be designing according to Google Material Design. http://www.google.com/design/spec/material-design/introduction.html
GNU General Public License v2.0
0 stars 1 forks source link

Phone UI #11

Closed ghost closed 9 years ago

ghost commented 9 years ago

@arcadesmasher could you please modify post_item.xml to be shown in a phone without bugs.

arcadesmasher commented 9 years ago

I'm currently on it, the posts are properly displayed when the phone is rotated, though.

arcadesmasher commented 9 years ago

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.

ghost commented 9 years ago

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.

arcadesmasher commented 9 years ago

It's about the width/height of the date & room info. I'm currently messing with those.

arcadesmasher commented 9 years ago

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.