android_terminal/res/drawable/close_background.xml
Steven Luo 9c11960500 Add UI for switching and managing terminal sessions.
We expose three different ways to manage terminal sessions:

* Options menu items to open a new window and close the current window.
* A WindowList activity, reachable from the options menu, which lists
  all the open windows and allows opening, closing, and switching of
  windows.  The behavior is patterned after the window list activity in
  the Android browser.
* Gestures to change windows -- swipe right-to-left for the next window,
  left-to-right for the previous window.

The options menu items have been reordered to make what should be the
five most frequently used items (new window, close window, window list,
toggle keyboard, special keys reference) appear in the icon menu so that
the user doesn't have to touch "More" to reach them.

This patch adds several icons.  btn_close_window and ic_menu_windows
come from the Android browser source, while the rest come from the
Android 2.3.3 SDK platform, revision 2 (platforms/android-10/data/res).
2011-08-27 13:33:30 -07:00

21 lines
893 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 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="@android:color/white" />
<item android:drawable="@android:color/transparent"/>
</selector>