summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2008-10-21 07:00:00 -0700
commit1d4c75065966c4f6f56900e31f655bfd1b334435 (patch)
tree5d4526db3153daa63087fcb9384f8bc0659fbd18 /res/layout
downloadLegacyCamera-1d4c75065966c4f6f56900e31f655bfd1b334435.zip
LegacyCamera-1d4c75065966c4f6f56900e31f655bfd1b334435.tar.gz
LegacyCamera-1d4c75065966c4f6f56900e31f655bfd1b334435.tar.bz2
Initial Contribution
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/camera.xml118
-rw-r--r--res/layout/cropimage.xml58
-rw-r--r--res/layout/custom_gallery_title.xml61
-rw-r--r--res/layout/details.xml159
-rw-r--r--res/layout/detailsview.xml96
-rw-r--r--res/layout/gallery.xml58
-rw-r--r--res/layout/gallery_picker_item.xml43
-rw-r--r--res/layout/gallerypicker.xml32
-rw-r--r--res/layout/gallerysettings.xml63
-rw-r--r--res/layout/grid.xml44
-rw-r--r--res/layout/image_gallery.xml44
-rw-r--r--res/layout/image_gallery_2.xml58
-rw-r--r--res/layout/slide_show.xml27
-rw-r--r--res/layout/viewimage.xml96
-rw-r--r--res/layout/viewvideo.xml28
-rw-r--r--res/layout/youtube_upload_info.xml82
16 files changed, 1067 insertions, 0 deletions
diff --git a/res/layout/camera.xml b/res/layout/camera.xml
new file mode 100644
index 0000000..1bd5a14
--- /dev/null
+++ b/res/layout/camera.xml
@@ -0,0 +1,118 @@
+<?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">
+
+ <SurfaceView
+ android:id="@+id/camera_preview"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:layout_centerInParent="true"
+ />
+
+ <ImageView
+ android:id="@+id/blackout"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:visibility="invisible"
+ />
+
+ <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_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:layout_marginRight="6dip"
+ android:layout_marginTop="6dip"
+ android:scaleType="center"/>
+
+ <TextView
+ android:id="@+id/hint_toast"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentTop="true"
+ android:background="@drawable/popup_camera_toast"
+ android:layout_width="200dip"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:text="@string/camera_button_hint"
+ android:textSize="18sp"
+ android:visibility="visible"/>
+
+ <AbsoluteLayout
+ android:background="#CC666666"
+ android:visibility="invisible"
+ android:id="@+id/post_picture_panel"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="false">
+ <View android:layout_width="fill_parent"
+ android:layout_height="1dip"
+ android:background="@android:drawable/divider_horizontal_dark" />
+ <LinearLayout
+ android:paddingLeft="7dip"
+ android:paddingRight="7dip"
+ android:paddingTop="6dip"
+ android:paddingBottom="6dip"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:background="#00000000"
+ android:orientation="horizontal">
+ <Button
+ android:id="@+id/save"
+ android:textSize="18sp"
+ android:drawableTop="@android:drawable/ic_menu_save"
+ android:layout_width="112dip"
+ android:layout_height="wrap_content"
+ android:text="@string/camera_keep"
+ />
+ <View android:layout_width="6dip" android:layout_height="6dip" />
+ <Button
+ android:id="@+id/setas"
+ android:textSize="18sp"
+ android:drawableTop="@android:drawable/ic_menu_set_as"
+ android:layout_width="112dip"
+ android:layout_height="wrap_content"
+ android:text="@string/camera_set"
+ />
+ <View android:layout_width="6dip" android:layout_height="6dip" />
+ <Button
+ android:id="@+id/share"
+ android:textSize="18sp"
+ android:drawableTop="@android:drawable/ic_menu_share"
+ android:layout_width="112dip"
+ android:layout_height="wrap_content"
+ android:text="@string/camera_share"
+ />
+ <View android:layout_width="6dip" android:layout_height="6dip" />
+ <Button
+ android:id="@+id/discard"
+ android:textSize="18sp"
+ android:drawableTop="@android:drawable/ic_menu_delete"
+ android:layout_width="112dip"
+ android:layout_height="wrap_content"
+ android:text="@string/camera_toss"
+ />
+ </LinearLayout>
+ </AbsoluteLayout>
+</RelativeLayout>
+
diff --git a/res/layout/cropimage.xml b/res/layout/cropimage.xml
new file mode 100644
index 0000000..4f3dcb7
--- /dev/null
+++ b/res/layout/cropimage.xml
@@ -0,0 +1,58 @@
+<?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
new file mode 100644
index 0000000..0652678
--- /dev/null
+++ b/res/layout/custom_gallery_title.xml
@@ -0,0 +1,61 @@
+<?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
new file mode 100644
index 0000000..482e567
--- /dev/null
+++ b/res/layout/details.xml
@@ -0,0 +1,159 @@
+<?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
new file mode 100644
index 0000000..21cac08
--- /dev/null
+++ b/res/layout/detailsview.xml
@@ -0,0 +1,96 @@
+<?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="10dip"
+ android:paddingRight="10dip"
+ android:paddingBottom="10dp">
+
+ <LinearLayout
+ android:orientation="horizontal"
+ android:gravity="center_vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <ImageView
+ android:id="@+id/details_thumbnail_image"
+ android:layout_width="64dip"
+ android:layout_height="64dip"/>
+
+ <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:layout_marginTop="10dip">
+
+ <TableRow>
+ <TextView
+ android:id="@+id/details_attrname_1"
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall" />
+ <TextView
+ android:id="@+id/details_attrvalu_1"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+
+ <TableRow>
+ <TextView
+ android:id="@+id/details_attrname_2"
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"/>
+ <TextView
+ android:id="@+id/details_attrvalu_2"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:paddingLeft="5dip"
+ android:textColor="?android:attr/textColorPrimary"/>
+ </TableRow>
+
+ <TableRow
+ android:id="@+id/details_daterow">
+ <TextView
+ android:id="@+id/details_attrname_3"
+ android:gravity="right"
+ android:textAppearance="?android:attr/textAppearanceSmall"/>
+ <TextView
+ android:id="@+id/details_attrvalu_3"
+ 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
new file mode 100644
index 0000000..61a0db2
--- /dev/null
+++ b/res/layout/gallery.xml
@@ -0,0 +1,58 @@
+<?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
new file mode 100644
index 0000000..5536dad
--- /dev/null
+++ b/res/layout/gallery_picker_item.xml
@@ -0,0 +1,43 @@
+<?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.
+-->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="160dp" android:paddingTop="0dip"
+ android:paddingBottom="0dip" android:paddingLeft="0dip"
+ android:layout_height="wrap_content">
+
+ <LinearLayout android:orientation="vertical"
+ android:layout_width="wrap_content"
+ 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:maxLines="2"
+ android:textColor="#ffffffff"
+ android:ellipsize="end"
+ android:layout_height="wrap_content" />
+
+ </LinearLayout>
+</FrameLayout>
diff --git a/res/layout/gallerypicker.xml b/res/layout/gallerypicker.xml
new file mode 100644
index 0000000..42dbc7e
--- /dev/null
+++ b/res/layout/gallerypicker.xml
@@ -0,0 +1,32 @@
+<?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.
+-->
+
+<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/root"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="#000000">
+
+ <GridView android:id="@+id/albums"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:paddingTop="2dip"
+ android:numColumns="auto_fit"
+ android:columnWidth="160dp"
+ android:stretchMode="spacingWidth"
+ android:drawSelectorOnTop="false" />
+
+</AbsoluteLayout>
+
diff --git a/res/layout/gallerysettings.xml b/res/layout/gallerysettings.xml
new file mode 100644
index 0000000..b513813
--- /dev/null
+++ b/res/layout/gallerysettings.xml
@@ -0,0 +1,63 @@
+<?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.
+-->
+
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll_view"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="#1C1C1C">
+
+ <LinearLayout android:id="@+id/layout"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:paddingTop="30dip"
+ android:orientation="vertical">
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="50dip">
+ <TextView
+ android:layout_height="wrap_content"
+ android:textColor="#FFFFFFFF"
+ android:layout_width="0dip"
+ android:textSize="10sp"
+ android:layout_weight="50"
+ android:gravity="right"
+ android:singleLine="false"
+ android:text="@string/gallerysettings_duration" />
+
+ <Spinner android:id="@+id/slide_show_speed"
+ android:layout_width="0dip"
+ android:layout_weight="50"
+ android:layout_marginRight="10dip"
+ android:layout_marginLeft="20dip"
+ android:layout_height="wrap_content">
+ </Spinner>
+
+ </LinearLayout>
+
+ <Button android:id="@+id/done"
+ android:layout_width="80dip"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="70dip"
+ android:layout_marginRight="10dip"
+ android:gravity="bottom"
+ android:layout_gravity="right"
+ android:text="@string/camerasettings_done" />
+
+ </LinearLayout>
+</ScrollView>
+
diff --git a/res/layout/grid.xml b/res/layout/grid.xml
new file mode 100644
index 0000000..2bdbc8a
--- /dev/null
+++ b/res/layout/grid.xml
@@ -0,0 +1,44 @@
+<!--
+/**
+ * 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.xml b/res/layout/image_gallery.xml
new file mode 100644
index 0000000..d4b9db6
--- /dev/null
+++ b/res/layout/image_gallery.xml
@@ -0,0 +1,44 @@
+<?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.
+-->
+
+<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/root"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <GridView
+ android:id="@+id/grid"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:padding="12dp"
+ android:verticalSpacing="8dp"
+ android:horizontalSpacing="8dp"
+ android:stretchMode="spacingWidth"
+ android:gravity="center"
+ android:drawSelectorOnTop="false"
+ android:listSelector="@drawable/grid_background"
+ android:numColumns="auto_fit"
+ android:columnWidth="64dp"
+ android:fadingEdge="none"
+ />
+
+ <TextView android:id="@+id/NoImageView"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:text="@string/image_gallery_NoImageView_text"
+ android:textColor="#FFFFFFFF"
+ />
+</AbsoluteLayout>
+
diff --git a/res/layout/image_gallery_2.xml b/res/layout/image_gallery_2.xml
new file mode 100644
index 0000000..0f4926c
--- /dev/null
+++ b/res/layout/image_gallery_2.xml
@@ -0,0 +1,58 @@
+<?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_empty"
+ 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/slide_show.xml b/res/layout/slide_show.xml
new file mode 100644
index 0000000..e9bfe0f
--- /dev/null
+++ b/res/layout/slide_show.xml
@@ -0,0 +1,27 @@
+<?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/viewimage.xml b/res/layout/viewimage.xml
new file mode 100644
index 0000000..de042f1
--- /dev/null
+++ b/res/layout/viewimage.xml
@@ -0,0 +1,96 @@
+<?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:id="@+id/prev_image"
+ 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: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>
+
diff --git a/res/layout/viewvideo.xml b/res/layout/viewvideo.xml
new file mode 100644
index 0000000..49af24b
--- /dev/null
+++ b/res/layout/viewvideo.xml
@@ -0,0 +1,28 @@
+<?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:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:background="#FF000000"
+ >
+
+ <VideoView android:id="@+id/video"
+ android:layout_centerInParent="true"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent" />
+</RelativeLayout>
+
diff --git a/res/layout/youtube_upload_info.xml b/res/layout/youtube_upload_info.xml
new file mode 100644
index 0000000..fa62a77
--- /dev/null
+++ b/res/layout/youtube_upload_info.xml
@@ -0,0 +1,82 @@
+<?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:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+>
+ <LinearLayout
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+
+ <TextView android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/upload_info_title"
+ android:textSize="12sp" />
+
+ <EditText android:id="@+id/video_title"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:autoText="true"
+ android:capitalize="words" android:textSize="12sp" />
+
+ <TextView android:layout_width="wrap_content"
+ android:layout_height="wrap_content" android:paddingTop="10dip"
+ android:text="@string/details_category_label"
+ android:textSize="12sp" />
+
+ <Spinner android:id="@+id/category"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:drawSelectorOnTop="false" android:textSize="12sp" />
+
+ <TextView android:id="@+id/tags_label"
+ android:layout_width="fill_parent" android:paddingTop="10dip"
+ android:layout_height="wrap_content"
+ android:text="@string/upload_info_tags" android:textSize="12sp" />
+
+ <EditText android:id="@+id/video_tags"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:textSize="12sp"
+ android:autoText="false" android:capitalize="none" />
+
+ <TextView android:layout_width="fill_parent"
+ android:paddingTop="10dip" android:layout_height="wrap_content"
+ android:text="@string/upload_info_description"
+ android:textSize="12sp" />
+
+ <EditText android:id="@+id/video_description"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content" android:autoText="true"
+ android:capitalize="sentences" android:textSize="12sp" />
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent" android:paddingTop="10dip"
+ android:layout_height="wrap_content">
+
+ <CheckBox android:id="@+id/public_or_private"
+ android:layout_width="0dip" android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:text="@string/upload_info_private" />
+
+ <Button android:id="@+id/do_upload"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/upload_info_upload" />
+ </LinearLayout>
+</LinearLayout>
+</ScrollView>