TableLayout borders

by Robertico » Mon, 23 Feb 2009 05:20:24 GMT


Sponsored Links
 Hi,

Is there a way to set something like border="1" in a TableLayout?

<TableLayout xmlns:android=" http://schemas.android.com/apk/res/ 
android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:id="@+id/mitabla">


    <TableRow>
        <TextView
            android:text=""
            android border="1" <<< ???
            android:background="#00000000"
            android:padding="15dip" />

Regards,
Robertico

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



TableLayout borders

by neuzou » Sat, 14 Mar 2009 02:11:39 GMT


 I have the same question, I want to display the border on TableLayout,
but Android does't give any method to do this, anybody can help me?
Thanks.

Regards
Dwyane




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


Sponsored Links


Other Threads

1. How to refresh ListView?

Hello,

I'm facing to one problem with ListView. I would like to refresh the
ListView every time I change the base data. Please see the following
example:

@Override
public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setListAdapter(new ArrayAdapter<Object>(this,
                        android.R.layout.simple_list_item_1, mStrings));

        new Timer().scheduleAtFixedRate(new TimerTask() {
                public void run() {
                        Log.d(TAG, "running timer: num=" + num);
                        mStrings[0] = "Unpdate " + num;
                        num++;

                        /** refresh the ListView - HOW??? **/
                        //TestList.this.getListView().invalidateViews();
                        //TestList.this.getListView().refreshDrawableState();
                        // what else???
                }
        }, 5000, 2000);
}

Can somebody give me a hint how to implement this feature?

Best regards,
Jiri

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

2. Buying an Dev Phone with Credit Card

Hi,

maybe not the right group, but I don't know where to ask.

I wanted to buy a Dev Phone. I'am already registered as developer and
my registration is approved.

But when I go to the checkout I get an error message that I have to do
a verbal authorization at my creditcard issuer. But I never heard from
this before and don't know what to do!

Hopefully someone can tell me what I have to do. I'm from germany.

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

3. Problems with webapp form submit from the android browser

4. bugs in Dev Guide's "Hello, Form Stuff" sample ?

5. Notepad tutorial is not updated

6. ERROR: Please insert SD card before using camera

7. Can wallpaper images be retrieved?