How can I set the width of radio buttons to change with regards to screen size? (android)
I have these radio buttons and they need android:width="X" and android:height"X" however, I do not know how to set these properties so that they adapt to a different screen size. Here is the code I'm using for my buttons: <RadioGroup android:layout_width="fill_parent" android:layout_height="50px" android:orientation="horizontal" android:checkedButton="@+id/first" android:id="@+id/states"> <RadioButton android:id="@+id/first" android:background="@drawable/button_radio" android:width="50px" android:height="50px" /> <RadioButton android:id="@+id/second" android:background="@drawable/button_radio"