Android: Legen Sie den Ansichtsstil programmgesteuert fest

Hier ist XML:

<RelativeLayout 
    xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/LightStyle"
    android:layout_width="fill_parent"
    android:layout_height="55dip"
    android:clickable="true"
    android:orientation="horizontal" >

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal" />

</RelativeLayout>

Wie einstellenstyle programmatisch zuordnen?

Antworten auf die Frage(12)

Ihre Antwort auf die Frage