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

Commit 6bb3b082 authored by Dave Kover's avatar Dave Kover Committed by Gerrit Code Review
Browse files

DocumentsUI: Expose appbar elevation value.

A theme might want their action bars to not have an elevation, so
expose the elevation to a value that can be overridden.

Change-Id: I937a685d748cf41ade6eb32dd1625e16b75455c5
Ticket: CYNGNOS-1870
parent 4226d772
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
            android:layout_width="match_parent"
            android:layout_height="?android:attr/actionBarSize"
            android:background="?android:attr/colorPrimary"
            android:elevation="8dp"
            android:elevation="@dimen/toolbar_elevation"
            android:theme="?android:attr/actionBarTheme">

            <Spinner
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2016 The CyanogenMod 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.
-->
<resources>

    <dimen name="toolbar_elevation">8dp</dimen>

</resources>