0% found this document useful (0 votes)
2 views6 pages

ScrollView Xmlns

The document contains an XML layout for an Android application featuring various buttons and text views for different animations such as Bounce, Fade In, and Zoom In. It utilizes a ScrollView and a RelativeLayout to organize the UI elements, allowing for a structured display of animation options. The layout includes buttons for triggering animations and corresponding text labels for user guidance.

Uploaded by

2024ca73d
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views6 pages

ScrollView Xmlns

The document contains an XML layout for an Android application featuring various buttons and text views for different animations such as Bounce, Fade In, and Zoom In. It utilizes a ScrollView and a RelativeLayout to organize the UI elements, allowing for a structured display of animation options. The layout includes buttons for triggering animations and corresponding text labels for user guidance.

Uploaded by

2024ca73d
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

<ScrollView

xmlns:android="https://schemas.android.com/
apk/res/android"
android:layout_width="fill_parent" <Button
android:layout_height="fill_parent" > android:id="@+id/btnBounce"
android:layout_width="wrap_content"
<RelativeLayout
android:layout_width="match_parent" android:layout_height="wrap_content"
android:layout_height="match_parent"> android:layout_margin="5dp"

<Button android:layout_below="@id/btnSlideDown"
android:id="@+id/btnFadeIn" android:text="Bounce" />
android:layout_width="wrap_content"
<Button
android:layout_height="wrap_content" android:id="@+id/btnSequential"
android:layout_margin="5dp" android:layout_width="wrap_content"
android:text="Fade In" />
android:layout_height="wrap_content"
<TextView android:layout_margin="5dp"
android:layout_width="wrap_content"
android:layout_below="@id/btnBounce"
android:layout_height="wrap_content" android:text="Sequential
android:textAppearance="? Animation" />
android:attr/textAppearanceMedium"
android:text="Fade In" <Button
android:id="@+id/txt_fade_in" android:id="@+id/btnTogether"
android:layout_width="wrap_content"
android:layout_alignBottom="@+id/btnFadeIn"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txt_fade_out"
android:layout_below="@id/btnSequential"
android:layout_alignStart="@+id/txt_fade_out" android:layout_margin="5dp"
/> android:text="Together Animation" />

<TextView
<Button android:layout_width="wrap_content"
android:id="@+id/btnFadeOut"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?
android:layout_height="wrap_content" android:attr/textAppearanceMedium"
android:layout_margin="5dp" android:text="Cross Fade Out"
android:id="@+id/txt_in"
android:layout_below="@id/btnFadeIn"
android:text="Fade Out" /> android:layout_gravity="center_horizontal"

android:layout_alignBottom="@+id/btnCrossFa
<Button de"
android:id="@+id/btnCrossFade"
android:layout_width="wrap_content" android:layout_alignLeft="@+id/txt_blink"

android:layout_height="wrap_content" android:layout_alignStart="@+id/txt_blink" />


android:layout_margin="5dp"
<TextView
android:layout_below="@id/btnFadeOut" android:layout_width="wrap_content"
android:text="Cross Fade" /> android:layout_height="wrap_content"
android:textAppearance="?
<TextView android:attr/textAppearanceMedium"
android:layout_width="wrap_content" android:text="Zoom In"
android:id="@+id/txt_zoom_in"
android:layout_height="wrap_content"
android:textAppearance="? android:layout_alignBottom="@+id/btnZoomIn
android:attr/textAppearanceMedium" "
android:text="Cross Fade In"
android:id="@+id/txt_out" android:layout_alignLeft="@+id/txt_zoom_out
android:visibility="gone" "

android:layout_gravity="center_horizontal" android:layout_alignStart="@+id/txt_zoom_ou
t" />
android:layout_alignTop="@+id/txt_in"
<TextView
android:layout_alignLeft="@+id/txt_in" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignStart="@+id/txt_in" /> android:textAppearance="?
android:attr/textAppearanceMedium"
<Button android:text="Zoom Out"
android:id="@+id/btnBlink" android:id="@+id/txt_zoom_out"
android:layout_width="wrap_content"
android:layout_alignBottom="@+id/btnZoomO
android:layout_height="wrap_content" ut"
android:layout_margin="5dp"
android:layout_toRightOf="@+id/btnSequentia
android:layout_below="@id/btnCrossFade" l"
android:text="Blink" />
android:layout_toEndOf="@+id/btnSequential"
<Button />
android:id="@+id/btnZoomIn"
android:layout_width="wrap_content" <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp" android:textAppearance="?
android:layout_below="@id/btnBlink" android:attr/textAppearanceMedium"
android:text="Zoom In" /> android:text="Rotate"
android:id="@+id/txt_rotate"
android:layout_above="@+id/btnMove"

