From 8278b37c1ab0346aafa65ed20c65baf3a7740511 Mon Sep 17 00:00:00 2001 From: Jakob Haufe Date: Wed, 23 Jan 2013 00:11:47 +0100 Subject: [PATCH] Do not use private layouts Using private stuff from the Android SDK no longer works on 4.1+, so import this and reference it. --- res/layout/main.xml | 2 +- res/layout/transient_notification.xml | 40 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 res/layout/transient_notification.xml diff --git a/res/layout/main.xml b/res/layout/main.xml index 3a7d887..d88d56f 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -137,7 +137,7 @@ android:layout_height="wrap_content" android:layout_gravity="bottom|center_horizontal" android:layout_marginBottom="35dip" - layout="@*android:layout/transient_notification" + layout="@layout/transient_notification" android:visibility="gone" /> \ No newline at end of file diff --git a/res/layout/transient_notification.xml b/res/layout/transient_notification.xml new file mode 100644 index 0000000..a685d28 --- /dev/null +++ b/res/layout/transient_notification.xml @@ -0,0 +1,40 @@ + + + + + + + + + +