From 7da1f58219ab123d283978b7f18e8d9aaf83e41a Mon Sep 17 00:00:00 2001 From: George Mount Date: Wed, 18 Jun 2014 16:26:25 -0700 Subject: Make public basic transitions. Bug 15727908 Adds slide, explode and fade transitions. Change-Id: I8badb3a1e9230d66d9ca3d1edeec0510bc89d556 --- api/current.txt | 7 +++++++ core/res/res/transition/explode.xml | 16 ++++++++++++++++ core/res/res/transition/slide_bottom.xml | 16 ++++++++++++++++ core/res/res/transition/slide_left.xml | 16 ++++++++++++++++ core/res/res/transition/slide_right.xml | 16 ++++++++++++++++ core/res/res/transition/slide_top.xml | 16 ++++++++++++++++ core/res/res/values/public.xml | 21 +++++++++++++++++++++ 7 files changed, 108 insertions(+) create mode 100644 core/res/res/transition/explode.xml create mode 100644 core/res/res/transition/slide_bottom.xml create mode 100644 core/res/res/transition/slide_left.xml create mode 100644 core/res/res/transition/slide_right.xml create mode 100644 core/res/res/transition/slide_top.xml diff --git a/api/current.txt b/api/current.txt index f6ccc67..1638388 100644 --- a/api/current.txt +++ b/api/current.txt @@ -2522,7 +2522,14 @@ package android { public static final class R.transition { ctor public R.transition(); + field public static final int explode = 17760259; // 0x10f0003 + field public static final int fade = 17760258; // 0x10f0002 + field public static final int move = 17760257; // 0x10f0001 field public static final int no_transition = 17760256; // 0x10f0000 + field public static final int slide_bottom = 17760260; // 0x10f0004 + field public static final int slide_left = 17760263; // 0x10f0007 + field public static final int slide_right = 17760262; // 0x10f0006 + field public static final int slide_top = 17760261; // 0x10f0005 } public static final class R.xml { diff --git a/core/res/res/transition/explode.xml b/core/res/res/transition/explode.xml new file mode 100644 index 0000000..fe22284 --- /dev/null +++ b/core/res/res/transition/explode.xml @@ -0,0 +1,16 @@ + + + diff --git a/core/res/res/transition/slide_bottom.xml b/core/res/res/transition/slide_bottom.xml new file mode 100644 index 0000000..46dc0d6 --- /dev/null +++ b/core/res/res/transition/slide_bottom.xml @@ -0,0 +1,16 @@ + + + diff --git a/core/res/res/transition/slide_left.xml b/core/res/res/transition/slide_left.xml new file mode 100644 index 0000000..997bd97 --- /dev/null +++ b/core/res/res/transition/slide_left.xml @@ -0,0 +1,16 @@ + + + diff --git a/core/res/res/transition/slide_right.xml b/core/res/res/transition/slide_right.xml new file mode 100644 index 0000000..98f8f6a --- /dev/null +++ b/core/res/res/transition/slide_right.xml @@ -0,0 +1,16 @@ + + + diff --git a/core/res/res/transition/slide_top.xml b/core/res/res/transition/slide_top.xml new file mode 100644 index 0000000..07ab945 --- /dev/null +++ b/core/res/res/transition/slide_top.xml @@ -0,0 +1,16 @@ + + + diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml index f6ad78b..7703bfa 100644 --- a/core/res/res/values/public.xml +++ b/core/res/res/values/public.xml @@ -2458,5 +2458,26 @@ + + + + + + + + + + + + + + + -- cgit v1.1