Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* apps/common/assets/default/default/skins/StatusBar.xml |
| 4 | ** |
| 5 | ** Copyright 2011, The Android Open Source Project |
| 6 | ** |
| 7 | ** Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | ** you may not use this file except in compliance with the License. |
| 9 | ** You may obtain a copy of the License at |
| 10 | ** |
| 11 | ** http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | ** |
| 13 | ** Unless required by applicable law or agreed to in writing, software |
| 14 | ** distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | ** See the License for the specific language governing permissions and |
| 17 | ** limitations under the License. |
| 18 | */ |
| 19 | --> |
| 20 | |
| 21 | <com.android.systemui.statusbar.phone.NavigationBarView |
| 22 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 23 | xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui" |
| 24 | android:layout_height="match_parent" |
| 25 | android:layout_width="match_parent" |
| 26 | > |
| 27 | |
Daniel Sandler | 1d4d30a | 2011-04-28 12:35:29 -0400 | [diff] [blame] | 28 | <FrameLayout |
| 29 | android:id="@+id/background" |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 30 | android:layout_height="match_parent" |
| 31 | android:layout_width="match_parent" |
| 32 | android:background="#FF000000" |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 33 | > |
| 34 | |
Daniel Sandler | 1d4d30a | 2011-04-28 12:35:29 -0400 | [diff] [blame] | 35 | <LinearLayout android:id="@+id/rot0" |
| 36 | android:layout_height="match_parent" |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 37 | android:layout_width="match_parent" |
Daniel Sandler | 1d4d30a | 2011-04-28 12:35:29 -0400 | [diff] [blame] | 38 | android:paddingLeft="8dip" |
| 39 | android:paddingRight="8dip" |
| 40 | android:orientation="horizontal" |
| 41 | > |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 42 | |
Daniel Sandler | 1d4d30a | 2011-04-28 12:35:29 -0400 | [diff] [blame] | 43 | <!-- navigation controls --> |
| 44 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/back" |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="match_parent" |
| 47 | android:src="@drawable/ic_sysbar_back" |
| 48 | systemui:keyCode="4" |
| 49 | android:layout_weight="1" |
| 50 | /> |
| 51 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/home" |
| 52 | android:layout_width="wrap_content" |
| 53 | android:layout_height="match_parent" |
| 54 | android:src="@drawable/ic_sysbar_home" |
| 55 | systemui:keyCode="3" |
| 56 | android:layout_weight="1" |
| 57 | /> |
| 58 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/menu" |
| 59 | android:layout_width="wrap_content" |
| 60 | android:layout_height="match_parent" |
| 61 | android:src="@drawable/ic_sysbar_menu" |
| 62 | systemui:keyCode="82" |
| 63 | android:layout_weight="1" |
| 64 | /> |
| 65 | </LinearLayout> |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 66 | |
Daniel Sandler | 1d4d30a | 2011-04-28 12:35:29 -0400 | [diff] [blame] | 67 | <LinearLayout android:id="@+id/rot90" |
| 68 | android:layout_height="match_parent" |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 69 | android:layout_width="match_parent" |
Daniel Sandler | 1d4d30a | 2011-04-28 12:35:29 -0400 | [diff] [blame] | 70 | android:orientation="vertical" |
| 71 | android:visibility="gone" |
| 72 | > |
| 73 | |
| 74 | <!-- navigation controls --> |
| 75 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/menu" |
| 76 | android:layout_width="match_parent" |
| 77 | android:layout_height="wrap_content" |
| 78 | android:src="@drawable/ic_sysbar_menu" |
| 79 | systemui:keyCode="82" |
| 80 | android:layout_weight="1" |
| 81 | /> |
| 82 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/home" |
| 83 | android:layout_width="match_parent" |
| 84 | android:layout_height="wrap_content" |
| 85 | android:src="@drawable/ic_sysbar_home" |
| 86 | systemui:keyCode="3" |
| 87 | android:layout_weight="1" |
| 88 | /> |
| 89 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/back" |
| 90 | android:layout_width="match_parent" |
| 91 | android:layout_height="wrap_content" |
| 92 | android:src="@drawable/ic_sysbar_back" |
| 93 | systemui:keyCode="4" |
| 94 | android:layout_weight="1" |
| 95 | /> |
| 96 | </LinearLayout> |
| 97 | |
| 98 | <LinearLayout android:id="@+id/rot270" |
| 99 | android:layout_height="match_parent" |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 100 | android:layout_width="match_parent" |
Daniel Sandler | 1d4d30a | 2011-04-28 12:35:29 -0400 | [diff] [blame] | 101 | android:orientation="vertical" |
| 102 | android:visibility="gone" |
| 103 | > |
| 104 | |
| 105 | <!-- navigation controls --> |
| 106 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/back" |
| 107 | android:layout_width="match_parent" |
| 108 | android:layout_height="wrap_content" |
| 109 | android:src="@drawable/ic_sysbar_back" |
| 110 | systemui:keyCode="4" |
| 111 | android:layout_weight="1" |
| 112 | /> |
| 113 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/home" |
| 114 | android:layout_width="match_parent" |
| 115 | android:layout_height="wrap_content" |
| 116 | android:src="@drawable/ic_sysbar_home" |
| 117 | systemui:keyCode="3" |
| 118 | android:layout_weight="1" |
| 119 | /> |
| 120 | <com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/menu" |
| 121 | android:layout_width="match_parent" |
| 122 | android:layout_height="wrap_content" |
| 123 | android:src="@drawable/ic_sysbar_menu" |
| 124 | systemui:keyCode="82" |
| 125 | android:layout_weight="1" |
| 126 | /> |
| 127 | </LinearLayout> |
| 128 | |
| 129 | </FrameLayout> |
Daniel Sandler | 8956dbb | 2011-04-22 07:55:02 -0400 | [diff] [blame] | 130 | </com.android.systemui.statusbar.phone.NavigationBarView> |