<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/activity_bgcolor"
>
<RelativeLayout
android:id="@+id/showallphoto_headview"
android:layout_width="fill_parent"
android:layout_height="45dp"
android:background="@color/lvse"
android:gravity="center_vertical"
>
<TextView
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_centerVertical="true"
android:textSize="16sp"
android:gravity="center"
android:textColor="#fff"
android:id="@+id/showallphoto_back"
android:text="@string/album"
/>
<TextView
android:id="@+id/showallphoto_headtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/photo"
android:layout_centerInParent="true"
android:singleLine="true"
android:textSize="20sp"
android:textColor="#ffffff"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingRight="16dp"
android:paddingLeft="16dp"
android:gravity="center"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:id="@+id/showallphoto_cancel"
android:text="@string/camera_cancel"
android:textColor="#fff"
android:textSize="16dp"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/showallphoto_bottom_layout"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:background="@color/lvse" >
<TextView
android:id="@+id/showallphoto_preview"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:gravity="center"
android:text="@string/preview"
android:textSize="16dp"
android:textColor="@color/white"
/>
<TextView
android:id="@+id/showallphoto_ok_button"
style="@style/tv_button"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="@string/unfinished"
/>
</RelativeLayout>
<GridView
android:id="@+id/showallphoto_myGrid"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@id/showallphoto_bottom_layout"
android:layout_below="@id/showallphoto_headview"
android:layout_centerInParent="true"
android:layout_marginTop="2dp"
android:horizontalSpacing="10dp"
android:numColumns="4"
android:verticalSpacing="10dp"
android:background="@color/albumback" />
<ProgressBar
android:id="@+id/showallphoto_progressbar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true" />
</RelativeLayout>
|