1
0
mirror of https://github.com/bspeice/itcs4180 synced 2024-11-17 04:48:12 -05:00
itcs4180/HW4/res/layout/activity_image_viewer.xml

50 lines
1.8 KiB
XML
Raw Normal View History

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2014-03-24 09:48:19 -04:00
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/FrameLayout1"
2014-03-24 09:48:19 -04:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
2014-03-24 09:48:19 -04:00
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".ImageViewerActivity" >
<ImageView
android:id="@+id/imgViewer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center_horizontal"
android:scaleType="centerInside" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom" >
<Button
android:id="@+id/btnPrev"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onClickPrev"
android:text="@string/btnPrev" />
<Button
android:id="@+id/btnBack"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onClickBack"
android:text="@string/btnBack" />
<Button
android:id="@+id/btnNext"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onClickNext"
android:text="@string/btnNext" />
</LinearLayout>
2014-03-24 09:48:19 -04:00
</FrameLayout>