I need to create something like the Three20 TTThumbsViewController, but each cell needs a caption of the image and I need to specify the number and size of cells in the grid.
It also needs to send the user to another view by tapping the Captioned image in the grid.
Hope it doesn't sound too complicated,
My question is:
I am using three20, should or can I customize the TTThumbsViewController or must I try create a Three20 table with custom cells in a grid format like TTThumbsViewController ?
Is three20 a good option in this scenario?
any guidance will be appreciated
Thanks
Brett
Related
I am new in Smartface software. I want to add image in repeatbox.
Can someone help me to add images in repeatbox.
Thanks
Just drag and drop it to the repeatbox like the picture below. Remember the layout is by default "Absolute". I have set my layout to linear below.
I am recently working on an iphone app in xcode 6 and created an image gallery in CollectionViewControllor, I need help about 2 things;
first I need to get a fullscreen view of the Images I have in each cell,
second How I can update the images dynamically
I really appreciate your help in advance,
A few suggestions on the two questions in this post
How to show image in full screen? Depends how you want it to show to user. One way could be to make a new view controller having a UIImage. Once you tap on the image in collection view (using didSelectItemAtIndexPath), you can pass the image to new controller which displays it.
To update the images in real time, I assume you have images stored somewhere remotely and want to fetch those in background and update the collection view. Following article may help over here
http://www.raywenderlich.com/19788/how-to-use-nsoperations-and-nsoperationqueues
Hope it helps.
I've spent 2 hours looking for a solution. I need to make a design
like the Youtube UI (Tablet UI) where it shows a vertical scroll, but
in each row there are 4 videos (landscape view). I've tried to do
something similar, but i couldn't =(
Is there any place where i can get the source code of the youtube
application for Tablet? Or maybe some resource to solve this? :(
BTW, my try was designing UI with scrollView, LinearLayout and my_item.xml, i tried to inflate my_item.xml adding programmatically into the linearlayout (horizontal orientation), but it doesn't work in the way that i want. I need something like a linearlayout but with horizontal and vertical orientation at the same time (something like a div).
I was thinking to use a ListView and a custom adapter (with my_item.xml), but i'm not sure if this can be the best solution.
Thxs
You should create seperate resources for each layout.
For example if the user is in Portrait mode you would have the correct layout in.
layout-port: layout for portrait orientation
layout-land: layout for landscape orientation
Read more on providing alternative resources here
Also i would recommend to read more on Handling runtime changes
This will help you with recognizing when the user changes orientation. You could actually use this guide and when the user flips the devices orientation you could then change the layout. Keep in mind hard coding this can be dangerous though. I would recommend using the layout folders.
Good luck!
Finally i solve my problem.
It works with a linearLayout(vertical) and adding linearlayout(horizontal) for each row. And obviously managing my scrollview.
BTW, i still think android should have a layout like a "div".
Thxs all
Hey everyone, I am trying to accomplish something with images growing on hover like the fancy grow mouseover effect on google images.
Here is what I have:
http://www.1stbusinessneeds.com/tooltip/tooltip.html
The tooltip is offset and is based on the walter zorn tooltip. What's the best way to have the mouseover popup grow out just like google images (with the text), instead of following the mouse?
(I still need it done with the same tooltip - maybe overwrite it, but it must be present to pass the text and image, it's just the positioning and display method of it that I need help creating, any samples would be appreciated)
You might want to look at JQuery.
this might be a good start http://jsfiddle.net/ZwhEu/
I'm wondering if there is a simple and quick way of displaying an image when the user hovers a QLabel...
Since QLabel can be used to display QPixmap, I would like to display some kind of "preview" when hovering a QLabel...
Do you guys know how I could manage this ?
Thanks in advance !
You can set the tooltip to use html, including <img> tags. Will that do what you need?
As described in the docs, you can override the object's event handler if you need to do something fancier in a tooltip than can be done by default. (such as selecting a particular area of an image to put in the tooltip)
As long as you set the button size large enough, you should be able to capture the mouse-over events and display on mouse-over... but this seems like a somewhat strange way to go about things. Why not display all the images at first?
For those who are interested in the result proposed by jkerian :
Simply :
MyLabel->setToolTip("<html><img src="+MyImagePathAsString+"/></html>");
Will result in :
Thanks again to jkerian.
I don't know what kind of layout your QLabel is in, but I'm guessing it will cause weird layout changes if you just set the pixmap on the label when mouseovering it. Rather use a tooltip or just display a pixmap freely on the canvas.