plug in scrolling users, much like facebook, not slider that i now - plugins

I would like to make a scrolling system to scroll the users of my forum when you click on the small arrow to the left or right of the system.
Here is what I want:
enter image description here
I hope this will help you understand me.
Thank you I ask for your help.

Related

ScrollView Level Menu on Unity

I'm trying to create a ScrollView with inside images, the images are the levels in the game, and when the user choose a level(a image), he can click the button (like "PLAY") so doing that change the scene to the level selected.
And another thig...how i can do to the images still in the center of the scroll view?
I think you are asking for how to do a scrollable list, covered in this tutorial.
Instead of putting buttons in it, you put your images in.
To detect clicks on the image, you add a script to your image containing the OnClick() method. (somthing like this)
I hope I could help you.
Maybe try to put little more effort in your research before asking questions.
I will remove this Question, because i found how to do it...
Btw for the second question, i just create a script which i can make move to the center all the images/buttons/objects. And if you don't know why i'm doing this, it's for create like an animation to show much easier what button/object are you selecting..if you see an image return to the center of the scrollview, you will know that is your image.
I know... I don't, explain well what i want..but i'm new in this world of programming..

unity doesn't show preview

My question is quite simple. I am learning Unity and watching a tutorial about making a 2D game.
In the tutorial, there is a Preview section at the bottom right corner. But in my Unity, there is nothing there. There is Inspector on the right and below of Add Component there is nothing.
Can anyone explain to me how can I activate that part? Thanks in advance!
This is what I want:
This preview box is for resources. It shows a preview of the resource. To get this to show up you must click on one of your resources(Like an image).
However when you do not have a resource selected it will not show up
Maybe this is a little too late but in order to get the model to show up:
Right click on the little model figure on the bottom right corner of the Preview window
Click on Select Other ...
Select my prefab
You should be able to hit the Play bttn to see your animation afterwards
FYI I'm currently on Unity 2019.2.17f1

Make fix size round button as image in iphone sdk

I am developing an application in which I need to round button as image (as I uploaded).
It Show two corner are straight and the rest is in round shape. I tried withmybutton.layer.cornerRadius but make round whole image. I also tried to just make custom button but it leave extra space in button around image i need to fix size button as image show.
Please help me. Thanks in advance. Happy Day.
Here is a one good tutorial on this:
http://iphonedevelopment.blogspot.in/2010/03/irregularly-shaped-uibuttons.html
you can download code from here
https://github.com/ole/OBShapedButton
Hope this helps
An alternate but not really a good one first add an imageView add this particular image over it than add an custom invisible button over the image by adjusting size of the button it will not cover the whole image though but still it will work fine...actually i did use this approach in one of my app :p
OBShapedButton might help. It's an open source UIButton subclass optimized for non-rectangular button shapes. If it still doesn't work, making your own buttons isn't that difficult either. Use a UIView and handle touches within the view. For eg, in touchesMoved:, set the active image and in touchesEnded:, handle the click event!

swiping content to move to next piece on iphone

Sorry for the super basic question but I'm just looking for a little direction.
I would like my user to be able to swipe his or her finger horizontally in order to get the content to change.
Very much like the iPhone interface works where the user can do a small swipe and see the content match their finger's position.
Can anyone point me in a direction that would get here?
thanks!
Look at the examples for the Page Control.
https://developer.apple.com/library/ios/#samplecode/PageControl/Introduction/Intro.html
Or here is an example for scrolling without the page control:
http://eureka.ykyuen.info/2010/05/22/iphone-uiscrollview-with-paging-example/

2 buttons having the same functionality in iphone application

I am creating an application with call functionality, I want to have the phone image on the right hand side and the name of the contact on the left hand side. Currently this has been implemented by placing the 2 buttons side by side, hence if the user clicks on any of the buttons, the same functionality (calling the contact) happens.
Is this allowed according to Apple HIG? Please let me know.
Thank You,
Ashvin
I don't think anything in the HIG specifically disallows this, but it seems like a bad idea, for a couple of reasons:
If there are two buttons side-by-side, users will assume the buttons do different things, and will be confused when they don't.
It wastes screen real-estate that could probably be put to better use.
From your description it is hard to tell exactly what this looks like, but it sounds like something that needs to be re-designed.
Overlapping buttons?
It might not give you an intuitive UI, as the content of the overlapped button might get truncated by the overlapping button.
As Kristopher has explained, it will result in a bad user experience.
It is possible, that your app might get rejected because of the truncations as the user will not be readily able to perceive the content.
If look of the button is what you are concerned about, then you can just set one image (whether odd shaped or not) to one button, as long as the user is able to perceive that it is a button.
In the odd shaped image, you should also ensure that the functionality does not get triggered when the user touches the transparent area of the image, otherwise it might confuse the user.
Hope these points help!
Is there any mention about overlapping the buttons? Suppose for better design/look and feel, I have to place two buttons which partially overlaps each other, is it disallowed? Still the screen looks good and there will not be any confusion about the buttons. But only point is they are two different buttons, which assumes same functionality and has overlapped.
Adding some more information on the about query.
The buttons are overlapping as one is just a graphics and another is a rounded rectangle button whose Title changes dynamically.
If they can not be overlapped, can we have an odd shape button on the screen as long as user feels that they are buttons?
Thanks.