How to build a complex view? - android

How can I build a view like this?
Maybe first row image and then another image for the spinner and then button for the preference and then button for the email.
Second row: two buttons with two images.
Is there a simple way?

This is a simple ActionBar pattern. Please refer to the ActionBar API documentation in the Android docs, and the ActionBarSherlock library which will allow you to use this back to 2.1

Related

Android multistep welcome screen (tutorial for using the app)

How to implement those popular welcome guides, where you have:
3-5 slides (with those little dots indicating the process), in the end button with something like "got it" (take me to the app & never show again).
Here is example (Walkthroughs with Twine):
https://ux.stackexchange.com/questions/50723/android-multi-step-wizard-examples
A simple ViewPager and multiple contained View's or Fragments will help you achieve this. For the indicator you can use ViewPagerIndicator.
you can simply use ViewPager here is a good library will help you to implement that:
https://github.com/JakeWharton/ViewPagerIndicator
or you can use a horizontal GridViews and set its column to 1 or using tabs and here is a library for horizontal gridView :
https://github.com/jess-anders/two-way-gridview

How to make a User Interface of my android application

I am trying to make android application which display newsfeeds through web,I have done with all functionality, as I programmed well but not design well I am getting problem to desing UI of my Application,I donot have enough idea how to do this, whether I use relative layout,or linear layout etc, Would you suggest me the way how can I design UI in xml file, I would be very grateful to you
Use the UI Guidelines from Android Dev site. Take the trainings provided there if you require. Read the Quick Overview page as well to cover important aspects.
... and here is a resource listing page for further reference.
First you have to learn android layouts. Try with some examples on each layouts. People here can help you if you have any issue with layouts, but don't expect someone to design and code for you.
OK . I would suggest you to use these layouts for this screen
Use ActionbarActivity with menu items ( action icon)
Search view or Edit text
Image view
Text view
Vertical Linearlayout with Imageview and Text view
Grid view with text view items.

Creating Dynamic list in android?

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.

Sencha carousel implementation in android

Can anyone let me know how to implement this feature specified at
http://vimeo.com/24475654
Specially i am interested to know how to give dots below images which get changed when we swipe the images. Is there inbuilt function or any open source to implement this ??
Another way to do it is by using ViewPager from android support package. Here is a tutorial on how to use it: Android User Interface Design: Horizontal View Paging
As for the 'dots' below you can refer to this custom library for a ViewPager indicator: JakeWharton / Android-ViewPagerIndicator
You can use the native Gallery to do this and extend it to look like the one you want.
It has on selected item listeners so you can simply select the dots that correspond to the selected items.
Here is a Gallery tutorial: http://developer.android.com/resources/tutorials/views/hello-gallery.html

How to design a iPhone like menu/button in android at the bottom?

I have googled this, most of the solutions are using:
1.TabHost with customized style which would cover the separate line between each tab to archive the requirement.
2.On the android developers website, there is a article is using Merge layout to put 2 buttons on top of the background image kind of archive what I want.(http://developer.android.com/resources/articles/layout-tricks-merge.html)
3.What about using button but style the looking like the example below? I don't need the selection, cause each item in the menu will be a button, which takes the user to another page.
I am wondering is there any other solutions apart from these two?
This is something want:
I don't need the menu likes a tab which has selected and unselected, they are better like a button always displaying in certain screen(activity).
Thank you.
You can use simple buttons, and provide any custom background for it. For such simple form as on your screenshot look for this link.
But #Janne write right thing - you should be very careful with transplanting controls from another platforms.

Categories

Resources