Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2007 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 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent"
     20     android:background="@color/event_background" >
     21 
     22     <LinearLayout android:id="@+id/import_ics"
     23         android:orientation="vertical"
     24         android:layout_width="match_parent"
     25         android:layout_height="match_parent">
     26 
     27         <TextView android:id="@+id/num_events_label"
     28                   android:text="@string/num_events"
     29                   android:gravity="right|top"
     30                   android:paddingRight="10dip"
     31                   android:layout_width="wrap_content"
     32                   android:layout_height="wrap_content" />
     33 
     34         <TextView android:id="@+id/num_events"
     35                   android:layout_width="match_parent"
     36                   android:layout_height="wrap_content" />
     37 
     38         <LinearLayout android:id="@+id/calendar_row"
     39                       android:orientation="horizontal"
     40                       android:layout_width="wrap_content"
     41                       android:layout_height="wrap_content">
     42 
     43                 <ImageView android:id="@+id/calendar_icon"
     44                     android:layout_marginTop="4dip"
     45                     android:layout_marginRight="10dip"
     46                     android:layout_width="wrap_content"
     47                     android:layout_height="wrap_content"
     48                     android:src="@drawable/sym_calendar_event" />
     49 
     50                 <Spinner android:id="@+id/calendars"
     51                     android:layout_width="wrap_content"
     52                     android:layout_height="wrap_content" />
     53         </LinearLayout>
     54 
     55         <LinearLayout
     56             android:orientation="horizontal"
     57             android:layout_width="match_parent"
     58             android:layout_height="wrap_content"
     59             android:layout_column="1">
     60 
     61             <Button android:id="@+id/import_button"
     62                     android:layout_marginTop="8dip"
     63                     android:layout_width="wrap_content"
     64                     android:layout_height="wrap_content"
     65                     android:text="@string/import_label" />
     66 
     67             <Button android:id="@+id/cancel_button"
     68                     android:layout_marginTop="8dip"
     69                     android:layout_width="wrap_content"
     70                     android:layout_height="wrap_content"
     71                     android:text="@android:string/cancel" />
     72         </LinearLayout>
     73     </LinearLayout>
     74 </ScrollView>
     75