Skip to content

Commit

Permalink
Fix android player height and add demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Lenclos committed Jul 23, 2016
1 parent 7cd14a3 commit 5fe6054
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Simple UI player component (if needed, an api to control the sound is available)

![Demo iOS](https://raw.githubusercontent.com/tlenclos/react-native-audio-streaming/master/demo_ios.gif)
![Demo android](https://raw.githubusercontent.com/tlenclos/react-native-audio-streaming/master/demo_android.gif)

## Getting started

Expand Down
Binary file added demo_android.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ const styles = StyleSheet.create({
borderRadius: iconSize / 2,
width: iconSize,
height: Platform.os == 'ios' ? iconSize : 40,
justifyContent: 'center',
alignItems: 'center',
textAlign: 'center',
paddingTop: Platform.os == 'ios' ? 10 : 0
},
Expand Down

0 comments on commit 5fe6054

Please sign in to comment.