summaryrefslogtreecommitdiffstats
path: root/res/layout/ingest_date_tile.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/ingest_date_tile.xml')
-rw-r--r--res/layout/ingest_date_tile.xml63
1 files changed, 63 insertions, 0 deletions
diff --git a/res/layout/ingest_date_tile.xml b/res/layout/ingest_date_tile.xml
new file mode 100644
index 000000000..6b5e93445
--- /dev/null
+++ b/res/layout/ingest_date_tile.xml
@@ -0,0 +1,63 @@
+<?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.
+-->
+<com.android.gallery3d.ingest.ui.DateTileView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/black" >
+ <GridLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center" >
+ <TextView
+ android:id="@+id/date_tile_month"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_column="0"
+ android:layout_row="0"
+ android:layout_gravity="bottom|right"
+ android:layout_marginTop="7sp"
+ android:includeFontPadding="false"
+ android:textSize="16sp"
+ android:textAllCaps="true"
+ android:fontFamily="sans-serif"
+ android:textColor="@color/ingest_date_tile_text" />
+ <TextView
+ android:id="@+id/date_tile_year"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_column="0"
+ android:layout_row="1"
+ android:layout_gravity="top|right"
+ android:includeFontPadding="false"
+ android:textSize="13sp"
+ android:fontFamily="sans-serif-light"
+ android:textColor="@color/ingest_date_tile_text" />
+ <TextView
+ android:id="@+id/date_tile_day"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_column="1"
+ android:layout_row="0"
+ android:layout_rowSpan="2"
+ android:layout_gravity="top|left"
+ android:layout_marginLeft="5sp"
+ android:includeFontPadding="false"
+ android:textSize="44sp"
+ android:textStyle="bold"
+ android:fontFamily="sans-serif"
+ android:textColor="@color/ingest_date_tile_text" />
+ </GridLayout>
+</com.android.gallery3d.ingest.ui.DateTileView> \ No newline at end of file