Skip to content

Commit

Permalink
[ActivityIndicator] Specify a width
Browse files Browse the repository at this point in the history
The activity indicator was treated as a zero-width element without an explicit width. Fill it in so the style dimensions match what is displayed on the screen.

Test Plan: Render an ActivityIndicator with a background, and see that the background shows up as a square behind the spinner instead of not showing up at all (since it was 0px wide previously).
  • Loading branch information
ide committed May 8, 2015
1 parent 41612f3 commit e69d2f6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ var styles = StyleSheet.create({
justifyContent: 'center',
},
sizeSmall: {
width: 20,
height: 20,
},
sizeLarge: {
width: 36,
height: 36,
}
});
Expand Down

0 comments on commit e69d2f6

Please sign in to comment.