From 976d6ceb73f3ada632d710d245dee7c127c96102 Mon Sep 17 00:00:00 2001 From: Chet Haase Date: Thu, 6 Oct 2011 12:39:59 -0700 Subject: [PATCH] Clean up LayoutTransition demos for smaller screens. These demos assumed the size of a tablet device and looked pretty awful on phones. Change-Id: I246ef5a5f4619c1f2fe689eca321314375722014 --- .../ApiDemos/res/layout/layout_animations.xml | 16 +++++++++++----- .../res/layout/layout_animations_hideshow.xml | 6 ++++++ .../android/apis/animation/LayoutAnimations.java | 7 +++---- .../apis/animation/LayoutAnimationsHideShow.java | 4 ++-- 4 files changed, 22 insertions(+), 11 deletions(-) diff --git a/samples/ApiDemos/res/layout/layout_animations.xml b/samples/ApiDemos/res/layout/layout_animations.xml index 68f0e0e60..ce179c41a 100644 --- a/samples/ApiDemos/res/layout/layout_animations.xml +++ b/samples/ApiDemos/res/layout/layout_animations.xml @@ -40,34 +40,40 @@ + + diff --git a/samples/ApiDemos/res/layout/layout_animations_hideshow.xml b/samples/ApiDemos/res/layout/layout_animations_hideshow.xml index 4215ac14a..49c2047d8 100644 --- a/samples/ApiDemos/res/layout/layout_animations_hideshow.xml +++ b/samples/ApiDemos/res/layout/layout_animations_hideshow.xml @@ -30,6 +30,12 @@ android:text="Show Buttons" android:id="@+id/addNewButton" /> + +