From d413a8330b6bf019874729c2187ad46673fb1d10 Mon Sep 17 00:00:00 2001 From: Honza Kalfus Date: Tue, 23 Aug 2016 12:41:23 +0200 Subject: [PATCH] Fixed button shadow on Android (I didn't test it on iOS) --- ActionButton.js | 2 ++ ActionButtonItem.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ActionButton.js b/ActionButton.js index eac087c..0c371e5 100644 --- a/ActionButton.js +++ b/ActionButton.js @@ -310,6 +310,8 @@ const styles = StyleSheet.create({ position: 'relative', }, btnShadow: { + elevation: 6, + marginBottom: 12, shadowOpacity: 0.3, shadowOffset: { width: 0, height: 1, diff --git a/ActionButtonItem.js b/ActionButtonItem.js index 1019d4a..0801116 100644 --- a/ActionButtonItem.js +++ b/ActionButtonItem.js @@ -114,6 +114,8 @@ const styles = StyleSheet.create({ }, shadowColor: '#444', shadowRadius: 1, + elevation: 6, + marginBottom: 12, }, actionTextView: { position: 'absolute',