0
ボタンをクリックしてタイトルバーの色を変更する方法。ボタンの1つをクリックすると、アプリケーション内のすべてのアクティビティのタイトルバーの色を変更する必要があります。タイトルバーの色
<?xml version="1.0" encoding="utf-8"?>
<RadioGroup
xmlns:android="schemas.android.com/apk/res/android";
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RadioButton
android:id="@+id/radio_blue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/pirates"
android:onClick="onRadioButtonClicked"/>
<RadioButton
android:id="@+id/radio_red"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/ninjas"
android:onClick="onRadioButtonClicked"/>
</RadioGroup>
はあなたのコードをポスト.. –
の<?xml version = "1.0" エンコード= "UTF-8"?> –
user8140800