diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:04 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:04 -0800 |
commit | 319052089cab383fed2528946b71b45b7af524da (patch) | |
tree | b5d31cbf6a463025a860024c91fc691312407fd4 /res/layout-land | |
parent | cc7720961222cfdeedc3f1110911315010755638 (diff) | |
download | android_packages_apps_Calendar-319052089cab383fed2528946b71b45b7af524da.tar.gz android_packages_apps_Calendar-319052089cab383fed2528946b71b45b7af524da.tar.bz2 android_packages_apps_Calendar-319052089cab383fed2528946b71b45b7af524da.zip |
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/gadget_item.xml | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/res/layout-land/gadget_item.xml b/res/layout-land/gadget_item.xml new file mode 100644 index 00000000..541b01a1 --- /dev/null +++ b/res/layout-land/gadget_item.xml @@ -0,0 +1,92 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/gadget" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:background="@drawable/bg_calendar" + android:paddingBottom="9px" + android:gravity="center" + > + + <LinearLayout + android:id="@+id/vertical_stripe" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:background="@drawable/top_color_strip" + android:gravity="center_vertical" + > + + <TextView + android:id="@+id/when" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:paddingRight="3dip" + android:textStyle="bold" + android:textSize="11px" + android:textColor="@color/gadget_when" + android:singleLine="true" + /> + + <TextView + android:id="@+id/reminder" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:drawableLeft="@drawable/ic_reminder_bell" + android:drawablePadding="3dip" + android:textSize="11px" + android:textColor="@color/gadget_when" + android:singleLine="true" + /> + + </LinearLayout> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingLeft="7px" + android:paddingTop="1px" + android:paddingRight="7px" + android:orientation="horizontal" + android:gravity="center_vertical" + > + + <TextView + android:id="@+id/title" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:paddingRight="3dip" + android:textStyle="bold" + android:textSize="16px" + android:textColor="@color/gadget_title" + android:singleLine="true" + /> + + <FrameLayout + android:id="@+id/repeat" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@drawable/ic_recurring_white" + /> + + </LinearLayout> + +</LinearLayout> |