[android-developers] Re: TabActivity with scroll

2010-02-03 Thread priyanka
Thanks very much for your ideas folks.

Hc - its a cool tabhost you've made! :) Thanks a lot, and I'm sure it
will be very useful for a requirement of always fitting in within the
screen. Unfortunately, my requirement is such that I do not want to
reduce the width of each tab as the number of tabs increases :(

Beth - thanks a lot for the suggestion..I'll try it out..it might give
a nice look.

In the meantime, I've made a tabhost of my own with a ScrollView such
that it scrolls when the tabs cover a width more than the page width.

Cheers,
Priyanka

On Dec 8 2009, 7:25 am, hc honch...@gmail.com wrote:
 Hi guys,

 I made a scrollable tabhost with a scrollview. Made it open source and
 it's available herehttp://code.google.com/p/mobyfactory-uiwidgets-android

 On Dec 8, 7:47 am, Beth emez...@gmail.com wrote:



  Hi Priyanka,

  You might implement this functionality using a gallery, a list widget
  that scrolls sideways.

  In the Gallery adapter, you can set up each Gallery item as a TextView
  with a CompoundDrawable icon displayed above the text. A visual 'tab'
  outline could be set into the background of each item in the list.
  It's just a possibility if you really want more than 3 or 4 tabs.

  Regards,
  Beth

  On Dec 7, 10:53 am, Mark Murphy mmur...@commonsware.com wrote:

I want to use a TabActivity with 6 or 7 or more tabs. However, I do
not want to clutter my screen with so many tabs together. Hence, I'd
like to be able to show, say, 3 tabs on the screen, and to be able to
scroll to the other tabs. How may I achieve this?

   The built-in tab system does not support this concept. I recommend using
   fewer tabs, dividing your functionality into multiple activities.

   --
   Mark Murphy (a Commons Guy)http://commonsware.com
   Android App Developer Books:http://commonsware.com/books.html- Hide 
   quoted text -

 - Show quoted text -

-- 
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: TabActivity with scroll

2010-02-03 Thread priyanka
Thanks very much for your ideas folks.

Hc - its a cool tabhost you've made! :) Thanks a lot, and I'm sure it
will be very useful for a requirement of always fitting in within the
screen. Unfortunately, my requirement is such that I do not want to
reduce the width of each tab as the number of tabs increases :(


Beth - thanks a lot for the suggestion..I'll try it out..it might
give
a nice look.


In the meantime, I've made a tabhost as Mark suggested - such that the
fourth tag gives a list of the remaining functionalities, and the user
might go to them through this tab.
I had made a tabhost which used to scroll when number of tabs occupied
a width greater than the screen width, but then the look was not very
intuitive(we decided we don't want users to scroll in a tab) - hence
we discarded the idea of scrollable tabs.

Cheers,
Priyanka




On Dec 8 2009, 7:25 am, hc honch...@gmail.com wrote:
 Hi guys,

 I made a scrollable tabhost with a scrollview. Made it open source and
 it's available herehttp://code.google.com/p/mobyfactory-uiwidgets-android

 On Dec 8, 7:47 am, Beth emez...@gmail.com wrote:



  HiPriyanka,

  You might implement this functionality using a gallery, a list widget
  that scrolls sideways.

  In the Gallery adapter, you can set up each Gallery item as a TextView
  with a CompoundDrawable icon displayed above the text. A visual 'tab'
  outline could be set into the background of each item in the list.
  It's just a possibility if you really want more than 3 or 4 tabs.

  Regards,
  Beth

  On Dec 7, 10:53 am, Mark Murphy mmur...@commonsware.com wrote:

I want to use a TabActivity with 6 or 7 or more tabs. However, I do
not want to clutter my screen with so many tabs together. Hence, I'd
like to be able to show, say, 3 tabs on the screen, and to be able to
scroll to the other tabs. How may I achieve this?

   The built-in tab system does not support this concept. I recommend using
   fewer tabs, dividing your functionality into multiple activities.

   --
   Mark Murphy (a Commons Guy)http://commonsware.com
   Android App Developer Books:http://commonsware.com/books.html- Hide 
   quoted text -

 - Show quoted text -

-- 
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: TabActivity with scroll

2009-12-07 Thread Beth
Hi Priyanka,

You might implement this functionality using a gallery, a list widget
that scrolls sideways.

In the Gallery adapter, you can set up each Gallery item as a TextView
with a CompoundDrawable icon displayed above the text. A visual 'tab'
outline could be set into the background of each item in the list.
It's just a possibility if you really want more than 3 or 4 tabs.

Regards,
Beth

On Dec 7, 10:53 am, Mark Murphy mmur...@commonsware.com wrote:
  I want to use a TabActivity with 6 or 7 or more tabs. However, I do
  not want to clutter my screen with so many tabs together. Hence, I'd
  like to be able to show, say, 3 tabs on the screen, and to be able to
  scroll to the other tabs. How may I achieve this?

 The built-in tab system does not support this concept. I recommend using
 fewer tabs, dividing your functionality into multiple activities.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 Android App Developer Books:http://commonsware.com/books.html

-- 
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: TabActivity with scroll

2009-12-07 Thread hc
Hi guys,

I made a scrollable tabhost with a scrollview. Made it open source and
it's available here
http://code.google.com/p/mobyfactory-uiwidgets-android

On Dec 8, 7:47 am, Beth emez...@gmail.com wrote:
 Hi Priyanka,

 You might implement this functionality using a gallery, a list widget
 that scrolls sideways.

 In the Gallery adapter, you can set up each Gallery item as a TextView
 with a CompoundDrawable icon displayed above the text. A visual 'tab'
 outline could be set into the background of each item in the list.
 It's just a possibility if you really want more than 3 or 4 tabs.

 Regards,
 Beth

 On Dec 7, 10:53 am, Mark Murphy mmur...@commonsware.com wrote:

   I want to use a TabActivity with 6 or 7 or more tabs. However, I do
   not want to clutter my screen with so many tabs together. Hence, I'd
   like to be able to show, say, 3 tabs on the screen, and to be able to
   scroll to the other tabs. How may I achieve this?

  The built-in tab system does not support this concept. I recommend using
  fewer tabs, dividing your functionality into multiple activities.

  --
  Mark Murphy (a Commons Guy)http://commonsware.com
  Android App Developer Books:http://commonsware.com/books.html

-- 
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