Created
November 19, 2010 19:34
-
-
Save casidiablo/707012 to your computer and use it in GitHub Desktop.
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<ViewFlipper | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/your_flipper" | |
android:screenOrientation="portrait" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent"> | |
<!-- the second view on the flipper --> | |
<LinearLayout | |
android:screenOrientation="portrait" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:background="@color/myColor"> | |
<ImageView android:id="@+id/ImageView01" android:background="@drawable/main" android:layout_height="wrap_content" android:adjustViewBounds="true" android:scaleType="centerInside" android:clickable="false" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_marginTop="25dip"></ImageView> | |
<Button android:layout_height="wrap_content" android:screenOrientation="portrait" android:id="@+id/scan_box" android:text="@string/scan_box" android:layout_width="fill_parent" android:layout_marginTop="20dp" android:typeface="normal" android:textStyle="bold" android:textColorHighlight="@color/red_Color"></Button> | |
<Button android:layout_height="wrap_content" android:screenOrientation="portrait" android:text="@string/midBox" android:textStyle="bold" android:layout_width="fill_parent" android:id="@+id/previous_box"></Button> | |
<Button android:layout_height="wrap_content" android:screenOrientation="portrait" android:layout_width="fill_parent" android:text="@string/help_box" android:textStyle="bold" android:id="@+id/about_box"></Button> | |
<Button android:layout_height="wrap_content" android:screenOrientation="portrait" android:text="@string/close_box" android:textStyle="bold" android:layout_width="fill_parent" android:id="@+id/close_box"></Button> | |
<ImageView android:screenOrientation="portrait" android:id="@+id/ImageView03" android:layout_width="wrap_content" android:layout_height="wrap_content"></ImageView> | |
</LinearLayout> | |
<!-- the second view on the flipper --> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:screenOrientation="portrait" | |
android:layout_height="fill_parent" android:gravity="top|right"> | |
<ImageView | |
android:screenOrientation="portrait" | |
android:id="@+id/image_view" | |
android:layout_gravity="center" android:layout_weight="1.0" android:layout_height="wrap_content" android:scaleType="centerInside" android:layout_width="wrap_content"/> | |
<TextView android:id="@+id/message" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" android:textStyle="bold" android:layout_gravity="center_horizontal"/> | |
<Button | |
android:layout_gravity="center_horizontal" | |
android:layout_width="fill_parent" | |
android:textStyle="bold" android:id="@+id/action_button" android:selectAllOnFocus="false" android:layout_height="100dip" android:text="Click here to preform actions"/> | |
</LinearLayout> | |
</ViewFlipper> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment