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

Commit 311356dd authored by Ken Shirriff's avatar Ken Shirriff
Browse files

Redo power widget layout with the proper widget style.

The power widget now uses the fuzzy-edged widget background.
It has a resonable layout in portrait and landscape.
appwidget_inner is the background for a button on the inside, with a border on the left.
appwidget_outer is the background for a button on the outside (i.e. leftmost); it
does not have a border.
parent 116d85ea
Loading
Loading
Loading
Loading
+17 KiB
Loading image diff...
+16.2 KiB
Loading image diff...
+5 −5
Original line number Diff line number Diff line
@@ -17,17 +17,17 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">

    <item android:state_window_focused="false" android:state_enabled="true"
        android:drawable="@drawable/widget_btn_default" />
        android:drawable="@drawable/appwidget_inner_default" />

    <item android:state_pressed="true"
        android:drawable="@drawable/widget_btn_pressed" />
        android:drawable="@drawable/appwidget_inner_pressed" />

    <item android:state_focused="true" android:state_enabled="true"
        android:drawable="@drawable/widget_btn_selected" />
        android:drawable="@drawable/appwidget_inner_selected" />

    <item android:state_enabled="true"
        android:drawable="@drawable/widget_btn_default" />
        android:drawable="@drawable/appwidget_inner_default" />

    <item
         android:drawable="@drawable/widget_btn_default" />
         android:drawable="@drawable/appwidget_inner_default" />
</selector>
+179 B
Loading image diff...
+301 B
Loading image diff...
Loading