From a84a69f2eb3e3ddb11aa01670d9aeda1cdba4068 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Fri, 8 Oct 2010 10:39:46 -0400 Subject: [PATCH] Start of input method control on system bar. This change creates a new icon to the right of the notification area for the IMM to expose control over the current IME. Currently it shows the IME subtype picker. TODO: Connect directly to the IMMService to show the correct icon (and hide the icon entirely when the input panel is not visible). Bug: 2975425 Change-Id: If07f30867b81950a0a86b00807a41e2ff2af389c --- .../drawable-mdpi/ic_sysbar_ime_default.png | Bin 0 -> 384 bytes .../SystemUI/res/layout-xlarge/status_bar.xml | 12 ++++- .../statusbar/tablet/InputMethodButton.java | 51 ++++++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 packages/SystemUI/res/drawable-mdpi/ic_sysbar_ime_default.png create mode 100644 packages/SystemUI/src/com/android/systemui/statusbar/tablet/InputMethodButton.java diff --git a/packages/SystemUI/res/drawable-mdpi/ic_sysbar_ime_default.png b/packages/SystemUI/res/drawable-mdpi/ic_sysbar_ime_default.png new file mode 100644 index 0000000000000000000000000000000000000000..bf33c9466440dfef47bb1e10af9c712d043e8693 GIT binary patch literal 384 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1|-9oezpTC&H|6fVg?3oArNM~bhqvg0|TRx zr;B4q2J74D2YH(fcw9Y0^Y)gv`W+GJIV|FHMYQUCub0WX6wNM{e|gL@KPCzkKDu%4 zw`1%3VHA3UBbt zd%51Un7MlL`EJ*u>V8-I^TqSkSKj4UPubilxmY5Ygg~bI%Uozja*sx`~TOJYff0w_CICe(dl*fWbVa3 zIyifQ&W3HdS_E?Vo%w9s{7UDZ;Tzc1aHR2&fKx9|^!P_ZuVwOTFz QfI-UO>FVdQ&MBb@0OO#dYybcN literal 0 HcmV?d00001 diff --git a/packages/SystemUI/res/layout-xlarge/status_bar.xml b/packages/SystemUI/res/layout-xlarge/status_bar.xml index 6aee011274bd2..494dfa88b727b 100644 --- a/packages/SystemUI/res/layout-xlarge/status_bar.xml +++ b/packages/SystemUI/res/layout-xlarge/status_bar.xml @@ -28,11 +28,11 @@ > @@ -100,8 +100,18 @@ android:background="@drawable/sysbar_hidenotification_handle" android:layout_marginLeft="8dip" /> + +