Prototik / HoloEverywhere

NO LONGER MAINTAINED. DEVELOP FOR 4.X+ DUDE.
MIT License
2.18k stars 607 forks source link

Same UI when two switches showing in xml #833

Open imoblife opened 10 years ago

imoblife commented 10 years ago
        <Switch
            android:id="@+id/switch1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginRight="10dp" />

        <Switch
            android:id="@+id/switch2"
            style="?switchStyleOld"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp" />
4nd3250n commented 10 years ago

And how is the style switchStyleOld defined?

imoblife commented 10 years ago

I have no idea, it is in library/res/values/rb_attrs.xml:

imoblife commented 10 years ago

They're different in S2, but the same in defy+.