react-native/Libraries/Components
Kyle Corbitt b65f1f2234 Use elevation to implement shadows on Android
Summary: This PR includes a working interface to Android's `elevation` property implemented as an RN style. Elevation is the only (easy) [platform-supported way to create shadows](http://developer.android.com/training/material/shadows-clipping.html). For it to work note that you must be running on Android 5.0+, and add `elevation` to a view with a `backgroundColor` set. These are platform limitations.

This PR is not intended to be merged in its current state, but rather to inform the discussion from #2768. At a minimum, before merging we would need to add the elevation style to the docs and rebase this to master (**EDIT** I have now rebased on master because from v0.14.2 too many commits were being pulled in -- haven't tested it since the rebase though). Additionally, it might be good to add tests, although I couldn't find any for the Android code. I'm happy to get that done if this feature gets signed off by the React Native team.

Finally, as I argued in #2768 I think that `elevation` is a useful abstraction ov
Closes https://github.com/facebook/react-native/pull/4180

Reviewed By: svcscm

Differential Revision: D2684746

Pulled By: mkonicek

fb-gh-sync-id: 825f3ccd20c4b0eea9d11b5f0e3a6b018b7e4378
2015-11-25 18:28:29 -08:00
..
ActivityIndicatorIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
DatePicker Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
DrawerAndroid Use requireNativeComponent everywhere. 2015-11-18 09:43:28 -08:00
Intent Codemod IntentAndroid.{openURI -> openURL} 2015-11-23 11:04:29 -08:00
MapView Add showsCompass to MapView props 2015-11-19 02:22:29 -08:00
Navigation Add packager-managed assets support to NavigatorIOS 2015-10-02 12:02:29 -07:00
ProgressBarAndroid Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
ProgressViewIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
ScrollView Remove scrollview support from UIManager, remove mainScrollView(delegate) 2015-11-25 04:12:34 -08:00
SegmentedControlIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
SliderIOS added method to set thumb image 2015-11-24 16:10:04 -08:00
StatusBar Release React Native for Android 2015-09-14 18:13:39 +01:00
Switch Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
SwitchAndroid Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
SwitchIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
TabBarIOS Compose propTypes from View.propTypes where appropriate. 2015-11-18 13:06:27 -08:00
TextInput Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
ToastAndroid fix typo: showText -> show 2015-11-17 09:05:30 -08:00
ToolbarAndroid Use requireNativeComponent with propTypes for Android components. 2015-11-18 06:36:28 -08:00
Touchable Use requireNativeComponent everywhere. 2015-11-18 09:43:28 -08:00
UnimplementedViews Quick fix to require cycle in UnimplementedView 2015-11-23 14:14:32 -08:00
View Use elevation to implement shadows on Android 2015-11-25 18:28:29 -08:00
ViewPager Use requireNativeComponent everywhere. 2015-11-18 09:43:28 -08:00
WebView add allowsInlineMediaPlayback prop to play inline html5 video 2015-11-19 07:11:29 -08:00
ScrollResponder.js Remove scrollview support from UIManager, remove mainScrollView(delegate) 2015-11-25 04:12:34 -08:00
StaticContainer.js Move stuff out of vendor/react_contrib/ 2015-10-12 11:18:30 -07:00
StaticRenderer.js [Haste] @provides -> @providesModule StaticRenderer 2015-05-14 08:42:13 -08:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00