aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/album_pictures.xml
diff options
context:
space:
mode:
authorjruesga <jorge@ruesga.com>2013-07-01 02:42:54 +0200
committerjruesga <jorge@ruesga.com>2013-07-01 02:42:54 +0200
commitf29d68d929061ccbb982019c5020be721bbef862 (patch)
tree24ce41fb0dd7f942ca9dbe956fe93fe836da66c2 /res/layout/album_pictures.xml
downloadandroid_packages_wallpapers_PhotoPhase-f29d68d929061ccbb982019c5020be721bbef862.tar.gz
android_packages_wallpapers_PhotoPhase-f29d68d929061ccbb982019c5020be721bbef862.tar.bz2
android_packages_wallpapers_PhotoPhase-f29d68d929061ccbb982019c5020be721bbef862.zip
Initial commit
Signed-off-by: jruesga <jorge@ruesga.com>
Diffstat (limited to 'res/layout/album_pictures.xml')
-rw-r--r--res/layout/album_pictures.xml80
1 files changed, 80 insertions, 0 deletions
diff --git a/res/layout/album_pictures.xml b/res/layout/album_pictures.xml
new file mode 100644
index 0000000..71a1a49
--- /dev/null
+++ b/res/layout/album_pictures.xml
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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.
+-->
+
+<org.cyanogenmod.wallpapers.photophase.widgets.AlbumPictures xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/card"
+ style="@style/PhotoPhase.Album">
+
+ <TextView android:id="@+id/album_pictures_title"
+ android:layout_width="@dimen/album_size"
+ android:layout_height="@dimen/album_title_height"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ style="@style/PhotoPhase.Album.Title" />
+
+ <LinearLayout android:id="@+id/album_menubar"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/album_size"
+ android:layout_marginLeft="@dimen/small_margin"
+ android:layout_marginRight="@dimen/small_margin"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentRight="true"
+ android:orientation="vertical">
+
+ <ImageView android:id="@+id/back"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:contentDescription="@null"
+ style="@style/PhotoPhase.Album.MenuBar.Return" />
+
+ <Space
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"/>
+
+ <ImageView android:id="@+id/overflow"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:contentDescription="@null"
+ style="@style/PhotoPhase.Album.MenuBar.Overflow" />
+ </LinearLayout>
+
+ <org.cyanogenmod.wallpapers.photophase.widgets.PicturesView
+ android:id="@+id/album_pictures_scroller"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginLeft="@dimen/album_title_height"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/album_menubar"
+ android:fillViewport="true"
+ android:scrollbars="none"
+ android:layout_weight="1">
+
+ <LinearLayout android:id="@+id/album_pictures_holder"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:orientation="horizontal">
+
+ <!-- Pictures go here -->
+
+ </LinearLayout>
+ </org.cyanogenmod.wallpapers.photophase.widgets.PicturesView>
+
+</org.cyanogenmod.wallpapers.photophase.widgets.AlbumPictures>