<TextView android:layout_toRightOf="@+id/btnSequentia
android:layout_width="wrap_content" l"

android:layout_height="wrap_content" android:layout_toEndOf="@+id/btnSequential"
android:textAppearance="? />
android:attr/textAppearanceMedium"
android:text="Blink" <TextView
android:id="@+id/txt_blink" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:textAppearance="?
android:attr/textAppearanceMedium"
android:layout_alignBottom="@+id/btnBlink" android:text="Move"
android:id="@+id/txt_move"
android:layout_alignLeft="@+id/txt_zoom_in"
android:layout_alignBottom="@+id/btnMove"
android:layout_alignStart="@+id/txt_zoom_in"
/> android:layout_alignLeft="@+id/txt_slide_up"

<Button android:layout_alignStart="@+id/txt_slide_up"
android:id="@+id/btnZoomOut" />
android:layout_width="wrap_content"
<TextView
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:layout_margin="5dp" android:layout_height="wrap_content"
android:textAppearance="?
android:layout_below="@id/btnZoomIn" android:attr/textAppearanceMedium"
android:text="Zoom Out" /> android:text="Slide Up"
android:id="@+id/txt_slide_up"
<Button
android:id="@+id/btnRotate" android:layout_alignBottom="@+id/btnSlideUp
android:layout_width="wrap_content" "

android:layout_height="wrap_content" android:layout_toRightOf="@+id/btnSequentia
android:layout_margin="5dp" l"

android:layout_below="@id/btnZoomOut" android:layout_toEndOf="@+id/btnSequential"
android:text="Rotate" /> />

<Button <TextView
android:id="@+id/btnMove" android:layout_width="wrap_content"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:textAppearance="?
android:layout_height="wrap_content" android:attr/textAppearanceMedium"
android:layout_margin="5dp" android:text="Slide Down"
android:id="@+id/txt_slide_down"
android:layout_below="@id/btnRotate"
android:text="Move" /> android:layout_alignBottom="@+id/btnSlideDo
wn"
<Button
android:id="@+id/btnSlideUp" android:layout_alignLeft="@+id/txt_slide_up"
android:layout_width="wrap_content"
android:layout_alignStart="@+id/txt_slide_up"
android:layout_height="wrap_content" />
android:layout_margin="5dp"
<TextView
android:layout_below="@id/btnMove" android:layout_width="wrap_content"
android:text="Slide Up" /> android:layout_height="wrap_content"
android:textAppearance="?
<TextView android:attr/textAppearanceMedium"
android:layout_width="wrap_content" android:text="Bounce"
android:id="@+id/txt_bounce"
android:layout_height="wrap_content"
android:textAppearance="? android:layout_alignBottom="@+id/btnBounce
android:attr/textAppearanceMedium" "
android:text="Fade Out"
android:id="@+id/txt_fade_out" android:layout_alignLeft="@+id/txt_slide_dow
n"
android:layout_gravity="center_horizontal"
android:layout_alignStart="@+id/txt_slide_do
android:layout_alignBottom="@+id/btnFadeOu wn" />
t"
android:layout_alignLeft="@+id/txt_in" <TextView
android:layout_width="wrap_content"
android:layout_alignStart="@+id/txt_in" /> android:layout_height="wrap_content"
android:textAppearance="?
<Button android:attr/textAppearanceMedium"
android:id="@+id/btnSlideDown" android:text="Sequential"
android:layout_width="wrap_content" android:id="@+id/txt_seq"

android:layout_height="wrap_content" android:layout_alignBottom="@+id/btnSequen
android:layout_margin="5dp" tial"

android:layout_below="@id/btnSlideUp" android:layout_alignLeft="@+id/txt_bounce"
android:text="Slide Down" />
android:layout_alignStart="@+id/txt_bounce" /
>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?
android:attr/textAppearanceMedium"
android:text="Together"
android:id="@+id/txt_tog"

android:layout_alignBottom="@+id/btnTogeth
er"

android:layout_toRightOf="@+id/btnSequentia
l"

android:layout_toEndOf="@+id/btnSequential"
/>

</RelativeLayout>

</ScrollView>
Output

You might also like