[android-developers] why the scroll bar functionality is not working when I am setting the activity in full screen mode

2011-12-19 Thread bhumi kania
Hello All,

I am having one layout which is in scroll bar.
The Scroll bar is not working when I am setting the activity theme as
full screen mode.
I don't know how to overcome this problem.
Can any one help me?

this is my layout
?xml version=1.0 encoding=utf-8?
ScrollView xmlns:android=http://schemas.android.com/apk/res/android;
android:id=@+id/scroll_layout
android:layout_width=fill_parent
android:layout_height=fill_parent
android:layout_gravity=center_horizontal
android:layout_marginBottom=5dp
android:layout_weight=1
android:background=@drawable/bg
android:gravity=center_horizontal|bottom
android:scrollbars=vertical 

LinearLayout
xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=fill_parent
android:layout_gravity=center
android:gravity=center
android:orientation=vertical 

LinearLayout
android:id=@+id/layout_top
android:layout_width=wrap_content
android:layout_height=wrap_content
android:orientation=vertical 

LinearLayout
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_gravity=center
android:orientation=horizontal 

LinearLayout
android:layout_width=wrap_content
android:layout_height=wrap_content
android:background=@drawable/add_mood_left
android:gravity=center_horizontal|bottom 

Button
android:id=@+id/btn_left
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_marginBottom=5dp
android:layout_marginLeft=15dp
android:background=@drawable/btn_previous /
/LinearLayout

LinearLayout
android:layout_width=wrap_content
android:layout_height=wrap_content
android:background=@drawable/add_mood_circle
android:gravity=center_horizontal 

ImageButton
android:id=@+id/btn_select_mood
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_gravity=center
android:background=@drawable/mood1
android:focusable=true
android:focusableInTouchMode=true /
/LinearLayout

LinearLayout
android:layout_width=wrap_content
android:layout_height=wrap_content
android:background=@drawable/add_mood_right
android:gravity=center_horizontal|bottom 

Button
android:id=@+id/btn_right
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_marginBottom=5dp
android:layout_marginRight=15dp
android:background=@drawable/btn_next /
/LinearLayout
/LinearLayout

LinearLayout
android:id=@+id/layout_feeling
android:layout_width=fill_parent
android:layout_height=wrap_content
android:layout_gravity=center_horizontal
android:background=@drawable/add_mood_middle
android:gravity=center_horizontal
android:orientation=horizontal
android:paddingLeft=2dp
android:paddingTop=1dp 

TextView
android:id=@+id/txt_i_m_feeling
style=@style/i_m_feeling
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=@string/i_m_feeling /

TextView
android:id=@+id/txt_feeling
style=@style/feeling
android:layout_width=wrap_content
android:layout_height=wrap_content
android:text=@string/happy 
/TextView

TextView
android:id=@+id/txt_because
style=@style/i_m_feeling
android:layout_width=wrap_content
android:layout_height=wrap_content
android:ellipsize=end
android:gravity=center_horizontal
android:text=@string/because /
/LinearLayout
/LinearLayout

LinearLayout
android:id=@+id/layout_middle

[android-developers] assigning typeface to text view

2011-10-12 Thread bhumi kania
Hello,

I want to assign the typeface which I had placed in my asset folder to
all the textview of my application.
So is there any way through which I can assign this time at once to
all the textview of application?
Or I have to assign manually to all textview where they are appears on
activity?

Currently I am doing like this at place where I am having textview on
layout.
TextView title = (TextView)
findViewById(android.R.id.title);
Typeface whyteny =
Typeface.createFromAsset(getApplicationContext().getAssets(),
whitneymedium.ttf);
title.setTypeface(whyteny);

Thanks In advance

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: overlapped nodes in graph

2011-10-07 Thread bhumi kania
yes I mean the objects as the activity. and I want to draw graph from
that objects.

On Oct 7, 10:53 am, Studio LFP studio@gmail.com wrote:
 So you are storing data from a server and drawing a graph on a canvas?

 Your explination is throwing me off a bit since you say you have multiple
 activities, which is an object in Android, but could be something like a
 playtime activity also.

 If you are just getting data from a server, you could always store it in a
 database and use the DISTINCT or GROUP BY features to help with the overlap.
 You could also use that storage to cache the data and just check to see if
 newer data was available, and if not, just use your local copy and save the
 user time and bandwidth.

 Steven
 Studio LFPhttp://www.studio-lfp.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: overlapped nodes in graph

2011-10-07 Thread bhumi kania
http://www.mindmeister.com/23290325?title=western-philosophy

I want to draw this kind of graph.

