Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66a6773c authored by Sooraj S's avatar Sooraj S 👽 Committed by Jochen Sprickerhof
Browse files

Fix: Recurrence picker repeat switch!

parent cb6c29c4
Loading
Loading
Loading
Loading
+14 −6
Original line number Diff line number Diff line
@@ -16,10 +16,18 @@
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:drawable="@drawable/switch_thumb_disabled_holo_light" android:state_enabled="false"/>
    <item android:drawable="@drawable/switch_thumb_pressed_holo_light" android:state_pressed="true"/>
    <item android:drawable="@drawable/switch_thumb_activated_holo_light" android:state_checked="true"/>
    <item android:drawable="@drawable/switch_thumb_holo_light_v2"/>

    <item android:state_checked="true" >
        <shape android:shape="line">
            <solid android:color="#467fda" />
            <size android:width="20dp" />
            <size android:height="20dp"/>
        </shape>
    </item>
    <item android:state_checked="false" >
        <shape android:shape="oval">
            <solid android:color="#5b5b5b" />
            <size android:width="40dp" />
            <size android:height="35dp"/>
        </shape>
    </item>
</selector>
 No newline at end of file
+2 −1
Original line number Diff line number Diff line
@@ -53,8 +53,8 @@
                    <Spinner
                        android:id="@+id/freqSpinner"
                        style="@style/TextAppearance.RecurrencePickerStyle"
                        android:layout_width="0dp"
                        android:layout_weight="1"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_horizontal"
                        android:entries="@array/recurrence_freq"
@@ -63,6 +63,7 @@

                    <Switch
                        android:id="@+id/repeat_switch"
                        android:layout_weight="0.04"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center_vertical"