res/layout/incall.xml
author nikita@nikita-laptop
Sun, 24 Jan 2010 04:52:19 +0100
changeset 836 2f2f5e24ac6a
parent 826 8649e502be0e
permissions -rw-r--r--
Voip MAJ
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
<AbsoluteLayout
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     3
android:id="@+id/top_lvl_layout"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     4
android:layout_width="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     5
android:layout_height="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     6
android:background="#000000"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
     7
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
     8
>
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
   <FrameLayout android:id="@+id/mainFrame"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    11
        android:layout_width="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    12
        android:layout_height="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    13
        android:layout_weight="1"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    14
        android:paddingTop="10dip"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    15
        android:paddingLeft="6dip"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    16
        android:paddingRight="6dip"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    17
        >
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    18
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    19
        <!-- (1) inCallPanel: the main set of in-call UI elements -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    20
        <RelativeLayout android:id="@+id/inCallPanel"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    21
                        android:layout_width="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    22
                        android:layout_height="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    23
                        >
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    24
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    25
            <!-- Slide hints: if the "sliding card" feature is enabled,
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    26
                 one or the other of these is visible at any given moment
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    27
                 (see updateCardSlideHints()). -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    28
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    29
            <!-- Slide hint and arrow *above* the main body of the card,
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    30
                 shown when the card is in the *bottom* position. -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    31
            <!-- This hint's position onscreen is static: the Y value is set
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    32
                 so that the hint will be visible just above the top edge of
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    33
                 the CallCard when the CallCard is in the "bottom" position.
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    34
                 The resources here describe the portrait mode layout; see
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    35
                 InCallScreen.ConfigurationHelper.applyConfigurationToLayout()
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    36
                 for the differences in landscape mode. -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    37
            <LinearLayout android:id="@+id/slideUp"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    38
                          android:orientation="vertical"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    39
                          android:layout_width="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    40
                          android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    41
                          android:layout_alignParentBottom="true"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    42
                          android:background="@null"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    43
                          android:visibility="gone"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    44
                          >
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    45
                <TextView android:id="@+id/slideUpHint"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    46
                          android:layout_gravity="center_horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    47
                          android:gravity="center_horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    48
                          android:textAppearance="?android:attr/textAppearanceMedium"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    49
                          android:textColor="?android:attr/textColorSecondary"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    50
                          android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    51
                          android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    52
                          />
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    53
                <ImageView
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    54
                    android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    55
                    android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    56
                    android:layout_gravity="center_horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    57
                    android:src="@android:drawable/arrow_up_float"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    58
                    />
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    59
            </LinearLayout>
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    60
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    61
            <!-- Slide hint and arrow *below* the main body of the card,
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    62
                 shown when the card is in the *top* position. -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    63
            <!-- This hint's position onscreen is static: the Y value is set
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    64
                 so that the hint will be visible just below the bottom edge of
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    65
                 the CallCard when the CallCard is in the "top" position.
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    66
                 The resources here describe the portrait mode layout; see
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    67
                 InCallScreen.ConfigurationHelper.applyConfigurationToLayout()
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    68
                 for the differences in landscape mode. -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    69
            <LinearLayout android:id="@+id/slideDown"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    70
                          android:orientation="vertical"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    71
                          android:layout_width="fill_parent"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    72
                          android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    73
                          android:layout_alignParentTop="true"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    74
                           android:background="@null"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    75
                          android:visibility="gone"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    76
                          >
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    77
                <ImageView
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    78
                    android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    79
                    android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    80
                    android:layout_gravity="center_horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    81
                    android:src="@android:drawable/arrow_down_float"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    82
                    />
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    83
                <TextView
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    84
                    android:id="@+id/slideDownHint"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    85
                    android:layout_gravity="center_horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    86
                    android:gravity="center_horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    87
                    android:textAppearance="?android:attr/textAppearanceMedium"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    88
                    android:textColor="?android:attr/textColorSecondary"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    89
                    android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    90
                    android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    91
                    />                
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    92
                <TextView
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    93
                    android:id="@+id/stats"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    94
                    android:layout_gravity="center_horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    95
                    android:gravity="center_horizontal"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    96
                    android:textAppearance="?android:attr/textAppearanceMedium"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    97
                    android:textColor="?android:attr/textColorSecondary"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    98
                    android:layout_width="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
    99
                    android:layout_height="wrap_content"
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
   100
                    />
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
   101
            </LinearLayout>
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
   102
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
   103
        </RelativeLayout>  <!-- End of inCallPanel -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
   104
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
   105
    </FrameLayout>  <!-- End of mainFrame -->
8649e502be0e first audio commit, beginning of the ui
Nikita Kozlov <nikita@beem-project.com>
parents:
diff changeset
   106
</AbsoluteLayout>