Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/05/2013, 01:54
SolisUNMSM
 
Fecha de Ingreso: enero-2011
Ubicación: lima-peru
Mensajes: 80
Antigüedad: 13 años, 3 meses
Puntos: 4
Respuesta: Es posible quitar los "circulitos" de los RadioButton??

aqui esta

para tu layout

Código XML:
Ver original
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="fill_parent"
  4.    android:layout_height="fill_parent"
  5.    android:orientation="vertical" >
  6.     <TextView
  7.        android:layout_width="fill_parent"
  8.        android:layout_height="wrap_content"
  9.        android:text="@string/phone_mode_"
  10.        android:padding="10dp" />
  11.     <RadioGroup
  12.        android:id="@+id/radioGroup1"
  13.        android:layout_width="wrap_content"
  14.        android:layout_height="wrap_content" >
  15.         <RadioButton
  16.            android:id="@+id/gen_radio"
  17.            android:layout_width="wrap_content"
  18.            android:layout_height="wrap_content"
  19.            android:checked="true"
  20.            android:text="@string/general"
  21.            android:button="@drawable/my_radio"/>
  22.         <RadioButton
  23.            android:id="@+id/sil_radio"
  24.            android:layout_width="wrap_content"
  25.            android:layout_height="wrap_content"
  26.            android:text="@string/silent"
  27.            android:button="@drawable/my_radio"/>
  28.         <RadioButton
  29.            android:id="@+id/met_radio"
  30.            android:layout_width="wrap_content"
  31.            android:layout_height="wrap_content"
  32.            android:text="@string/meeting"
  33.            android:button="@drawable/my_radio"/>
  34.         <RadioButton
  35.            android:id="@+id/off_radio"
  36.            android:layout_width="wrap_content"
  37.            android:layout_height="wrap_content"
  38.            android:text="@string/offline"
  39.            android:button="@drawable/my_radio" />
  40.     </RadioGroup>
  41. </LinearLayout>

y para el drawable , segun el estado

Código XML:
Ver original
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <selector xmlns:android="http://schemas.android.com/apk/res/android">
  3.     <item android:state_checked="true" android:drawable="@drawable/radio_on" />
  4.     <item android:state_checked="false" android:drawable="@drawable/radio_off" />
  5. </selector>


fuente

http://vimaltuts.com/android-tutoria...m-radio-button