I have 3 png-images with transparent areas integrated in one LinearLayout this way:
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:background="@drawable/splash0">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/splash1"
- android:id="@+id/splash_1">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/splash_2"
- android:background="@drawable/splash2">
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4
I want to animate "splash_1" without animating his child "splash_2"!
If I rotate my splash_1_Layout then splash_2 is doing the same because his parent is rotating.
Is it possible to turn animation for splash_2 off? And how can I do that?
Few code snippets would be most helpful to me than explanations.
Thanks in advance,
navajo