How to draw this table layout in blackberry - blackberry

will you tell me how to this layout in blackberry. I use GridFieldManager but in that i did not get borders which separates each cell. I set boder for each field but it not look like this

this is best link
This is the answer which i am expecting.Satisfied :)

Use TableLayouttManager
The code and usage is given there.

Related

How can i customize segment control in iOS Swift?

I'm trying to implement a segmented control. I want to customize it:
Separate boarder for each item.
Default segment should be in color
boarder.
Segment control should be scroll
How can i achieve like below image?
Any help much appreciated pls...
To achieve what you are looking for you need to use UICollectionView with your custom flow layout.
Here are some examples that you can use or inspire : TTGTagCollectionView - YNSearch - TagListView

Displaying tableviewcell side by side

I'm basically trying to achieve this, Is this even possible ?
Thank you all!
To answer your question: You cannot display two UITableViews side by side. Instead you should use UICollectionView with the UICollectionViewFlowLayout.
If I understand the use case correctly you can only select one option per row, right? If so, I'd use a plain UITableView and add a UISegmentedControl to each row. With that you get the one-option-per-row behavior out of the box without having to write your own.

Which UI element of iOS is this?

I am trying to incorporate a similar kind of view in an app. So, was wondering if its a tableview or something else?(see attached image) I am very new to learning swift and would greatly appreciate if someone could help me identify how this kind of structure can be made. Just the name of the element to be used would be enough. I will look up the details on Apple Docs.
It is a customized UIPickerView with two components. Just like the default Date Picker in iOS.
These questions should help you in styling the UIPickerView:
How can I change text font in picker in iOS 7?
Custom UIPickerView with Custom Background color
For that last question, please take a look at DShah' answer.
Addition to Nina's answer, below are some of the good custom Picker view controls which will be good to use in terms of performance and customizable.
http://www.cocoacontrols.com/platforms/ios/controls/cppickerview
http://www.cocoacontrols.com/platforms/ios/controls/afpickerview
http://www.cocoacontrols.com/platforms/ios/controls/v8horizontalpickerview (Horizontal PickerView)

Create vertical tabbar for ipad

Today I tried to implement a vertical tabbar for iPad. I checked a lot of questions on Stackoverflow and other sites but couldn't find the appropriate answer. Here are what I found:
https://github.com/futuresimple/FSVerticalTabBarController
https://github.com/nst/SEVerticalTabBar
https://github.com/NOUSguide/NGTabBarController
In my opinion, the third component is great. However, I guess I'll have to customize a lot before I can use to create this following UI:
So do you know any components/libraries that match my UI? It would be great if anyone can suggest me a correct one. Thanks.
Try to use FSVerticalTabBarController. I have used it and it is easy to modify...
You can try this component IIViewDeckController. Its very light weight.
Usually it will be used for Stackview, left Menu kind of UI.
But you can do a small trick like below to achieve your design above.
Steps:
The component have left, right, top, bottom and center stack of controllers.
Use a UITableView on your LeftViewController to design your above UI.
Each index will act as a container of OneViewController.
Clicking one cell of your tableview will place the appropriate ViewController in the center controller of IIViewDeckViewController.
Its very easy, I guess you will like it. Just take some time to go through their examples.
Hope it will be useful
I translated futuresimple/FSVerticalTabBarController into Swift 5.
My repo is https://github.com/coyingcat/VerticalTabBar
Apple's doc Implementing a Container View Controller is great also

How to best create this simple grid view on iPad?

I would like to recreate the interface below that allows the user to select a number by tapping a cell. What do you think is the simplest way to implement this? A UITableViewCell that has subviews added? A UIWebView containing an HTML table? Custom UIButtons?
Thank you!
//Scott
(source: spkant at home.comcast.net)
You can always use AQGridView or ATArrayView for creating those types of grid elements.
EDIT: As of iOS6, you should look into UICollectionView as it comes with the framework and it has more features.
Subclass UIView, draw and do the touch detection yourself.

Resources