充电桩app代码

plugin_camera_album.xml 2.5KB

    <?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/headview" android:layout_width="fill_parent" android:layout_height="45dp" android:gravity="center_vertical" android:background="@color/white" > <!--android:background="@drawable/plugin_camera_title_bar"--> <TextView android:id="@+id/back" android:text="@string/album" style="@style/tv_button" android:visibility="gone" android:layout_centerVertical="true" /> <TextView android:id="@+id/cancel" android:text="@string/camera_cancel" android:layout_centerVertical="true" style="@style/tv_button" android:layout_alignParentRight="true" /> </RelativeLayout> <RelativeLayout android:id="@+id/bottom_layout" android:layout_width="match_parent" android:layout_height="45dp" android:layout_alignParentBottom="true" android:background="@color/white" > <TextView android:id="@+id/preview" android:layout_alignParentLeft="true" android:layout_centerVertical="true" style="@style/tv_button" android:text="@string/preview" /> <TextView android:id="@+id/ok_button" style="@style/tv_button" android:layout_alignParentRight="true" android:layout_centerVertical="true" /> </RelativeLayout> <GridView android:id="@+id/myGrid" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@id/bottom_layout" android:layout_below="@id/headview" android:layout_centerInParent="true" android:layout_marginTop="2dp" android:horizontalSpacing="10dp" android:numColumns="4" android:verticalSpacing="10dp" android:background="@color/activity_bgcolor" /> <TextView android:id="@+id/myText" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:text="@string/no_photo" android:textColor="@color/black" android:visibility="gone"/> </RelativeLayout>