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

Commit b71e68f9 authored by John Spurlock's avatar John Spurlock
Browse files

Volume: Rocker animation + style updates.

- Add more spacing at the top
- Update window animations to fades
- Improve style for alarm warnings

Bug:16200897
Change-Id: I7a64e235eff1f9a77fc697a98a4440bc69043386
parent 54a46349
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="@color/system_warning_color" />
    <corners
        android:topLeftRadius="0dp"
        android:topRightRadius="0dp"
        android:bottomLeftRadius="@dimen/notification_material_rounded_rect_radius"
        android:bottomRightRadius="@dimen/notification_material_rounded_rect_radius"/>
</shape>
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="@color/zen_alarm_soft_warning_background" />
    <corners
        android:topLeftRadius="0dp"
        android:topRightRadius="0dp"
        android:bottomLeftRadius="@dimen/notification_material_rounded_rect_radius"
        android:bottomRightRadius="@dimen/notification_material_rounded_rect_radius"/>
</shape>
+1 −1
Original line number Diff line number Diff line
@@ -23,4 +23,4 @@
    android:background="@drawable/segmented_button"
    android:textAppearance="@style/TextAppearance.QS.SegmentedButton"
    android:minHeight="0dp"
    android:padding="12dp" />
    android:padding="10dp" />
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
    android:id="@+id/visible_panel"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingTop="8dp"
    android:orientation="vertical" >

    <FrameLayout
+2 −2
Original line number Diff line number Diff line
@@ -26,10 +26,10 @@
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:contentDescription="@null"
        android:paddingBottom="12dip"
        android:paddingBottom="10dip"
        android:paddingLeft="16dip"
        android:paddingRight="16dip"
        android:paddingTop="12dip" />
        android:paddingTop="10dip" />

    <SeekBar
        android:id="@+id/seekbar"
Loading