1. Download our Official Android App: Forums for Android!

Day like view from calendar

Discussion in 'Android Development' started by Syntey, Oct 17, 2017.

  1. Syntey

    Syntey Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    2
    Joined:
    Oct 17, 2017

    Oct 17, 2017
    2
    1
    6
    Male
    Hello, I'm creating conference app and I need to create day like view - same as calendar on my phone.
    First here is my idea of how it should look like https://i.imgur.com/FfwkusT.png
    And this is how it looks in my calendar https://i.imgur.com/7Tn4tBw.png
    I also want that every event will be clickable to show more information just like in this calendar.

    I know it will be complicated as hell at the end, but my question is any idea how to do it? At least how to start.. I need starting point from where I could begin. I saw some solution with Paint(), but I want to know if there are other ways to do it.

    Thanks
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,450
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,450
    10,736
    1,988
    Male
    Software developer
    South West of England
    I don't think it's that complicated. Just a question of drawing coloured rectangles at specific positions on the screen. I guess the added complexity will come in handling both portrait and landscape orientations, plus dealing with different screen sizes.
    Your starting point is understanding how to draw 2D graphics on a canvas.

    https://developer.android.com/guide/topics/graphics/2d-graphics.html
     
    Syntey likes this.
  3. Syntey

    Syntey Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    2
    Joined:
    Oct 17, 2017

    Oct 17, 2017
    2
    1
    6
    Male
    Yes, thank you. After all it wasn't so hard. It will be problematic with collisions etc., but that's for another time.
     
    LV426 likes this.

Share This Page

Loading...