aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout/album_info.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/album_info.xml')
-rw-r--r--res/layout/album_info.xml79
1 files changed, 79 insertions, 0 deletions
diff --git a/res/layout/album_info.xml b/res/layout/album_info.xml
new file mode 100644
index 0000000..3c4cc70
--- /dev/null
+++ b/res/layout/album_info.xml
@@ -0,0 +1,79 @@
+<?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.AlbumInfo
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ style="@style/PhotoPhase.Album">
+
+ <ImageView android:id="@+id/album_thumbnail"
+ android:layout_width="@dimen/album_size"
+ android:layout_height="@dimen/album_size"
+ android:scaleType="fitXY"
+ android:layout_marginRight="@dimen/album_margin"
+ android:contentDescription="@null"
+ style="@style/PhotoPhase.Album.Thumbnail" />
+
+ <TextView android:id="@+id/album_selected_items"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignRight="@id/album_thumbnail"
+ android:layout_alignBottom="@id/album_thumbnail"
+ style="PhotoPhase.Notification" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_toRightOf="@id/album_thumbnail"
+ android:layout_alignTop="@id/album_thumbnail"
+ android:layout_alignBottom="@id/album_thumbnail"
+ android:orientation="vertical"
+ style="@style/PhotoPhase.Album.Info">
+
+ <TextView android:id="@+id/album_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:paddingBottom="@dimen/album_info_margin"
+ android:gravity="bottom"
+ android:ellipsize="end"
+ android:singleLine="true"
+ style="@style/PhotoPhase.TextAppearance.Primary" />
+
+ <TextView android:id="@+id/album_items"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:paddingTop="@dimen/album_info_margin"
+ android:gravity="top"
+ android:ellipsize="end"
+ android:singleLine="true"
+ style="@style/PhotoPhase.TextAppearance.Secondary" />
+
+ </LinearLayout>
+
+ <ImageView android:id="@+id/overflow"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentBottom="true"
+ android:layout_gravity="top"
+ android:padding="@dimen/small_padding"
+ android:contentDescription="@null"
+ style="@style/PhotoPhase.Album.MenuBar.Overflow" />
+
+</org.cyanogenmod.wallpapers.photophase.widgets.AlbumInfo>