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     
     21     <LinearLayout
     22         android:orientation="vertical"
     23         android:layout_width="match_parent"
     24         android:layout_height="wrap_content">
     25     
     26         <TextView
     27             android:layout_width="wrap_content"
     28             android:layout_height="wrap_content"
     29             android:text="@string/status_bar_notifications_icons_only" />
     30             
     31         <LinearLayout
     32             android:orientation="horizontal"
     33             android:layout_width="match_parent"
     34             android:layout_height="wrap_content">
     35         
     36             <Button
     37                 android:id="@+id/happy"
     38                 android:layout_width="wrap_content"
     39                 android:layout_height="wrap_content"
     40                 android:text="@string/status_bar_notifications_happy" />
     41         
     42             <Button
     43                 android:id="@+id/neutral"
     44                 android:layout_width="wrap_content"
     45                 android:layout_height="wrap_content"
     46                 android:text="@string/status_bar_notifications_ok" />
     47                 
     48               <Button
     49                 android:id="@+id/sad"
     50                 android:layout_width="wrap_content"
     51                 android:layout_height="wrap_content"
     52                 android:text="@string/status_bar_notifications_sad" />
     53                 
     54         </LinearLayout>
     55         
     56         <TextView
     57             android:layout_width="wrap_content"
     58             android:layout_height="wrap_content"
     59             android:layout_marginTop="20dip"
     60             android:text="@string/status_bar_notifications_icons_and_marquee" />
     61             
     62         <LinearLayout
     63             android:orientation="horizontal"
     64             android:layout_width="match_parent"
     65             android:layout_height="wrap_content">
     66         
     67             <Button
     68                 android:id="@+id/happyMarquee"
     69                 android:layout_width="wrap_content"
     70                 android:layout_height="wrap_content"
     71                 android:text="@string/status_bar_notifications_happy" />
     72         
     73             <Button
     74                 android:id="@+id/neutralMarquee"
     75                 android:layout_width="wrap_content"
     76                 android:layout_height="wrap_content"
     77                 android:text="@string/status_bar_notifications_ok" />
     78                 
     79               <Button
     80                 android:id="@+id/sadMarquee"
     81                 android:layout_width="wrap_content"
     82                 android:layout_height="wrap_content"
     83                 android:text="@string/status_bar_notifications_sad" />
     84                 
     85         </LinearLayout>
     86         
     87         <TextView
     88             android:layout_width="wrap_content"
     89             android:layout_height="wrap_content"
     90             android:layout_marginTop="20dip"
     91             android:text="@string/status_bar_notifications_remote_views" />
     92             
     93         <LinearLayout
     94             android:orientation="horizontal"
     95             android:layout_width="match_parent"
     96             android:layout_height="wrap_content">
     97         
     98             <Button
     99                 android:id="@+id/happyViews"
    100                 android:layout_width="wrap_content"
    101                 android:layout_height="wrap_content"
    102                 android:text="@string/status_bar_notifications_happy" />
    103         
    104             <Button
    105                 android:id="@+id/neutralViews"
    106                 android:layout_width="wrap_content"
    107                 android:layout_height="wrap_content"
    108                 android:text="@string/status_bar_notifications_ok" />
    109                 
    110               <Button
    111                 android:id="@+id/sadViews"
    112                 android:layout_width="wrap_content"
    113                 android:layout_height="wrap_content"
    114                 android:text="@string/status_bar_notifications_sad" />
    115                 
    116         </LinearLayout>
    117     
    118         <TextView
    119             android:layout_width="wrap_content"
    120             android:layout_height="wrap_content"
    121             android:layout_marginTop="20dip"
    122             android:text="@string/status_bar_notifications_defaults" />
    123 
    124         <LinearLayout
    125             android:orientation="horizontal"
    126             android:layout_width="match_parent"
    127             android:layout_height="wrap_content">
    128         
    129             <Button
    130                 android:id="@+id/defaultSound"
    131                 android:layout_width="wrap_content"
    132                 android:layout_height="wrap_content"
    133                 android:text="@string/status_bar_notifications_default_sound" />
    134         
    135             <Button
    136                 android:id="@+id/defaultVibrate"
    137                 android:layout_width="wrap_content"
    138                 android:layout_height="wrap_content"
    139                 android:text="@string/status_bar_notifications_default_vibrate" />
    140                 
    141               <Button
    142                 android:id="@+id/defaultAll"
    143                 android:layout_width="wrap_content"
    144                 android:layout_height="wrap_content"
    145                 android:text="@string/status_bar_notifications_default_all" />
    146                 
    147         </LinearLayout>
    148     
    149         <Button android:id="@+id/clear"
    150             android:layout_width="wrap_content"
    151             android:layout_height="wrap_content"
    152             android:layout_marginTop="20dip"
    153             android:text="@string/status_bar_notifications_clear" />
    154             
    155     </LinearLayout>
    156 
    157 </ScrollView>
    158