1. Are you ready for the Galaxy S20? Here is everything we know so far!

problem with radio button

Discussion in 'Android Development' started by smita, Feb 14, 2011.

  1. smita

    smita Newbie
    Thread Starter

    hi
    i have problem with radiobutton layout and it's backgroundcolor
    i have array of Radiobutton and i add it dynamically through program .
    i use stop[count].setPadding(10,10,10,10); but it not display in circular manner.


    Here is my code
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:eek:rientation="horizontal" android:layout_height="fill_parent" >
    <ScrollView android:id="@+id/ScrollView01"
    android:layout_width="match_parent" android:layout_height="wrap_content" >

    <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent" android:id="@+id/server"
    android:layout_height="wrap_content" android:layout_below="@+id/databaseinfo" style="@style/page_background_bl">
    <TableRow style="@style/tbl_row_bg" >

    <TextView android:id="@+id/services_nameid" style="@style/text_large_wh" android:text="@string/services_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:paddingBottom="10px"></TextView>
    <TextView android:id="@+id/services_statusid" style="@style/text_large_wh" android:text="@string/services_status" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
    </TableRow>

    </TableLayout>

    </ScrollView>
    </LinearLayout>
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...

Share This Page

Loading...