Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  Copyright 2014 The Android Open Source Project
      4 
      5  Licensed under the Apache License, Version 2.0 (the "License");
      6  you may not use this file except in compliance with the License.
      7  You may obtain a copy of the License at
      8 
      9      http://www.apache.org/licenses/LICENSE-2.0
     10 
     11  Unless required by applicable law or agreed to in writing, software
     12  distributed under the License is distributed on an "AS IS" BASIS,
     13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  See the License for the specific language governing permissions and
     15  limitations under the License.
     16 -->
     17 
     18 <ScrollView
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     android:layout_height="match_parent"
     21     android:layout_width="match_parent">
     22 
     23     <LinearLayout android:layout_width="match_parent"
     24                   android:layout_height="match_parent"
     25                   android:orientation="vertical">
     26 
     27         <TextView
     28             android:layout_width="wrap_content"
     29             android:layout_height="wrap_content"
     30             android:text="@string/notification_metadata_description"
     31             />
     32 
     33         <LinearLayout
     34             android:layout_width="fill_parent"
     35             android:layout_height="wrap_content"
     36             android:layout_marginTop="@dimen/margin_medium"
     37             android:orientation="horizontal"
     38             android:paddingLeft="@dimen/margin_tiny"
     39             android:paddingRight="@dimen/margin_tiny"
     40             >
     41 
     42             <TextView
     43                 android:layout_width="70dp"
     44                 android:layout_height="wrap_content"
     45                 android:layout_gravity="center_vertical"
     46                 android:text="@string/label_category"
     47                 />
     48             <Spinner
     49                 android:id="@+id/category_spinner"
     50                 android:layout_width="wrap_content"
     51                 android:layout_height="wrap_content"
     52                 />
     53 
     54         </LinearLayout>
     55 
     56         <LinearLayout
     57             android:layout_width="fill_parent"
     58             android:layout_height="wrap_content"
     59             android:layout_marginTop="@dimen/margin_medium"
     60             android:orientation="horizontal"
     61             android:paddingLeft="@dimen/margin_tiny"
     62             android:paddingRight="@dimen/margin_tiny"
     63             >
     64             <TextView
     65                 android:layout_width="70dp"
     66                 android:layout_height="wrap_content"
     67                 android:layout_gravity="center_vertical"
     68                 android:text="@string/label_priority"
     69                 />
     70             <Spinner
     71                 android:id="@+id/priority_spinner"
     72                 android:layout_width="wrap_content"
     73                 android:layout_height="wrap_content"
     74                 />
     75         </LinearLayout>
     76 
     77         <TextView
     78             android:id="@+id/attach_person"
     79             android:layout_width="wrap_content"
     80             android:layout_height="wrap_content"
     81             android:layout_marginTop="@dimen/margin_medium"
     82             android:clickable="true"
     83             android:text="@string/attach_person"
     84             android:textColor="@color/link_text"
     85             android:paddingLeft="@dimen/margin_tiny"
     86             android:paddingRight="@dimen/margin_tiny"
     87             />
     88 
     89         <include
     90             layout="@layout/contact_entry"
     91             android:id="@+id/contact_entry"
     92             android:layout_marginTop="@dimen/margin_medium"
     93             android:layout_height="wrap_content"
     94             android:layout_width="wrap_content"
     95             android:paddingLeft="@dimen/margin_tiny"
     96             android:paddingRight="@dimen/margin_tiny"
     97             />
     98 
     99         <Button
    100             android:id="@+id/show_notification_button"
    101             android:layout_width="wrap_content"
    102             android:layout_height="wrap_content"
    103             android:layout_marginTop="@dimen/margin_medium"
    104             android:text="@string/show_notification"
    105             />
    106     </LinearLayout>
    107 </ScrollView>