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

Commit 84ae2f07 authored by Dave Kover's avatar Dave Kover Committed by Dave Kover
Browse files

Expose FAB elevation value for themes.

FAB elevation value was hardcoded in layout. Expose to a value
in cm_dimens.

Ticket: CYNGNOS-971

Change-Id: I72685230a612987ccc60ca404d520220c52dac7c
(cherry picked from commit a01047d4)
parent 6ea8d032
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@
                android:layout_margin="@dimen/footer_button_layout_margin"
                android:layout_gravity="center_horizontal"
                android:background="@drawable/floating_action_button"
                android:elevation="8dip"
                android:elevation="@dimen/fab_elevation"
                android:scaleType="center"
                android:contentDescription="@null" />

+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2012-2015 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="fab_elevation">8dip</dimen>

</resources>
 No newline at end of file