Home | History | Annotate | Download | only in layout-sw600dp
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2010 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 
     17 
     18 <RelativeLayout
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:layout_width="match_parent"
     21     android:layout_height="match_parent"
     22     android:background="@null">
     23 
     24 
     25     <LinearLayout
     26         android:id="@+id/date_group"
     27         android:orientation="horizontal"
     28         android:layout_width="match_parent"
     29         android:layout_height="wrap_content"
     30         android:layout_alignParentTop="true"
     31         android:paddingLeft="20dip"
     32         android:background="@color/calendar_future_bg_color" >
     33         <TextView
     34             android:id="@+id/date_bar"
     35             android:layout_width="wrap_content"
     36             android:layout_height="42dip"
     37             android:gravity="center_vertical"
     38             android:textSize="24sp"/>
     39         <TextView
     40             android:id="@+id/week_num"
     41             android:layout_width="wrap_content"
     42             android:layout_height="42dip"
     43             android:gravity="center_vertical"
     44             android:paddingLeft="8dip"
     45             android:textSize="18sp"
     46             android:visibility="gone" />
     47         <TextView
     48             android:id="@+id/home_time"
     49             android:layout_width="wrap_content"
     50             android:layout_height="42dip"
     51             android:layout_gravity="center_vertical|right"
     52             android:gravity="center_vertical|right"
     53             android:layout_weight="1"
     54             android:paddingLeft="8dip"
     55             android:paddingRight="8dip"
     56             android:textSize="18sp"
     57             android:visibility="gone" />
     58     </LinearLayout>
     59 
     60     <LinearLayout
     61         android:id="@+id/mini_month_container"
     62         android:orientation="vertical"
     63         android:layout_alignParentBottom="true"
     64         android:layout_alignParentLeft="true"
     65         android:visibility="gone"
     66         android:layout_height="300dip"
     67         android:layout_width="296dip" >
     68 
     69         <FrameLayout
     70             android:id="@+id/mini_month"
     71             android:layout_height="0dip"
     72             android:layout_width="match_parent"
     73             android:layout_weight="1" />
     74     </LinearLayout>
     75 
     76     <FrameLayout
     77         android:id="@+id/calendar_list"
     78         android:layout_alignParentBottom="true"
     79         android:layout_alignParentRight="true"
     80         android:layout_alignTop="@id/mini_month_container"
     81         android:layout_toRightOf="@id/mini_month_container"
     82         android:layout_marginTop="16dip"
     83         android:layout_height="300dip"
     84         android:layout_width="450dip"
     85          />
     86 
     87     <LinearLayout
     88         android:orientation="vertical"
     89         android:layout_above="@id/mini_month_container"
     90         android:layout_below="@id/date_group"
     91         android:layout_width="match_parent"
     92         android:layout_height="match_parent">
     93         <FrameLayout
     94             android:id="@+id/main_pane"
     95             android:layout_weight="2"
     96             android:layout_height="0dip"
     97             android:layout_width="match_parent" />
     98 
     99         <FrameLayout
    100             android:id="@+id/secondary_pane"
    101             android:visibility="gone"
    102             android:layout_weight="1"
    103             android:layout_height="0dip"
    104             android:layout_width="match_parent" />
    105     </LinearLayout>
    106 
    107     <View
    108         android:layout_alignTop="@id/mini_month_container"
    109         android:background="@color/calendar_grid_line_inner_vertical_color"
    110         android:layout_height="1px"
    111         android:layout_width="match_parent" />
    112 
    113 </RelativeLayout>
    114