Apply a style to a group of TableRow entries

by Eelco » Mon, 16 Aug 2010 13:46:13 GMT

Sponsored Links
 I want to apply a style to a group of TableRows without loosing the
alignment of the enclosing TableLayout.

Does anybody have a suggestion for this? I have been looking for a way
to 'connect' 2 TableLayouts so that they share the same alignment of
their columns, but did not find anything. And everything else just
messes up the layout of the table.


Other Threads

1. bug or a feature?

I want to set the id of a Button equal to "switch".
Ie I simply add the following code in the xml-file:
After that aapt gives me the following error:
[2011-03-15 11:42:58 - TestAndDevProject] /opt/dev/android-2.2/android-
sdk-linux_86/platform-tools/aapt: /lib/ no version
information available (required by /opt/dev/android-2.2/android-sdk-
[2011-03-15 11:42:58 - TestAndDevProject] /home/ar/workspace-
37: error: invalid symbol: 'switch'

Ie I can not assign value "switch" for the id-field when declaring
If I write "switch0" or something else, then the error will not.

my sdk details: Android Platform SDK 2.2 API 8.

Of course, the value of "switch" to me is not essential, but I would
like to know this is a bug or a feature? :)


2. Creating integer array of resource ids

Hi All,

I have some images in my res/drawable folder. Let's say img1.png,
img2.png and img3.png

I am currently creating an int array of these image IDs in Java like
this -
int[] imgIds = {R.drawable.img1, R.drawable.img2, R.drawable.img3};

Instead is it possible to create an int arr in one of res/values files
(say strings.xml) like this -
    <integer-array name="img_id_arr">
and then access it in Java via
getResources().getIntArray(R.array.ing_id_arr) ?



3. AWT - yes or no??!

4. Tracing Geo Location and saving them into file from start of a cal to end call duration

5. Resolution Problem

6. Help Using

7. About certificate on Android Platform.