diff options
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/camera.xml | 73 | ||||
-rw-r--r-- | res/layout/cropimage.xml | 58 | ||||
-rw-r--r-- | res/layout/custom_gallery_title.xml | 61 | ||||
-rw-r--r-- | res/layout/details.xml | 159 | ||||
-rw-r--r-- | res/layout/detailsview.xml | 166 | ||||
-rw-r--r-- | res/layout/gallery.xml | 58 | ||||
-rw-r--r-- | res/layout/gallery_picker_item.xml | 38 | ||||
-rw-r--r-- | res/layout/gallerypicker.xml | 61 | ||||
-rw-r--r-- | res/layout/grid.xml | 44 | ||||
-rw-r--r-- | res/layout/image_gallery_2.xml | 58 | ||||
-rw-r--r-- | res/layout/movie_view.xml | 48 | ||||
-rw-r--r-- | res/layout/on_screen_hint.xml | 38 | ||||
-rw-r--r-- | res/layout/photo_frame.xml | 24 | ||||
-rw-r--r-- | res/layout/post_picture_panel.xml | 39 | ||||
-rw-r--r-- | res/layout/slide_show.xml | 27 | ||||
-rw-r--r-- | res/layout/video_camera.xml | 127 | ||||
-rw-r--r-- | res/layout/viewimage.xml | 160 |
17 files changed, 0 insertions, 1239 deletions
diff --git a/res/layout/camera.xml b/res/layout/camera.xml deleted file mode 100644 index d23066e..0000000 --- a/res/layout/camera.xml +++ /dev/null @@ -1,73 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/camera" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="horizontal"> - - <com.android.camera.VideoPreview - android:id="@+id/camera_preview" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_centerInParent="true" /> - - <View - android:id="@+id/blackout" - android:background="#ff000000" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:visibility="invisible" /> - - <com.android.camera.ShutterButton - android:id="@+id/shutter_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_camera_indicator_photo" - android:background="@drawable/ic_btn_camera_background" - android:clickable="true" - android:focusable="true" - android:layout_alignParentRight="true" - android:layout_alignParentTop="true" - android:layout_marginRight="50dip" - android:layout_marginTop="10dip" - android:scaleType="center" /> - - <ImageView - android:id="@+id/focus_indicator" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_camera_indicator_auto_focus_green" - android:layout_alignLeft="@id/shutter_button" - android:layout_alignTop="@id/shutter_button" - android:layout_marginLeft="39dip" - android:layout_marginTop="16dip" - android:scaleType="center" - android:visibility="gone" /> - - <ImageView - android:visibility="gone" - android:id="@+id/last_picture_button" - android:layout_width="72dip" - android:layout_height="72dip" - android:clickable="true" - android:focusable="true" - android:layout_alignParentLeft="true" - android:layout_alignParentTop="true" - android:layout_marginLeft="10dip" - android:layout_marginTop="10dip" /> -</RelativeLayout> diff --git a/res/layout/cropimage.xml b/res/layout/cropimage.xml deleted file mode 100644 index 4f3dcb7..0000000 --- a/res/layout/cropimage.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - - <RelativeLayout - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="horizontal"> - - <view class="com.android.camera.CropImage$CropImageView" android:id="@+id/image" - android:background="#55000000" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_x="0dip" - android:layout_y="0dip" - /> - <RelativeLayout android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:paddingLeft="10dip" - android:paddingRight="10dip" - android:layout_alignParentBottom="true" - android:layout_centerHorizontal="true"> - <Button - android:id="@+id/save" - android:layout_width="100dip" - android:layout_height="wrap_content" - android:layout_alignParentLeft="true" - android:text="@string/crop_save_text" - /> - <Button - android:id="@+id/discard" - android:layout_width="100dip" - android:layout_height="wrap_content" - android:layout_alignParentRight="true" - android:text="@string/crop_discard_text" - /> - </RelativeLayout> - </RelativeLayout> - -</FrameLayout> - diff --git a/res/layout/custom_gallery_title.xml b/res/layout/custom_gallery_title.xml deleted file mode 100644 index 0652678..0000000 --- a/res/layout/custom_gallery_title.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2008 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<RelativeLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/screen" android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical"> - - <TextView android:id="@+id/left_text" - android:gravity="center_vertical" - style="?android:attr/windowTitleStyle" - android:layout_width="wrap_content" - android:layout_height="fill_parent" android:paddingLeft="5dip" - android:layout_alignParentLeft="true" /> - - <TextView android:id="@+id/right_text" - android:gravity="center_vertical" - style="?android:attr/windowTitleStyle" - android:layout_width="wrap_content" - android:layout_height="fill_parent" android:paddingRight="5dip" - android:layout_alignParentRight="true" - android:visibility="gone" /> - - <LinearLayout android:id="@+id/loading_indicator" - android:orientation="horizontal" - android:gravity="center_vertical" - android:paddingTop="2dip" - android:layout_alignParentRight="true" - android:layout_height="wrap_content" - android:layout_width="wrap_content"> - - <TextView android:id="@+id/loading_text" - android:gravity="center_vertical" - style="?android:attr/windowTitleStyle" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:paddingRight="5dip" - android:layout_alignParentRight="true" /> - - <ProgressBar android:id="@android:id/progress" - style="?android:attr/progressBarStyleSmallTitle" - android:gravity="center_vertical" - android:paddingRight="5dip" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - </LinearLayout> -</RelativeLayout> diff --git a/res/layout/details.xml b/res/layout/details.xml deleted file mode 100644 index 482e567..0000000 --- a/res/layout/details.xml +++ /dev/null @@ -1,159 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:padding="10dip" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/details_title_label" - android:textSize="10sp" - /> - - </LinearLayout> - - <EditText - android:id="@+id/title" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="@string/details_title_text" - android:autoText="true" - android:capitalize="words" - android:textSize="10sp" - android:textColor="#FF661700" - /> - - <TextView - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="@string/details_description_label" - android:textSize="10sp" - /> - - <EditText - android:id="@+id/description" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="@string/details_description_text" - android:autoText="true" - android:capitalize="sentences" - android:textSize="10sp" - android:textColor="#FF661700" - /> - - <TextView android:id="@+id/tags_label" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="@string/details_tags_label" - android:textSize="10sp" - android:visibility="gone" - /> - - <EditText - android:id="@+id/tags" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:text="@string/details_tags_text" - android:textSize="10sp" - android:textColor="#FF661700" - android:autoText="false" - android:capitalize="none" - android:visibility="gone" - /> - - <LinearLayout android:id="@+id/categories" - android:orientation="horizontal" - android:visibility="gone" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/details_category_label" - android:textSize="10sp" - /> - - <Spinner android:id="@+id/category" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:drawSelectorOnTop="false" - android:textSize="10sp" - /> - </LinearLayout> - - <LinearLayout android:id="@+id/languages" - android:orientation="horizontal" - android:visibility="gone" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/details_language_label" - android:textSize="10sp" - /> - - <Spinner android:id="@+id/language" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:drawSelectorOnTop="false" - android:textSize="10sp" - /> - </LinearLayout> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <RadioGroup android:id="@+id/publicprivate" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal"> - <RadioButton android:id="@+id/publicView" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:checked="false" - android:text="@string/details_publicView_text" - /> - - <RadioButton android:id="@+id/privateView" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:checked="false" - android:text="@string/details_privateView_text" - /> - </RadioGroup> - - <Button android:id="@+id/save" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/details_save_text" - android:layout_alignParentRight="true" - /> - </LinearLayout> -</LinearLayout> diff --git a/res/layout/detailsview.xml b/res/layout/detailsview.xml deleted file mode 100644 index e28f06c..0000000 --- a/res/layout/detailsview.xml +++ /dev/null @@ -1,166 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2008 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll_view" - android:orientation="vertical" - android:layout_width="300dip" - android:layout_height="fill_parent"> - - <LinearLayout - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:paddingLeft="5dip" - android:paddingRight="5dip" - android:paddingBottom="10dp"> - - <LinearLayout - android:orientation="horizontal" - android:gravity="center_vertical" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <LinearLayout - android:orientation="horizontal" - android:gravity="center_vertical" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:background="@drawable/detail_photo_border"> - <ImageView - android:id="@+id/details_thumbnail_image" - android:layout_width="64dip" - android:layout_height="64dip"/> - </LinearLayout> - - <TextView - android:id="@+id/details_image_title" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:textAppearance="?android:attr/textAppearanceMedium" - android:paddingLeft="6dip" - android:layout_weight="1"/> - - </LinearLayout> - - <TableLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:paddingLeft="5dip" - android:layout_marginTop="10dip"> - - <TableRow> - <TextView - android:gravity="right" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/details_file_size"/> - <TextView - android:id="@+id/details_file_size_value" - android:textAppearance="?android:attr/textAppearanceSmall" - android:paddingLeft="5dip" - android:textColor="?android:attr/textColorPrimary"/> - </TableRow> - - <TableRow> - <TextView - android:gravity="right" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/details_image_resolution"/> - <TextView - android:id="@+id/details_resolution_value" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:textAppearance="?android:attr/textAppearanceSmall" - android:paddingLeft="5dip" - android:textColor="?android:attr/textColorPrimary"/> - </TableRow> - <TableRow - android:id="@+id/details_duration_row"> - <TextView - android:gravity="right" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/details_duration"/> - <TextView - android:id="@+id/details_duration_value" - android:textAppearance="?android:attr/textAppearanceSmall" - android:paddingLeft="5dip" - android:textColor="?android:attr/textColorPrimary"/> - </TableRow> - <TableRow - android:id="@+id/details_frame_rate_row"> - <TextView - android:gravity="right" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/details_frame_rate"/> - <TextView - android:id="@+id/details_frame_rate_value" - android:textAppearance="?android:attr/textAppearanceSmall" - android:paddingLeft="5dip" - android:textColor="?android:attr/textColorPrimary"/> - </TableRow> - - <TableRow - android:id="@+id/details_bit_rate_row"> - <TextView - android:gravity="right" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/details_bit_rate"/> - <TextView - android:id="@+id/details_bit_rate_value" - android:textAppearance="?android:attr/textAppearanceSmall" - android:paddingLeft="5dip" - android:textColor="?android:attr/textColorPrimary"/> - </TableRow> - <TableRow - android:id="@+id/details_format_row"> - <TextView - android:gravity="right" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/details_format"/> - <TextView - android:id="@+id/details_format_value" - android:textAppearance="?android:attr/textAppearanceSmall" - android:paddingLeft="5dip" - android:textColor="?android:attr/textColorPrimary"/> - </TableRow> - <TableRow - android:id="@+id/details_codec_row"> - <TextView - android:gravity="right" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/details_codec"/> - <TextView - android:id="@+id/details_codec_value" - android:textAppearance="?android:attr/textAppearanceSmall" - android:paddingLeft="5dip" - android:textColor="?android:attr/textColorPrimary"/> - </TableRow> - <TableRow - android:id="@+id/details_date_taken_row"> - <TextView - android:gravity="right" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="@string/details_date_taken"/> - <TextView - android:id="@+id/details_date_taken_value" - android:textAppearance="?android:attr/textAppearanceSmall" - android:paddingLeft="5dip" - android:textColor="?android:attr/textColorPrimary"/> - </TableRow> - </TableLayout> - - </LinearLayout> - -</ScrollView> diff --git a/res/layout/gallery.xml b/res/layout/gallery.xml deleted file mode 100644 index 61a0db2..0000000 --- a/res/layout/gallery.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="horizontal"> - - <View android:background="#FF000000" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true" - /> - - <ImageView android:id="@+id/switcher1" - android:background="#FF000000" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true" - android:visibility="invisible" - /> - - <ImageView android:id="@+id/switcher2" - android:background="#55000000" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true" - android:visibility="invisible" - /> - - <Gallery android:id="@+id/gallery" - android:background="#55000000" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_alignParentBottom="true" - android:layout_alignParentLeft="true" - - android:gravity="center_vertical" - android:spacing="16dp" - /> - -</RelativeLayout> diff --git a/res/layout/gallery_picker_item.xml b/res/layout/gallery_picker_item.xml deleted file mode 100644 index 62d8333..0000000 --- a/res/layout/gallery_picker_item.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2008 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="148dp" - android:layout_height="wrap_content" - android:gravity="center_horizontal"> - - <com.android.camera.GalleryPickerItem android:id="@+id/thumbnail" - android:layout_width="142dip" - android:layout_height="142dip" - android:scaleType="centerCrop" /> - - <TextView android:id="@+id/title" - android:paddingTop="3dip" - android:paddingBottom="9dip" - android:layout_width="wrap_content" - android:textSize="14sp" - android:singleLine="true" - android:textColor="#ffffffff" - android:ellipsize="middle" - android:layout_height="wrap_content" /> - -</LinearLayout> diff --git a/res/layout/gallerypicker.xml b/res/layout/gallerypicker.xml deleted file mode 100644 index 4bc7789..0000000 --- a/res/layout/gallerypicker.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/root" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - <GridView xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/albums" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:paddingTop="2dip" - android:numColumns="auto_fit" - android:columnWidth="148dp" - android:stretchMode="spacingWidthUniform" - android:drawSelectorOnTop="false" - android:cacheColorHint="#000000" - android:background="#000000"/> - - <RelativeLayout android:id="@+id/no_images" - android:visibility="gone" - android:orientation="vertical" - android:layout_centerInParent="true" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - - <ImageView - android:id="@+id/no_pictures_image" - android:layout_centerInParent="true" - android:layout_gravity="center" - android:background="@drawable/ic_gallery_empty2" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - /> - - <TextView - android:layout_below="@id/no_pictures_image" - android:layout_centerHorizontal="true" - android:paddingTop="5dip" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:text="@string/image_gallery_NoImageView_text" - android:textColor="#FFBEBEBE" - android:textSize="18dip" - /> - </RelativeLayout> - -</RelativeLayout> diff --git a/res/layout/grid.xml b/res/layout/grid.xml deleted file mode 100644 index 2bdbc8a..0000000 --- a/res/layout/grid.xml +++ /dev/null @@ -1,44 +0,0 @@ -<!-- -/** - * Copyright (c) 2007, The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ ---> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:background="#FFFFFF"> - - <ImageSwitcher android:id="@+id/switcher" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true" - /> - - <GridView android:id="@+id/gallery" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - - android:padding="0dp" - android:verticalSpacing="0dp" - android:horizontalSpacing="0dp" - android:stretchMode="columnWidth" - - android:gravity="center" - /> - -</RelativeLayout> - diff --git a/res/layout/image_gallery_2.xml b/res/layout/image_gallery_2.xml deleted file mode 100644 index d7158a9..0000000 --- a/res/layout/image_gallery_2.xml +++ /dev/null @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/root" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - - <view class="com.android.camera.ImageGallery2$GridViewSpecial" - android:id="@+id/grid" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:listSelector="@drawable/grid_background" - /> - - <RelativeLayout android:id="@+id/no_images" - android:visibility="gone" - android:orientation="vertical" - android:layout_centerInParent="true" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - - <ImageView - android:id="@+id/no_pictures_image" - android:layout_centerInParent="true" - android:layout_gravity="center" - android:background="@drawable/ic_gallery_empty2" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - /> - - <TextView - android:layout_below="@id/no_pictures_image" - android:layout_centerHorizontal="true" - android:paddingTop="5dip" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:text="@string/image_gallery_NoImageView_text" - android:textColor="#FFBEBEBE" - android:textSize="18dip" - /> - </RelativeLayout> - -</RelativeLayout> - diff --git a/res/layout/movie_view.xml b/res/layout/movie_view.xml deleted file mode 100644 index 6344d8b..0000000 --- a/res/layout/movie_view.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - - <VideoView - android:id="@+id/surface_view" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_centerInParent="true" - /> - - <LinearLayout android:id="@+id/progress_indicator" - android:orientation="vertical" - android:layout_centerInParent="true" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <ProgressBar android:id="@android:id/progress" - style="?android:attr/progressBarStyleLarge" - android:layout_gravity="center" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - <TextView android:paddingTop="5dip" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:text="@string/loading_video" android:textSize="14sp" - android:textColor="#ffffffff" /> - </LinearLayout> - -</RelativeLayout> diff --git a/res/layout/on_screen_hint.xml b/res/layout/on_screen_hint.xml deleted file mode 100644 index a56b728..0000000 --- a/res/layout/on_screen_hint.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* -** Copyright 2009, The Android Open Source Project -** -** Licensed under the Apache License, Version 2.0 (the "License"); -** you may not use this file except in compliance with the License. -** You may obtain a copy of the License at -** -** http://www.apache.org/licenses/LICENSE-2.0 -** -** Unless required by applicable law or agreed to in writing, software -** distributed under the License is distributed on an "AS IS" BASIS, -** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -** See the License for the specific language governing permissions and -** limitations under the License. -*/ ---> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical" - android:background="@drawable/on_screen_hint_frame"> - - <TextView - android:id="@+id/message" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:textAppearance="@style/OnScreenHintTextAppearance.Small" - android:textColor="#ffffffff" - android:shadowColor="#BB000000" - android:shadowRadius="2.75" - /> -</LinearLayout> - - diff --git a/res/layout/photo_frame.xml b/res/layout/photo_frame.xml deleted file mode 100644 index 5537b1e..0000000 --- a/res/layout/photo_frame.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<ImageView xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/photo" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:scaleType="center" - android:cropToPadding="true" - android:background="@drawable/photo_frame" - /> diff --git a/res/layout/post_picture_panel.xml b/res/layout/post_picture_panel.xml deleted file mode 100644 index 17cafe2..0000000 --- a/res/layout/post_picture_panel.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2009 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:visibility="gone" - android:id="@+id/post_picture_panel" - android:layout_alignBottom="@id/shutter_button" - android:layout_toLeftOf="@id/shutter_button" - android:layout_marginRight="15dip" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <com.android.camera.ActionMenuButton - android:id="@+id/attach" - android:drawableTop="@drawable/ic_menu_attach" - android:text="@string/camera_attach" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/cancel" - android:drawableTop="@drawable/ic_menu_cancel" - android:text="@string/camera_cancel" - style="@style/OnscreenActionIcon" - /> -</LinearLayout> diff --git a/res/layout/slide_show.xml b/res/layout/slide_show.xml deleted file mode 100644 index e9bfe0f..0000000 --- a/res/layout/slide_show.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - - <view android:id="@+id/imageview" - class="com.android.camera.SlideShow$ImageViewTouch" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - /> - -</FrameLayout> diff --git a/res/layout/video_camera.xml b/res/layout/video_camera.xml deleted file mode 100644 index da37bcd..0000000 --- a/res/layout/video_camera.xml +++ /dev/null @@ -1,127 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="horizontal"> - - <com.android.camera.VideoPreview - android:id="@+id/camera_preview" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_centerInParent="true" - /> - - <ImageView - android:id="@+id/video_frame" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:visibility="gone" - /> - - <ImageView - android:id="@+id/blackout" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:visibility="invisible" - /> - - <com.android.camera.ShutterButton - android:id="@+id/shutter_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_camera_indicator_video" - android:background="@drawable/ic_btn_camera_background" - android:clickable="true" - android:focusable="true" - android:layout_alignParentRight="true" - android:layout_alignParentTop="true" - android:layout_marginRight="50dip" - android:layout_marginTop="10dip" - android:scaleType="center"/> - - <!-- Note: In this TextView the paddingRight="2" - attribute is required because otherwise the - text's drop shadow will be clipped. --> - <TextView - android:id="@+id/recording_time" - android:layout_width="90dip" - android:layout_height="wrap_content" - android:layout_toLeftOf="@id/shutter_button" - android:layout_alignTop="@id/shutter_button" - android:layout_marginTop="20dip" - android:layout_marginRight="6dip" - android:paddingRight="2dip" - android:shadowColor="#c0000000" - android:shadowDx="1" - android:shadowDy="1" - android:shadowRadius="1" - android:gravity="right" - android:textColor="#ffffffff" - android:textSize="20dip" - android:textStyle="bold" - android:visibility="gone"/> - - <LinearLayout - android:visibility="gone" - android:id="@+id/post_picture_panel" - android:layout_alignTop="@id/shutter_button" - android:layout_toLeftOf="@id/shutter_button" - android:layout_marginRight="15dip" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <com.android.camera.ActionMenuButton - android:id="@+id/gallery" - android:drawableTop="@drawable/ic_menu_gallery" - android:text="@string/camera_gallery" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/play" - android:drawableTop="@drawable/ic_menu_camera_play" - android:text="@string/camera_play" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/share" - android:drawableTop="@drawable/ic_menu_share" - android:text="@string/camera_share" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/discard" - android:drawableTop="@drawable/ic_menu_delete" - android:text="@string/camera_toss" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/attach" - android:drawableTop="@drawable/ic_menu_attach" - android:text="@string/camera_attach" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/cancel" - android:drawableTop="@drawable/ic_menu_cancel" - android:text="@string/camera_cancel" - style="@style/OnscreenActionIcon" - /> - </LinearLayout> -</RelativeLayout> - diff --git a/res/layout/viewimage.xml b/res/layout/viewimage.xml deleted file mode 100644 index 99d76b0..0000000 --- a/res/layout/viewimage.xml +++ /dev/null @@ -1,160 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2007 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/rootLayout" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - - <AbsoluteLayout android:id="@+id/slideShowContainer" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - <view android:id="@+id/image1_slideShow" - class="com.android.camera.ViewImage$ImageViewTouch" - android:background="#00000000" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - /> - <view android:id="@+id/image2_slideShow" - class="com.android.camera.ViewImage$ImageViewTouch" - android:background="#00000000" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - /> - </AbsoluteLayout> - - <AbsoluteLayout android:id="@+id/abs" - android:layout_width="fill_parent" - android:layout_height="fill_parent"> - <view class="com.android.camera.ViewImage$ScrollHandler" android:id="@+id/scroller" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="horizontal" - - android:background="#FF000000" - android:layout_x="0dip" - android:layout_y="0dip"> - - <view android:id="@+id/image1" - class="com.android.camera.ViewImage$ImageViewTouch" - android:background="#FF000000" - android:layout_width="0dip" - android:layout_height="fill_parent" /> - - <View android:id="@+id/padding1" - android:layout_height="fill_parent" - android:layout_width="0dip" /> - - <view android:id="@+id/image2" - class="com.android.camera.ViewImage$ImageViewTouch" - android:background="#FF000000" - android:layout_width="0dip" - android:layout_height="fill_parent"/> - - <View android:id="@+id/padding2" - android:layout_height="fill_parent" - android:layout_width="0dip" /> - - <view android:id="@+id/image3" - class="com.android.camera.ViewImage$ImageViewTouch" - android:background="#FF000000" - android:layout_width="0dip" - android:layout_height="fill_parent"/> - </view> - </AbsoluteLayout> - - <ImageView - android:visibility="gone" - android:id="@+id/shutter_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_camera_indicator_photo" - android:background="@drawable/ic_btn_camera_background" - android:clickable="true" - android:focusable="true" - android:layout_alignParentRight="true" - android:layout_alignParentTop="true" - android:layout_marginRight="50dip" - android:layout_marginTop="10dip" - android:scaleType="center"/> - - <LinearLayout - android:visibility="gone" - android:id="@+id/action_icon_panel" - android:layout_alignBottom="@id/shutter_button" - android:layout_toLeftOf="@id/shutter_button" - android:layout_marginRight="15dip" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <com.android.camera.ActionMenuButton - android:id="@+id/gallery" - android:drawableTop="@drawable/ic_menu_gallery" - android:text="@string/camera_gallery" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/setas" - android:drawableTop="@drawable/ic_menu_set_as" - android:text="@string/camera_set" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/share" - android:drawableTop="@drawable/ic_menu_share" - android:text="@string/camera_share" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/discard" - android:drawableTop="@drawable/ic_menu_delete" - android:text="@string/camera_toss" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/attach" - android:drawableTop="@drawable/ic_menu_attach" - android:text="@string/camera_attach" - style="@style/OnscreenActionIcon" - /> - <com.android.camera.ActionMenuButton - android:id="@+id/cancel" - android:drawableTop="@drawable/ic_menu_cancel" - android:text="@string/camera_cancel" - style="@style/OnscreenActionIcon" - /> - </LinearLayout> - <ImageView android:id="@+id/prev_image" - android:clickable="true" - android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentLeft="true" - android:layout_centerVertical="true" - android:visibility="invisible" - android:src="@drawable/btn_camera_arrow_left" - /> - - <ImageView android:id="@+id/next_image" - android:clickable="true" - android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentRight="true" - android:layout_centerVertical="true" - android:visibility="invisible" - android:src="@drawable/btn_camera_arrow_right" - /> - -</RelativeLayout> - |