diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-12-26 00:52:28 -0800 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2013-01-07 14:43:56 -0800 |
commit | d2f3995f22bfe02d6e927f660202bb0b2f89ac82 (patch) | |
tree | 55092b7994d8332474fb20a23452e35ac0289d37 /res/layout/ingest_date_tile.xml | |
parent | 5b8f1dc697d368ec189503179f7daaf88aa12cdc (diff) | |
download | android_packages_apps_Snap-d2f3995f22bfe02d6e927f660202bb0b2f89ac82.tar.gz android_packages_apps_Snap-d2f3995f22bfe02d6e927f660202bb0b2f89ac82.tar.bz2 android_packages_apps_Snap-d2f3995f22bfe02d6e927f660202bb0b2f89ac82.zip |
Replace camera importer
Change-Id: Icfeb23301bc6c9f8c8b12824bcbb0d8b41852d07
Diffstat (limited to 'res/layout/ingest_date_tile.xml')
-rw-r--r-- | res/layout/ingest_date_tile.xml | 63 |
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 |