Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. Help to put several listview within a horizontal layout

Help to put several listview within a horizontal layout

Scheduled Pinned Locked Moved Android
tutorialjavaandroidcomdesign
6 Posts 3 Posters 7 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    losuper
    wrote on last edited by
    #1

    I'm making a android app using Java, i want to make a 7 days schedule layout that can be moved horizontally centering the current day to the screen and each column can be scrollable and contains a list with a variable number elements, each element contains images and text; and if an item is selected has to open a layout showing more information about the selected element.

    I don't know which is the best way to do it, i thought with grids or multi-list views, but I also don't know how to implement it.

    Anyone knows a way to do it and some example? I have attached a design of how the layout would come to be in case anyone doesn't understand it.

    http://i.stack.imgur.com/KZDuZ.png

    Again, thank you all, i hope someone knows a way to do this elegantly.

    L D 2 Replies Last reply
    0
    • L losuper

      I'm making a android app using Java, i want to make a 7 days schedule layout that can be moved horizontally centering the current day to the screen and each column can be scrollable and contains a list with a variable number elements, each element contains images and text; and if an item is selected has to open a layout showing more information about the selected element.

      I don't know which is the best way to do it, i thought with grids or multi-list views, but I also don't know how to implement it.

      Anyone knows a way to do it and some example? I have attached a design of how the layout would come to be in case anyone doesn't understand it.

      http://i.stack.imgur.com/KZDuZ.png

      Again, thank you all, i hope someone knows a way to do this elegantly.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Take a look at http://developer.android.com/index.html[^].

      L 1 Reply Last reply
      0
      • L Lost User

        Take a look at http://developer.android.com/index.html[^].

        L Offline
        L Offline
        losuper
        wrote on last edited by
        #3

        i didn't find anything like that, do you?

        L 1 Reply Last reply
        0
        • L losuper

          i didn't find anything like that, do you?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          I didn't look. This is your project and you need to do the research and development. These forums are for specific detailed technical questions.

          1 Reply Last reply
          0
          • L losuper

            I'm making a android app using Java, i want to make a 7 days schedule layout that can be moved horizontally centering the current day to the screen and each column can be scrollable and contains a list with a variable number elements, each element contains images and text; and if an item is selected has to open a layout showing more information about the selected element.

            I don't know which is the best way to do it, i thought with grids or multi-list views, but I also don't know how to implement it.

            Anyone knows a way to do it and some example? I have attached a design of how the layout would come to be in case anyone doesn't understand it.

            http://i.stack.imgur.com/KZDuZ.png

            Again, thank you all, i hope someone knows a way to do this elegantly.

            D Offline
            D Offline
            David Crow
            wrote on last edited by
            #5

            Have you considered a HorizontalScrollView with 7 child views, one for each day?

            "One man's wage rise is another man's price increase." - Harold Wilson

            "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

            "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

            L 1 Reply Last reply
            0
            • D David Crow

              Have you considered a HorizontalScrollView with 7 child views, one for each day?

              "One man's wage rise is another man's price increase." - Harold Wilson

              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

              "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

              L Offline
              L Offline
              losuper
              wrote on last edited by
              #6

              Yes, i intend to do exactly that, but i don't know how to inflate each 7 childs with different information, if every child is a ListView, how do i populate 7 ListView in the same layout using one adapter, i have searched examples but i didn't find anything yet...

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups