Ich habe meinem horizontalen Hintergrund eine blaue Farbe hinzugefügt! Aber anstatt blau, muss ich Ozean wie Hintergrund mit einer kleinen Blase zum Layout hinzufügen. Ich suchte und fand keine Lösung.Wie füge ich Animationen zu einem Hintergrund in der horizontalen Ansicht hinzu?
mein Layout ist:
<LinearLayout android:id="@+id/switcher_view"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background_light">
<HorizontalScrollView android:id="@+id/switcher_scroller"
android:background="@color/blue_200"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none">
<LinearLayout android:id="@+id/switcher_container"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="match_parent">
</LinearLayout>
</HorizontalScrollView>
</LinearLayout>
Derzeit sieht es so aus:
Statt statische blau, ich einige Blasen und Animation benötigen, die ein Wasser ähnelt! Änderungen im Layout wie folgt
Ja !! Hat funktioniert :) –