Reputation: 21
This is my first time when i am posting on a forum. Although i am using stackoverflow for a lone time and find it useful. My question is that i am developing a virtual chemist laboratory! and i have to make a horizontal bar upon which different apparatus can be placed like shown in the picture. Please tell me how to achieve that
Upvotes: 0
Views: 147
Reputation: 21
Done with this problem using Linear Layout. and then using a customized border on the bottom side. Then just add horizontal scrollbar in it. Link : https://dl.dropboxusercontent.com/u/54327753/Screenshot%202015-01-02%2022.23.17.png
Upvotes: 0
Reputation: 5542
You can instead use horizontal list view. Its just a simple list view with same adapter support to form list in horizontal orientation.
Check the link for reference https://github.com/sephiroth74/HorizontalVariableListView
Upvotes: 0
Reputation: 2289
Upvotes: 0
Reputation: 1705
Use LinearLayout and set orientation to horizontal. Inside this layout add images as much as you wish. Use weightSum for linearlayout, also use layout_weight for all images.
Upvotes: 1