-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnimationResource.cs
41 lines (38 loc) · 1.67 KB
/
AnimationResource.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
namespace com.companyname.SplashScreen2
{
public class AnimationResource
{
public static int EnterAnimation { get; set; }
public static int ExitAnimation { get; set; }
public static int PopEnterAnimation { get; set; }
public static int PopExitAnimation { get; set; }
public static void Default()
{
EnterAnimation = Resource.Animation.nav_default_enter_anim;
ExitAnimation = Resource.Animation.nav_default_exit_anim;
PopEnterAnimation = Resource.Animation.nav_default_pop_enter_anim;
PopExitAnimation = Resource.Animation.nav_default_pop_exit_anim;
}
public static void Slider()
{
EnterAnimation = Resource.Animation.slide_in_right;
ExitAnimation = Resource.Animation.slide_out_left;
PopEnterAnimation = Resource.Animation.slide_in_left;
PopExitAnimation = Resource.Animation.slide_out_right;
}
//public static void Fader()
//{
// EnterAnimation = Resource.Animation.fragment_fade_enter;
// ExitAnimation = Resource.Animation.fragment_fade_exit;
// PopEnterAnimation = Resource.Animation.fragment_fade_enter;
// PopExitAnimation = Resource.Animation.fragment_fade_exit;
//}
public static void Fader2()
{
EnterAnimation = Resource.Animation.abc_grow_fade_in_from_bottom;
ExitAnimation = Resource.Animation.abc_shrink_fade_out_from_bottom;
PopEnterAnimation = Resource.Animation.nav_default_pop_enter_anim;
PopExitAnimation = Resource.Animation.nav_default_pop_exit_anim;
}
}
}