diff options
author | nebkat <nebkat@gmail.com> | 2011-12-25 13:16:01 +0000 |
---|---|---|
committer | nebkat <nebkat@teamhacksung.org> | 2012-12-27 10:22:30 +0000 |
commit | 6fa3dd5f0f99c0c945180a64744115b9ca61285a (patch) | |
tree | 55e9afdaebe39332d4cee7ab688a652b557ff34c /res/layout | |
parent | 32fdce8214caa36a21c7f00664a0a10740139232 (diff) | |
download | packages_apps_trebuchet-6fa3dd5f0f99c0c945180a64744115b9ca61285a.zip packages_apps_trebuchet-6fa3dd5f0f99c0c945180a64744115b9ca61285a.tar.gz packages_apps_trebuchet-6fa3dd5f0f99c0c945180a64744115b9ca61285a.tar.bz2 |
Launcher: Software Menu Button
Change-Id: Ief9a0bce26b557f10c341c79cd4c9a96d591f9cb
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/apps_customize_pane.xml | 6 | ||||
-rw-r--r-- | res/layout/overflow_menu_button.xml | 32 |
2 files changed, 38 insertions, 0 deletions
diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml index 19d343e..bee51d7 100644 --- a/res/layout/apps_customize_pane.xml +++ b/res/layout/apps_customize_pane.xml @@ -41,6 +41,12 @@ android:tabStripEnabled="false" android:divider="@null" /> <include + android:id="@+id/overflow_menu_button" + layout="@layout/overflow_menu_button" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_gravity="right" /> + <include android:id="@+id/market_button" layout="@layout/market_button" android:layout_width="wrap_content" diff --git a/res/layout/overflow_menu_button.xml b/res/layout/overflow_menu_button.xml new file mode 100644 index 0000000..9438cc6 --- /dev/null +++ b/res/layout/overflow_menu_button.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> +<TextView + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:launcher="http://schemas.android.com/apk/res/com.cyanogenmod.trebuchet" + style="@style/MarketButton" + android:onClick="onClickOverflowMenuButton" + android:drawableLeft="@drawable/ic_menu_overflow" + android:gravity="center" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:background="@drawable/tab_widget_indicator_selector" + android:contentDescription="@string/menu" + android:shadowColor="@color/workspace_all_apps_and_delete_zone_text_shadow_color" + android:shadowDx="0.0" + android:shadowDy="0.0" + android:shadowRadius="2.0" + android:focusable="true" + android:clickable="true" /> |