res/layout/ongoing_call_notification.xml
author Nikita Kozlov <nikita@elyzion.net>
Wed, 06 Jun 2012 23:24:12 +0200
changeset 1005 a2cad81f348b
parent 826 8649e502be0e
permissions -rw-r--r--
fix some bugs + update jingle code in asmack
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
826
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     2
<!-- Copyright (C) 2008 The Android Open Source Project
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     3
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     4
     Licensed under the Apache License, Version 2.0 (the "License");
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     5
     you may not use this file except in compliance with the License.
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     6
     You may obtain a copy of the License at
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     7
  
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     8
          http://www.apache.org/licenses/LICENSE-2.0
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     9
  
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    10
     Unless required by applicable law or agreed to in writing, software
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    11
     distributed under the License is distributed on an "AS IS" BASIS,
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    12
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    13
     See the License for the specific language governing permissions and
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    14
     limitations under the License.
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    15
-->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    16
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    17
<!-- Layout file for the custom "expanded view" used by the ongoing call
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    18
     Notification; see NotificationMgr.updateInCallNotification(). -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    19
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    20
    android:orientation="horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    21
    android:baselineAligned="false"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    22
    android:gravity="center_vertical"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    23
    android:layout_width="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    24
    android:layout_height="65sp"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    25
    android:background="@android:drawable/status_bar_item_background"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    26
    >
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    27
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    28
   <ImageView android:id="@+id/icon"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    29
        android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    30
        android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    31
        android:paddingLeft="4dip"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    32
        android:layout_marginRight="6dip" />
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    33
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    34
   <LinearLayout
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    35
       android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    36
       android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    37
       android:orientation="vertical"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    38
       >
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    39
       <!-- The appearance of these 2 lines of text matches the other
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    40
             kinds of notifications (see status_bar_latest_event.xml).
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    41
             TODO: There should probably be common styles for these, though. -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    42
       <Chronometer android:id="@+id/text1"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    43
           android:textStyle="bold"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    44
           android:textSize="18sp"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    45
           android:textColor="#ff000000"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    46
           android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    47
           android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    48
           android:singleLine="true"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    49
           />
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    50
       <TextView android:id="@+id/text2"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    51
           android:textSize="14sp"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    52
           android:textColor="#ff000000"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    53
           android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    54
           android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    55
           android:singleLine="true"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    56
           android:text="@string/app_name"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    57
           />
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    58
   </LinearLayout>
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    59
</LinearLayout>