Created
September 23, 2013 20:13
-
-
Save christianroman/6676241 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:orientation="vertical" | |
tools:context=".MainActivity"> | |
<RelativeLayout | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content"> | |
<ViewFlipper | |
android:id="@+id/flipper1" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:flipInterval="4000" | |
android:inAnimation="@android:anim/fade_in" | |
android:outAnimation="@android:anim/fade_out" | |
android:clickable="false"> | |
<ImageView | |
android:src="@drawable/slide1" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:contentDescription="@string/str_slide1" | |
android:layout_gravity="center_horizontal" | |
android:scaleType="centerCrop"/> | |
<ImageView | |
android:src="@drawable/slide2" | |
android:layout_width="fill_parent" | |
android:layout_height="match_parent" | |
android:contentDescription="@string/str_slide2" | |
android:layout_gravity="center_horizontal" | |
android:scaleType="centerCrop"/> | |
<ImageView | |
android:src="@drawable/slide3" | |
android:layout_width="fill_parent" | |
android:layout_height="match_parent" | |
android:contentDescription="@string/str_slide3" | |
android:layout_gravity="center_horizontal" | |
android:scaleType="centerCrop"/> | |
<ImageView | |
android:src="@drawable/slide4" | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:contentDescription="@string/str_slide4" | |
android:layout_gravity="center_horizontal" | |
android:scaleType="centerCrop"/> | |
<ImageView | |
android:src="@drawable/slide5" | |
android:layout_width="fill_parent" | |
android:layout_height="match_parent" | |
android:contentDescription="@string/str_slide5" | |
android:layout_gravity="center_horizontal" | |
android:scaleType="centerCrop"/> | |
</ViewFlipper> | |
</RelativeLayout> | |
<RelativeLayout | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:text="Hoteles" | |
android:id="@+id/textView" | |
android:layout_marginTop="5dp" | |
android:textColor="#ffffff" | |
android:textSize="16sp" | |
android:layout_marginBottom="10dp" | |
android:textAlignment="center" | |
android:gravity="center_horizontal" | |
android:shadowColor="@color/black" android:shadowDx="0" android:shadowDy="1" android:shadowRadius="1" | |
android:textStyle="bold"/> | |
<ListView xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/listview" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginRight="10dp" | |
android:layout_marginLeft="10dp" | |
android:background="@drawable/rounded_corners" | |
android:layout_below="@+id/textView" | |
/> | |
</RelativeLayout> | |
</FrameLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment