diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 14:04:30 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 14:04:30 -0800 |
commit | 0d78b568cd2c23fda9475c1dfaddad7c57ec3984 (patch) | |
tree | 31094faabf3a7008bfc824bb917989562568ef65 /res/layout-land | |
parent | 9f28730b2055f80491939e05d74516c00e4dc4ea (diff) | |
download | android_packages_apps_Calendar-0d78b568cd2c23fda9475c1dfaddad7c57ec3984.tar.gz android_packages_apps_Calendar-0d78b568cd2c23fda9475c1dfaddad7c57ec3984.tar.bz2 android_packages_apps_Calendar-0d78b568cd2c23fda9475c1dfaddad7c57ec3984.zip |
auto import from //depot/cupcake/@132589
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/gadget_item.xml | 164 |
1 files changed, 164 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..3fd44159 --- /dev/null +++ b/res/layout-land/gadget_item.xml @@ -0,0 +1,164 @@ +<?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. +--> + + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/gadget" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingBottom="6px" + android:background="@drawable/bg_calendar" + > + + <TextView + android:id="@+id/no_events" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingTop="6px" + android:gravity="center" + android:textStyle="bold" + android:textSize="16sp" + android:text="@string/gadget_no_events" + android:textColor="@color/gadget_no_events" + /> + + <FrameLayout + android:id="@+id/landscape_hidden" + android:layout_width="0dip" + android:layout_height="0dip" + android:visibility="gone" + > + + <TextView + android:id="@+id/secondary_card" + android:layout_width="0dip" + android:layout_height="0dip" + /> + + <TextView + android:id="@+id/stub_when" + android:layout_width="0dip" + android:layout_height="0dip" + /> + + <TextView + android:id="@+id/stub_title" + android:layout_width="0dip" + android:layout_height="0dip" + /> + + <TextView + android:id="@+id/stub_where" + android:layout_width="0dip" + android:layout_height="0dip" + /> + + <TextView + android:id="@+id/secondary_when" + android:layout_width="0dip" + android:layout_height="0dip" + android:background="@drawable/strip_cal_secondary" + /> + + <TextView + android:id="@+id/secondary_title" + android:layout_width="0dip" + android:layout_height="0dip" + /> + + <ImageView + android:id="@+id/divider" + android:layout_width="0dip" + android:layout_height="0dip" + android:background="@drawable/white_list_rule_cal" + /> + + <TextView + android:id="@+id/title2" + android:layout_width="0dip" + android:layout_height="0dip" + /> + + </FrameLayout> + + <LinearLayout + android:id="@+id/primary_card" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:paddingLeft="3px" + android:paddingRight="3px" + android:paddingTop="3px" + android:paddingBottom="8px" + android:background="@drawable/bg_calendar_primary" + android:orientation="vertical" + android:visibility="gone" + > + + <TextView + android:id="@+id/when" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingRight="64px" + android:paddingLeft="8px" + android:paddingTop="1px" + android:paddingBottom="1px" + android:gravity="center_vertical" + android:background="@drawable/strip_cal" + android:textStyle="bold" + android:textSize="11sp" + android:textColor="@color/gadget_when" + android:singleLine="true" + /> + + <TextView + android:id="@+id/title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingRight="64px" + android:paddingLeft="8px" + android:textStyle="bold" + android:textSize="16sp" + android:textColor="@color/gadget_title" + android:singleLine="true" + /> + + <TextView + android:id="@+id/where" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingRight="64px" + android:paddingLeft="8px" + android:textSize="11sp" + android:textColor="@color/gadget_where" + android:singleLine="true" + /> + + </LinearLayout> + + <ImageView + android:id="@+id/icon" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:layout_marginRight="8px" + android:src="@drawable/app_icon_blank" + android:visibility="gone" + /> + +</RelativeLayout> + |