OSDN Git Service

Merge "Import translations. DO NOT MERGE"
[android-x86/packages-apps-Gallery2.git] / res / layout / ingest_date_tile.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2013 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16 <com.android.gallery3d.ingest.ui.DateTileView xmlns:android="http://schemas.android.com/apk/res/android"
17     android:layout_width="match_parent"
18     android:layout_height="match_parent"
19     android:background="@android:color/black" >
20     <GridLayout
21         android:layout_width="wrap_content"
22         android:layout_height="wrap_content"
23         android:layout_gravity="center" >
24         <TextView
25             android:id="@+id/date_tile_month"
26             android:layout_width="wrap_content"
27             android:layout_height="wrap_content"
28             android:layout_column="0"
29             android:layout_row="0"
30             android:layout_gravity="bottom|end"
31             android:layout_marginTop="7sp"
32             android:includeFontPadding="false"
33             android:textSize="16sp"
34             android:textAllCaps="true"
35             android:fontFamily="sans-serif"
36             android:textColor="@color/ingest_date_tile_text" />
37         <TextView
38             android:id="@+id/date_tile_year"
39             android:layout_width="wrap_content"
40             android:layout_height="wrap_content"
41             android:layout_column="0"
42             android:layout_row="1"
43             android:layout_gravity="top|end"
44             android:includeFontPadding="false"
45             android:textSize="13sp"
46             android:fontFamily="sans-serif-light"
47             android:textColor="@color/ingest_date_tile_text" />
48         <TextView
49             android:id="@+id/date_tile_day"
50             android:layout_width="wrap_content"
51             android:layout_height="wrap_content"
52             android:layout_column="1"
53             android:layout_row="0"
54             android:layout_rowSpan="2"
55             android:layout_gravity="top|start"
56             android:layout_marginStart="5sp"
57             android:layout_marginLeft="5sp"
58             android:includeFontPadding="false"
59             android:textSize="44sp"
60             android:textStyle="bold"
61             android:fontFamily="sans-serif"
62             android:textColor="@color/ingest_date_tile_text" />
63     </GridLayout>
64 </com.android.gallery3d.ingest.ui.DateTileView>