首页 > 代码库 > Acitivity.xml

Acitivity.xml

  <?xml version="1.0" encoding="utf-8" ?>

- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">

- <LinearLayout android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center">

  <Button android:id="@+id/prev" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="上一张" />

  <Button android:id="@+id/next" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="下一张" />

  </LinearLayout>

  <ImageView android:id="@+id/image1" android:layout_width="wrap_content" android:layout_height="280dp" android:src="@drawable/c" android:scaleType="fitCenter" />

  </LinearLayout>


Acitivity.xml