“Layering” XML objects over each other

r00teX-

New Member
I'm looking for a way to have a horizontal scroll view passing underneath a textView or other XML object if need, be.The best example of what i'm talking about is the Pulse reader app, when you are scrolling through articles they pass underneath the tab.
AzVRi.jpg
I'll give you my XML script for some context.\[code\] <?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent" > <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:background="@drawable/title" tools:context=".MainActivity" /><HorizontalScrollViewandroid:layout_width="match_parent"android:layout_height="match_parent"android:background="@drawable/background2" ><LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" > <Button android:id="@+id/saved_game" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/blank" /> <Button android:id="@+id/instruct_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/cog_in" /> <Button android:id="@+id/game_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/cog_large" /> <Button android:id="@+id/medals" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/cog_small" /> </LinearLayout></HorizontalScrollView></LinearLayout>\[/code\]
 
Back
Top