On Oct 7, 9:45 am, TreKing treking...@gmail.com wrote:
 On Fri, Oct 7, 2011 at 12:50 AM, bhumi kania bska...@gmail.com wrote:
  I was asking about the sample algorithm that is removing the overlapped
  node in the hierarchical view.

 Sample algorithm?

  Now I have to draw this hierarchy.
  The graph is ready but some nodes are overlapped somewhere.
  So I need to remove that overlapping.

 This sounds like a logic bug specific to your app.

  I had googling the algorithm that removes the overlapping of node. But I am
  unable to implement that algorithm.

 The algorithm? That algorithm?

 If you have any idea about that then let me know.



 I have no idea because you have still not explained what the algorithm is,
 you're just making vague references to it.

 Regardless, whatever algorithm you're having trouble with, figuring it out
 is an app-specific logic problem or a general computer-science problem at
 best.

 This does not appear to be Android specific so you're not going to get much
 help here.

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: overlapped nodes in graph

2011-10-06 Thread bhumi kania
yes I found some algorithm for removing the overlapped node.
But its lill bit hard to implement on canvas.

Do you have any sample code for that which had implemented the
algorithm.

Thanks.

On Oct 5, 9:39 pm, TreKing treking...@gmail.com wrote:
 On Wed, Oct 5, 2011 at 12:55 AM, bhumi kania bska...@gmail.com wrote:
  I had made one graph of connected nodes but at some portion the nodes are
  overlapped on each other.

  Any one can help me in that. I know I have to implement any algorithm that
  will remove the overlapping.

 but is there any in-built library that had implemented such a thing

  or suggest me the best algorithm and some examples which had implemented the
  algorithm to display the graph.

 This has pretty much nothing to do with Android Development. Did you try
 googling graph algorithms ?

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: overlapped nodes in graph

2011-10-06 Thread bhumi kania
I was asking about the sample algorithm that is removing the
overlapped node in the hierarchical view.
Let me explain first what I am doing.

I am having one main activity. That is having its own child activity
and all those child again having their child. means its in a recursive
way up to n number according to data that I am getting from the
server. Like we can say multilevel hierarchy.

Now I have to draw this hierarchy.
The graph is ready but some nodes are overlapped somewhere.

So I need to remove that overlapping.

I had googling the algorithm that removes the overlapping of node. But
I am unable to implement that algorithm.

If you have any idea about that then let me know.

Again thanks for at least replying me.





On Oct 6, 5:38 pm, TreKing treking...@gmail.com wrote:
 On Thu, Oct 6, 2011 at 1:17 AM, bhumi kania bska...@gmail.com wrote:
  Do you have any sample code for that which had implemented the algorithm.

 Do I happen to have sample code that solves *your* problem implementing an
 algorithm that you did not explain? No, sorry.

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] overlapped nodes in graph

2011-10-04 Thread bhumi kania
Hello All,

I had made one graph of connected nodes but at some portion the nodes
are overlapped on each other.

Any one can help me in that. I know I have to implement any algorithm
that will remove the overlapping.
but is there any in-built library that had implemented such a thing or
suggest me the best algorithm and some examples which had implemented
the algorithm to display the graph.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help for SMS schdular

2011-10-04 Thread bhumi kania
you can start the timertask for sending sms on specific time.

On Oct 5, 9:33 am, vibhu vibhu.tiwar...@gmail.com wrote:
 Hi ,
 I m new to this Mobile Application development. I want to learn how to
 schedule sms for sending . Please help me in this with any tutorial or
 source code ..

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] how can I start working on mind map

2011-10-03 Thread bhumi kania
Hello All,

I am totally new to the graphics world of android.
Currently I am working on a project that will have the notes and I
have to draw mind map according to that note.

Currently I don't have any idea how can I opt the graphics for this
kind of map?
should I use open gl or it can be done with simple graphics class
also?

or is there any library that is providing such kind of memory map
view.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how can I start working on mind map

2011-10-03 Thread bhumi kania


On Oct 3, 7:59 pm, TreKing treking...@gmail.com wrote:
 On Mon, Oct 3, 2011 at 1:21 AM, bhumi kania bska...@gmail.com wrote:
  Currently I don't have any idea how can I opt the graphics for this kind of
  map?

 Start here:http://developer.android.com/guide/topics/ui/custom-components.html

  should I use open gl or it can be done with simple graphics class also?

 Probably don't need GL for bubbles and text.

  or is there any library that is providing such kind of memory map view.

 I doubt it. That's kind of specific.

 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices


I had tried with that also. but how can I set multiple textview and
bubbles custom view at run time on a dynamic position and connect them
with lines?

As I have to set their position on runtime according their
connectivity.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en