Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Same UI when two switches showing in xml #833

Open
imoblife opened this issue May 21, 2014 · 3 comments
Open

Same UI when two switches showing in xml #833

imoblife opened this issue May 21, 2014 · 3 comments

Comments

@imoblife
Copy link

        <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" />
@imoblife imoblife changed the title Same UI when showing in xml Same UI when two switches showing in xml May 21, 2014
@4nd3250n
Copy link

And how is the style switchStyleOld defined?

@imoblife
Copy link
Author

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

@imoblife
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants