Hi there,

coming from a iOS background I'm digging a little bit deeper into the 
android stuff. As all of you know, there are tabbars in iOS which I can 
style with custom backgrounds and buttons. Now I would like to rebuild such 
a "easy" tabbar which is bottom aligned in an example android project. I 
know the interfaces guidelines say navigation should be on top, I just want 
to implement this bar as an experimental task. 

What I've got: 

   - The app should require min. api lvl 8
   - A background image, which has some curved top border with transparent 
   background. This image has a min-width (in our case: 480px)
   - Also there should be lets say 5 buttons. So I've got 5 button images.
   

What I've would like to know:

   - What would be the cleanest approach to solve this task? Subclassing a 
   specific view?
   - How do I layout/draw custom views with the ADT plugin? I know I can 
   create a layout which can be used by an activity but is there a way to 
   define a "custom" widget on a visual way?
   - Regarding to my tabbar background: Should I try to convert it to a 
   9patch image? So that I only need to provide one image? 

What I've tried so far:

   - Created a fragment which has my tabbar image as background image. 
   Problems here so far: How do I define a fixed height for this fragment? So 
   that this is recognized by other activities. 
   - Created a fragment which has a ImageView with my background image. 
   Buttons were laid out by "alignTo" parameters which felt a little bit messy 
   and confusing

Don't get me wrong: I just want some buzzwords or hints which poke me to 
the right direction.

Any hint will be appreciated

Regards

oni

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

Reply via email to