How do I create a 3 row screen?

by CHUA Chee Wee » Tue, 21 Apr 2009 23:10:02 GMT


Sponsored Links
 Hi,

I am trying to create a screen consisting of a conceptual 3 rows.

Initially, I tried using a top LinearLayout, with 3 childs of
LinearLayouts, but that didn't work for me.
I then tried creating a top TableLayout, with 3 childs of TableRows,
followed by a LinearLayout in each TableRow, but that didn't work for
me either.

What I would like to achieve is a fixed top (containing a text view)
and bottom panel (containing a few buttons). The center, I would like
to have a ScrollView that can scroll an ImageView.

Does anyone have any ideas or suggestions on how I can achieve what I
want?

Thanks.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Linking external libraries (JJIL)

Hey,

I'll happily admit to being a Android Dev "noob", so bare with me.

I'm building an app that does some basic image maniplulation. I have
taken a look at JJIL, and it looks like it does many of the funcitons
I need:
http://code.google.com/p/jjil/

So, quesiton, what is the best way to link JJIL to my Android project
in Eclipse?
I followed the documentation here, and it still errors (import JJIL
can't be resolved):
http://developer.android.com/resources/faq/commontasks.html#addexternallibrary

I created a new library, which appears as a "referenced libraries",
and has all the JILL subdirectories, but none of the .java files.

Can someone do me a massive favour and just break down the process?

Cheers!

Nick Deboar

-- 

2. How to capture long press of menu button

How can I capture a long press of the device menu button in my application?
I thought of an intent filter, but there's only an action called android.intent.action.SEARCH_LONG_PRESS, but nothing for the MENU button. I found that long press of the menu button actually does different things on different devices, i.e. on Nexus One it will show the soft keyboard, while on Samsung Galaxy S it will pop up the search widget. Generally, I want to suppress this behaviour in my app. (I already looked on StackOverflow.com for some hints but only found unanswered posts.) --

3. Drag and drop an image from a Gridview

4. Failed to create memory map of /dev/graphics/fb0

5. Not sure what is causing delay...

6. T-Mobile G1 won't appear in 'adb devices' list

7. Regarding partnership opportunity with MobiQpons to monetize your app.