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

Commit d0c4366b authored by John Spurlock's avatar John Spurlock Committed by Android Git Automerger
Browse files

am 62599be1: am 1ff8543c: am ce06c940: Merge "Zen QS: Tweak segmented button +...

am 62599be1: am 1ff8543c: am ce06c940: Merge "Zen QS: Tweak segmented button + introduction styling." into mnc-dev

* commit '62599be1':
  Zen QS: Tweak segmented button + introduction styling.
parents 4a86635c 62599be1
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
<!--
     Copyright (C) 2015 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" >

      <corners android:radius="@dimen/borderless_button_radius" />

      <solid android:color="@color/segmented_buttons_background" />

</shape>
 No newline at end of file
+22 −0
Original line number Diff line number Diff line
<!--
     Copyright (C) 2015 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" >

      <corners android:radius="@dimen/borderless_button_radius" />

      <solid android:color="@color/zen_introduction_message_background" />

</shape>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -25,4 +25,4 @@
    android:textColor="@color/segmented_button_text_selector"
    android:background="@drawable/btn_borderless_rect"
    android:textAppearance="@style/TextAppearance.QS.SegmentedButton"
    android:minHeight="64dp" />
    android:minHeight="72dp" />
+9 −11
Original line number Diff line number Diff line
@@ -24,31 +24,29 @@

    <com.android.systemui.volume.SegmentedButtons
        android:id="@+id/zen_buttons"
        android:background="@drawable/segmented_buttons_background"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="8dp"
        android:layout_marginEnd="8dp" />

    <View
        android:id="@+id/zen_embedded_divider"
        android:layout_width="match_parent"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="16dp"
        android:layout_marginTop="8dp"
        android:layout_height="1dp"
        android:background="#4dffffff" />
        android:layout_marginBottom="8dp" />

    <RelativeLayout
        android:id="@+id/zen_introduction"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingEnd="4dp"
        android:layout_marginStart="16dp"
        android:layout_marginEnd="16dp"
        android:paddingTop="8dp"
        android:paddingBottom="8dp"
        android:background="@color/zen_introduction_message_background" >
        android:background="@drawable/zen_introduction_message_background" >

        <ImageView
            android:id="@+id/zen_introduction_confirm"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_marginEnd="8dp"
            android:layout_alignParentEnd="true"
            android:background="@drawable/btn_borderless_rect"
            android:clickable="true"
@@ -73,7 +71,7 @@
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:layout_marginEnd="4dp"
            android:layout_marginEnd="12dp"
            android:layout_below="@id/zen_introduction_message"
            android:clickable="true"
            android:focusable="true"
+1 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@
    <color name="screen_pinning_request_bg">#ff009688</color><!-- deep teal 500 -->
    <color name="screen_pinning_request_window_bg">#80000000</color>

    <color name="segmented_buttons_background">#14FFFFFF</color><!-- 8% white -->
    <color name="segmented_button_selected">#FFFFFFFF</color>
    <color name="segmented_button_unselected">#FFB0BEC5</color><!-- blue grey 200 -->

Loading