Android : Chart Using Scrollview
Sep 8, 2010
I want to draw a chart and I'm using a scrollview to do so. my scrollview holds the chart view. What I've observed is that the scrollview's onDraw calls the onDraw of my chart view. Now I draw the entire chart on the canvas when the onDraw of chart view is called. Also scrollview's onDraw is called everytime I scroll the view. So I end up drawing the entire chart multiple times. Is there any better way to achieve what this
View 1 Replies
Jul 16, 2010
I must be overlooking something real simple here, but i think i'm trying to do something fairly basic.. Simply retain the scrollbar position of a ScrollView on orientation change...
Here is the code for my onSaveInstanceState and onRestoreInstanceState.. sView is the container for the ScrollView layout. Within my scrollview is a linearlayout with a lot of textviews.
CODE:............
If I set a Toast with the values of sViewX and sViewY on the Restore, the values are kept and correct.
I just tried to do a sView.scrollTo(0,150); in my onCreate.. just to see if that would open the activity at 150px down, and it didn't. I think my issue has to do with the .scrollTo method.
View 1 Replies
View Related
Mar 10, 2010
I want some of the goodies in a ListView, like being able to use a ListAdapter, and item selection, etc, but I don't want the ScrollView portion of it. I want to implement that part myself, in a different way (why or how I do this isn't really the point of this question, so please don't ask "why"). Is there a way to have a ListView that's not in a ScrollView or has the scrolling disabled?
View 2 Replies
View Related
Oct 8, 2010
Is there any api for drawing financial chart in android.
View 2 Replies
View Related
May 9, 2009
I am looking for the .jar file or an api where i can use and draw charts for my android application.i searched net about it couldn't find much results..Kindly help in it to find any chart api that can be for the android applications.
View 3 Replies
View Related
Feb 18, 2010
How can I build a pie chart in my application?
View 3 Replies
View Related
Aug 17, 2009
Can anyone suggest good chart engine for Android?!
I did a small research and found several engines: - Java4Less (http://java4less.com/charts/chart.php?info=android) - Chart4J (http://code.google.com/p/charts4j/) - BlueChart (http://code.google.com/p/bluechart/) is it a port of jFreeChart?! - aChartEngine (http://code.google.com/p/achartengine/) - aiCharts (http://www.artfulbits.com/Android/aiCharts.aspx)
Somebody try them?! Any pros and cons?! Which one is the best for Android?!
View 2 Replies
View Related
Feb 16, 2010
Can I use the google chart API in an android project? If so can anyone link some examples?
View 4 Replies
View Related
Oct 8, 2010
How to draw chart like the following image in android.what is the tool can we use?
View 1 Replies
View Related
Sep 4, 2010
I used to have an APP that showed my SD card usage on a pie chart and give a list of what was using how much. Anyone know what this APP is called?
View 2 Replies
View Related
Oct 7, 2010
I'm seeing that it would be good to have some sort of charting scheme (or possibly just a table-based design strategy) when designing Android apps.Have any such schemes been proposed?
View 4 Replies
View Related
Jan 24, 2012
how to make battery consumption on running applicaion in android my thesis problem. it's about a battery notification or battery consumption of running application. how can i make it just like a chart/history that will tell how much battery an application consumed.
View 1 Replies
View Related
Feb 23, 2010
I hope what I'm asking hasn't been asked, but if so, I'd gladly take a link in the right direction.Is there a comparison chart/ T-chart that compares the various roms out there?Something that compares build (2.01 vs 2.1), features (wireless tether, live wallpapers, etc), speed results, strength/weakness narrative etc. similar to what you'd find on a consumer guide, perhaps in a scope and sequence type of alignment that alludes to release dates?I've heard "go with the rom that best suits your need", but a diagram like the one suggested might help the community.Perhaps a knowledgeable veteran would be interested in such a project?If I'm way off, just tell me to go pound sand.
View 13 Replies
View Related
May 2, 2010
Just switched from a Motorola Droid to an Incredible after having the Droid for 8 days. Love the Inc but miss the stock weather that the Droid had, specifically the line chart that had % chance of Precip and Temp forecast vs Time. Any way I can get this on my Inc? Thanks.
View 3 Replies
View Related
Aug 25, 2009
Could someone recommend a free or cheap Chart drawing package for Android? I found this one, which is quite elegant but pricey ($300/license):
http://www.artfulbits.com/Android/aiCharts.aspx
View 4 Replies
View Related
Sep 1, 2010
I have need to make a sort of "Pie Chart"-style circular display. the wedges of the chart have to be touchable, and the whole circle has to be able to spin 360deg. I'm still an android noob, but I'm guessing that I can't do this with a Layout.. right? preferably, the wedges would be image assets that I create in Photoshop, and not programmaticaly created does anyone have any Idea where to start with this?
View 1 Replies
View Related
Mar 9, 2010
How to add listview inside scrollview ?
CODE:................
I added listview inside scroolview. But its not showing in proper way. The listview is showing only in smaller size.
I tried in most of the ways ? But i can't able to get...
View 5 Replies
View Related
Mar 25, 2010
I'm new to Android development and having a hard time making the UI, so hopefully someone here can help me with a hint...
What I need in my layout is this:
CODE:...............
as you can see the layout will need scrolling, but adding a scrollview as a root to the RelativeLayout tag, didnt do anything...
View 2 Replies
View Related
Jul 1, 2009
I've got a ScrollView containing a vertical LinearLayout.
The LinearLayout contains several items, including a ListView.
The problem is that I can't seem to get the ListView to be fully expanded. It is being compressed to fit everything on the screen, and forcing me to scroll through just the list. I would prefer to be able to scroll the entire layout, including the ListView.
I've played with the layout parameters a lot, but can't seem to get anything to work.
Also, I'm going to put this in another thread, but thought I'd ask here as well. Is there any way to force a separator at the top of a ListView?
View 8 Replies
View Related
May 23, 2009
I am trying to display a screen filled with data fetched from a server. The data, if it were HTML, would look something like the following (try to visualize =) ):
CODE:..............
So I naively tried to put a ListView in a ScrollView. Not only did it not work, but I've since read all about why it is bad by the likes of such luminaries as Hackborn and Guy (it nullifies the optimizations, etc).
Problem is, the half dozen places that said NOT to do it didn't recommend what I SHOULD do instead, excepting one post by Romain Guy specifying footer or header use (not suitable in my example, right?). In other words, it seems like people want to mix a list of items in among other text data, getting the benefits of a ListAdapter, but this isn't addressed anywhere that I can find.
So, what is The Right Way to implement my example above? I'm a step away from trying to add TextViews inside a for loop, which just doesn't sit right in my gut.
View 3 Replies
View Related
Sep 1, 2009
How can I add some buttons below ScrollView that always stay on screen.
View 3 Replies
View Related
May 2, 2009
I show articles in WebView and would like to add some additional information, e.g. publishing date, author etc., into the same ScrollView above the original content. So that it usually doesn't take up space, but the user can just scroll back when the information is needed.
Did any of you do something like that in a sane way?
I thought I can put my stuff into the same ScrollView that WebView uses, but when looking at it with hierarchyviewer I can't see any children, it's probably native.
View 4 Replies
View Related
Jun 13, 2009
I'm making sort of a book app. I have the text displayed as a textview in a scrollview:
CODE:.....
I then have
CODE:...............
And implemented the required following to catch a left fling or right fling. And
CODE:.......
This works fine if the text inside the textview is small (ie. there is no scroll bar as it all fits within the view). But as soon as the text requires scrolling, the gesture is no longer picked up by the detector. onFling is never called.
I have read that it is because scrollview handles its own gestueres? If so what is the easiest way to maintain the ability to scroll up and down the text, and also be able to detect flinging left or right and invoking nextChapter() and previousChapter() respectively?
View 3 Replies
View Related
Aug 19, 2010
I have two ScrollView inside of each of two HorizontalScrollView of a TableRow. When I touch drag one of ScrollView, another ScrollView must scroll as much. For instance, if I have a list of name on left ScrollView and corresponding phone numbers in right ScrollView, scrolling one ScrollView should not destroy the original bounding between the names and phone numbers. Can it be implemented by onTouchEvent? If so, how should I implement this(on both or one of the ScrollView)?
View 1 Replies
View Related
Sep 16, 2010
I want to use GridView with Scroll View(which containing ListView)..
View 3 Replies
View Related
Jan 28, 2010
I want to add a ScrollView in TableLayout. Is it possible to add? If yes, than how? Anybody have any idea regarding it? Please share something related to this topic.
View 2 Replies
View Related
Jul 21, 2010
I have an issue with EditText when it's wrapped in ScrollView.
Please see the following layout setup:
CODE:............
There's nothing special about this layout. I just want the EditText inside ScrollView to be scrollable when I entered more than 5 lines of text.
I tested this layout with both Eclair and Froyo and Eclair seemed working fine, but Froyo didn't really work at all. Was there any change on ScrollView?
ScrollView api says that I can put EditText(or TextView) inside of ScrollView to have this kind of functionality, so I guess that I did make a mistake or missed something important.
View 3 Replies
View Related
Jan 8, 2010
I have a little problem with a ScrollView.I have a layout for an activity which is made with a ScrollView. This scrollview contains two ListViews.<?xml version="1.0" encoding="utf-8"?>
<ListView android:id="@+id/accountsListView"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:scrollbars="none" />
<ListView android:id="@+id/cardsListView"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:scrollbars="none" />
</LinearLayout>In onCreate method of my activity I compute ListViews height according there contents.During execution, on activity launch, ScrollView is already scrolled a bit.So I tried, at the end of onCreate to call method scrollTo(0, 0), but it does not change anything.
View 1 Replies
View Related
Apr 30, 2009
I found some documentation that said for the 1.5 pre api that ScrollView and ListView are not supported. I used ListViews in my aHome widgets. Does anyone know if there is a way to scroll content in the new Cupcake widgets? I believe there might be a way to scroll plain text, but I need to scrol images as well as text.
I also found this list in an earlier posting to the list: supported Views are: AbsoluteLayout AnalogClock Button Chronometer FrameLayout ImageButton ImageView LinearLayout ProgressBar RelativeLayout TextView
Are these components still the only ones supported?
View 2 Replies
View Related