I am following below link to implement sliding menu in android.
Tutorial make your own Sliding Menu in Android
and for downloading source code i have used below link.
https://github.com/onmyway133/SlidingMenu
So i am successfully able to implement with the basic sliding menu. But my question is how can i add image with each option.
So basically i want to add image with each option like Main, Button, Checkbox etc... So how can i add image with this.
I tried with some method but not get success. Please help me.
Thank you in advance.
Use your own adaptater to the list view with custom xml for each row ,like this :
Listview tutorial
Related
I want to implement image slider in android similar to this . But I need to do this without any third party dependencies . Is there any sample for implementing the same using View pager , or anything else. I need the exact slider style , with dot indicator
Follow the steps below to implement the same.
Step1:
create two circle images, one for on and other for off.
Step2:
Create three blank fragments for displaying the image. you can create as many as you want.
Step3:
Create a footer.xml to place the circle indicator.
Step4:
Create a fragment_main.xml to place the viewpager.
Step5:
Create an adapter class.
Please check this http://javaant.com/viewpager-with-circle-indicator-in-android/#.Vx3_gJN96Ht
to download the complete code
i want like used listview in android and i want to create dynamic list like below image.how to possible and i want to fix top toolbar and below toolbar .
Thanks!!!
You are looking for three keywords: custom listview, adding search button to actionbar and adding a tab bar.
1) For your custom listview you need to create a layout for each row. You could realize it with a simple nested LinearLayout or RelativeLayout for the following parts. I could highly recommend this tutorial. Just modify the layout to create a row for your snippet:
2) For the search button in the actionbar, check out this section of the Android developer guide. This should help you getting started.
3) A tab bar example can be found here or here.
Hope it helps you getting started.
For the list: Create a layout xml and a ListAdapter that knows how to inflate the layout and populate it with each list item's data. Doing a quick google I found this presentation on it that looks to be fairly comprehensive.
For the top and bottom bar: Look at the action bar developer guide.
As has already been said, nobody will write your code for you. But this stuff should enable you to learn how to do it yourself.
I want to implement same menu in my application. i tried many Demo examples of wheel type that use a static image which is upl![enter image description here][1]oaded once without any success. . so any one please help me out
A menu exact similar to this
link => https://stackoverflow.com/questions/12072692/a-circular-layout-with-scrollable-contents-in-it
Not sure about a scrolling feature but I have seen some menus that are similar to the one in the link that you posted. Links:
1.) daCapricorn's custom view called: ArcMenu.
2.) anupcowkur's android wheel.
3.) R4md4c's android rotary wheel view.
4.) lib4's rotate wheel.
I hope these can help.
I am working on an application related to news feeds where I need to GUI design like Pinterest application as in attachment picture image ,There are thee things (menus) at top like Search , Pinterest and Profile ,I want the same that should be change by swapping and click , User can switch among (search,Pinterest and profile ) top menu by click and swapping .Anyone can guide how I can do it ? I try tab view but unable to add swapping , anyone can guide me better way ?
For such a layout, I would recommend ViewPagerIndicator. Make sure to download the demo application and look at the code of the swipable tabs implementation. That may be exactly what you're looking for.
For an easy customization of the tabs in there, you'll find the Android Asset Studio helpful.
Any one know about how i create custom menu like my attached image if any know about this then please help me for creating this type of menu or give me any source example!