Commit Graph

26 Commits

Author SHA1 Message Date
Timur Gibadullin
ebbf4e5933 Update examples 2017-11-17 00:02:08 +03:00
Timur Gibadullin
4d748a80a0 Update the Basic example 2017-07-17 18:43:16 +03:00
Timur Gibadullin
24625532a7 Update the Horizontal example 2017-07-17 18:26:29 +03:00
Timur Gibadullin
fe0bdbd0fa Use local version of the module in Basic example 2017-04-27 11:46:37 +03:00
Timur Gibadullin
fd9ec36715 Add Horizontal example 2017-04-05 11:09:40 +03:00
Joshua Pinter
9c76f21fcf Animate elevation when card is picked up.
Had to adjust a tonne of the styling to make this work and look good.

Essentially, on iOS the shadows are just cast across any boundaries of the element, but with Android, you need to provide padding (or margin) for those shadows and scaling to come through.

So, instead of having a horizontal margin on the entire SortableList, I set the horizontal margin on the rows themselves. This gives plenty of room to conduct those animations and shadows.

I also added a similar scaling transform for Android, except a little smaller so we can get more of the shadow from elevation in.

I tested out different elevation ranges and this looks to be about right.
2017-03-06 19:48:34 +03:00
Joshua Pinter
f568a26ca5 Use bounce Easing for animation.
It’s a little more playful. I like that.

Also lengthed the animation to 300 so it feels more natural.

Tested out elastic (no worky on Android), ease, inout, quad.

I like this one the best.
2017-03-06 19:48:34 +03:00
Joshua Pinter
e263f49782 Set color of text.
Was coming up as grey on Android.
2017-03-06 19:48:34 +03:00
Joshua Pinter
35dcafb5a9 Add title. 2017-03-06 19:48:34 +03:00
Joshua Pinter
d44f3a0aa2 Corrected padding to allow for Android’s elevation dropshadows to not get cut off. 2017-03-06 19:48:34 +03:00
Joshua Pinter
00f03749e7 Turn kitties into cards on Android. 2017-03-06 19:48:34 +03:00
Joshua Pinter
212fbaa0fa Specify React Native version number to compile.
We have it listed in package.json as ^0.41.2 so let’s make sure to use a similar approach in Gadle.

Just as a reminder, 0.41+ means any versions like 0.42, 0.43, etc. which is the same meaning ^0.41.2 in package.json.

According to http://ant.apache.org/ivy/history/trunk/settings/version-matchers.html
2017-03-06 12:23:31 +03:00
Joshua Pinter
9363b8abbf Update Android build tools to 25.0.0.
Goes hand in hand with Gradle build tools upgrade.

Best to be on the most recent version.
2017-03-06 12:23:31 +03:00
Joshua Pinter
f58037b866 Update Gradle build tools to 2.3.0.
Highly recommended.
2017-03-06 12:23:31 +03:00
Joshua Pinter
a88e7f0168 Update gradle wrapper to 3.3.
Highly recommended.
2017-03-06 12:23:31 +03:00
Joshua Pinter
bdf3ebae96 Replace first kitten photo with a working one. (#16)
The first kitty in the example app didn’t have a picture because the URL for the image wasn’t working. Updated it to a random working one and now we can see 1 more kitty in the lineup. :)
2017-03-06 12:12:44 +03:00
Timur Gibadullin
b931565ca3 Fix MainApplication.java in example 2017-02-07 21:29:24 +03:00
Timur Gibadullin
29019cc754 Update example 2017-02-07 01:07:28 +03:00
Timur Gibadullin
11b715f2da Fix android example 2017-02-07 01:05:56 +03:00
Timur Gibadullin
85105fd718 Update example yarn.lock 2017-02-02 23:15:56 +03:00
Timur Gibadullin
f4d7475be1 Add android example 2017-01-28 23:30:48 +03:00
Timur Gibadullin
6c9c1e6c01 Update example dependencies 2017-01-11 12:18:16 +03:00
Drew Volz
0b3e88a920 Remove duplicate check (#5)
There were two checks for (this.props.active !== nextProps.active).
2016-11-26 23:10:20 +03:00
Timur Gibadullin
8207e9f71c Fix example 2016-10-19 02:58:49 +03:00
Timur Gibadullin
e296d15049 Remove trailing comma from packages.json of example 2016-10-19 02:56:56 +03:00
Timur Gibadullin
821572726a initial 2016-10-19 02:47:52 +03:00