I have an android application thats take data from sqlite database
and display the data in a simple gridview and it's work
but I want to remove gridview and have a treemap chart
the treemap chart is displaying the result with custom squares size and color
upon a specific value , when the value is bigger the square will be bigger and most dark color
I want it like this!
There is this tool on github for displaying treemaps, conveniently called android-treemap, but there are tons of other ways to do that.
Use Google chart with web view.
Related
I want to create a activity which should display my data same as the default contactView in android. Below is the snapshot . I want UI same as the image below.
a search box and all the alphabets at the right hand side of UI.
My data is coming from webservice and i want to display it just like default android contactsView
this is quite an old style of how the contacts app look like.
anyway, what you can do is to use pinnedHeaderListView library , and for each item put a simple imageView and textView.
for the tabs, use the tabs navigation as used on actionBarSherlock library
I am trying to replicate the text message application of Android Application, where the requirement is to send multiple images in one message.
I am able to put one image in edit text field. However, I am not sure how we can put multiple images in edit text?
If it is not possible, what is the another way to do it?
Someone has mentioned in following link that need to use relative layout with gallery and textview.
How do I insert multiple image in Edit Text in android
Can anyone help me on this?
Thank you in advance.
You can use a
LayerDrawable
It is a Drawable that manages an array of other Drawables. These are drawn in array order, so the element with the largest index will be drawn on top.
I want to display this type of paging control as shown in the image i am getting the length of string array and i want to display the length as paging control with white dots as the number of pages.please help
I think this is what you need
or this.
It is called ViewPagerIndicatior and usually it is used on conjuction with ViewPager (of course you can use it also alone).
Hope this helps!
I'm new to android development.Basically my question is how do I change the padding within a spinner so that the text is more compact and can therefore fit more values on the screen.
I have thought about using a slider, however I because there is such a wide range the value could be (1-20000) I wanted to enforce some restriction so selected lower numbers is easier.
Any tips would be great.
You can write s custom Spinner Adapter and override getView to write your own view. I had written some sample code for another similar question which might help.
i want to create a home screen application where the applications looks like carousel , and i am able to do it . The problem i am facing is that in my application only the applications icon are getting displayed the text is missing in it , where as my requirement is that i want to both the icon and text to be displayed together.
my application displays same as the above showing image.
i want text to be combined with it as above image.
please help me.
Thanks
datta
So the simplest thing to do would be to create a Compound Control. This compound control would essentially be a LinearLayout with both and ImageView and a TextView in it. Then, where ever you use a CarouselImageView in your code, just use your new compound control instead.