Use new nav button assets.
Change-Id: I5728222ba173eedb67e6fa4c599b39b61c923e23
Before Width: | Height: | Size: 979 B |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_back_default.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 738 B |
After Width: | Height: | Size: 1.6 KiB |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_back_pressed.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 953 B |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_home_default.png
Normal file
After Width: | Height: | Size: 958 B |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_home_pressed.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 633 B |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_ime_pressed.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 301 B |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_menu_default.png
Normal file
After Width: | Height: | Size: 456 B |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_menu_pressed.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 477 B |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_recent_default.png
Normal file
After Width: | Height: | Size: 416 B |
BIN
packages/SystemUI/res/drawable-mdpi/ic_sysbar_recent_pressed.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/status_bar_back_pressed" />
|
||||
<item android:drawable="@drawable/status_bar_back_default" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ic_sysbar_back_pressed" />
|
||||
<item android:drawable="@drawable/ic_sysbar_back_default" />
|
||||
</selector>
|
||||
|
@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/status_bar_home_pressed" />
|
||||
<item android:drawable="@drawable/status_bar_home_default" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ic_sysbar_home_pressed" />
|
||||
<item android:drawable="@drawable/ic_sysbar_home_default" />
|
||||
</selector>
|
||||
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2010 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ic_sysbar_press_bg" />
|
||||
<item android:drawable="@drawable/ic_sysbar_default_bg" />
|
||||
</selector>
|
||||
|
@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/status_bar_menu_pressed" />
|
||||
<item android:drawable="@drawable/status_bar_menu_default" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ic_sysbar_ime_pressed" />
|
||||
<item android:drawable="@drawable/ic_sysbar_ime_default" />
|
||||
</selector>
|
||||
|
4
packages/SystemUI/res/drawable/status_bar_recent.xml → packages/SystemUI/res/drawable/ic_sysbar_menu.xml
Executable file → Normal file
@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/status_bar_recent_pressed" />
|
||||
<item android:drawable="@drawable/status_bar_recent_default" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ic_sysbar_menu_pressed" />
|
||||
<item android:drawable="@drawable/ic_sysbar_menu_default" />
|
||||
</selector>
|
||||
|
21
packages/SystemUI/res/drawable/ic_sysbar_recent.xml
Executable file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2008 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ic_sysbar_recent_pressed" />
|
||||
<item android:drawable="@drawable/ic_sysbar_recent_default" />
|
||||
</selector>
|
||||
|
@ -112,7 +112,6 @@
|
||||
android:paddingLeft="18dip"
|
||||
android:paddingRight="18dip"
|
||||
android:src="@drawable/ic_sysbar_back"
|
||||
android:background="@drawable/ic_sysbar_icon_bg"
|
||||
systemui:keyCode="4"
|
||||
/>
|
||||
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@+id/home"
|
||||
@ -121,14 +120,13 @@
|
||||
android:paddingLeft="18dip"
|
||||
android:paddingRight="18dip"
|
||||
android:src="@drawable/ic_sysbar_home"
|
||||
android:background="@drawable/ic_sysbar_icon_bg"
|
||||
systemui:keyCode="3"
|
||||
/>
|
||||
<ImageButton android:id="@+id/recent_apps"
|
||||
android:layout_width="96dip"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/ic_sysbar_recent"
|
||||
android:background="@drawable/ic_sysbar_icon_bg"
|
||||
android:background="@null"
|
||||
android:paddingLeft="18dip"
|
||||
android:clickable="true"
|
||||
android:paddingRight="18dip"
|
||||
@ -139,7 +137,6 @@
|
||||
android:paddingLeft="18dip"
|
||||
android:paddingRight="18dip"
|
||||
android:src="@drawable/ic_sysbar_menu"
|
||||
android:background="@drawable/ic_sysbar_icon_bg"
|
||||
systemui:keyCode="82"
|
||||
android:visibility="invisible"
|
||||
/>
|
||||
@ -147,7 +144,6 @@
|
||||
android:id="@+id/pocket"
|
||||
android:layout_width="96dip"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/ic_sysbar_icon_bg"
|
||||
android:paddingLeft="18dip"
|
||||
android:paddingRight="18dip"
|
||||
android:animateLayoutChanges="true"
|
||||
@ -169,8 +165,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="8dip"
|
||||
android:src="@drawable/ic_sysbar_ime_default"
|
||||
android:background="@drawable/ic_sysbar_icon_bg"
|
||||
android:src="@drawable/ic_sysbar_ime"
|
||||
android:visibility="invisible"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|