2
Ich möchte den Text des Optionsfelds bearbeiten, nachdem die Anwendung erfolgreich auf dem Gerät ausgeführt wurde. Kann ich das erreichen?Kann ich den Text von Radio Button editierbar machen?
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<RadioGroup
android:id="@+id/radioGroup1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:orientation="horizontal"
android:weightSum="2" >
<RadioButton
android:id="@+id/radio0"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="call" />
<RadioButton
android:id="@+id/radio1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:checked="true"
android:text="email" />
</RadioGroup>
So zunächst heißt Anruf und email.So Mein Radio-Button, wenn ich dies ausführen muss ich es editierbar sein.