summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2012-04-18 21:49:14 +0200
committerPaulK <contact@paulk.fr>2012-04-18 21:49:14 +0200
commit02afeb233f38e83a58414ff0dc326d4a8ea5d6ed (patch)
tree9a4d86531b424722c468fb5d9061adef60ae5422
parent9a336979c235913fd785e06762ce79ed8dc4da72 (diff)
downloaddevice_goldelico_gta04-02afeb233f38e83a58414ff0dc326d4a8ea5d6ed.tar.gz
device_goldelico_gta04-02afeb233f38e83a58414ff0dc326d4a8ea5d6ed.tar.bz2
device_goldelico_gta04-02afeb233f38e83a58414ff0dc326d4a8ea5d6ed.zip
Enabled software buttons with overlay files
-rw-r--r--gta04.mk2
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml29
2 files changed, 30 insertions, 1 deletions
diff --git a/gta04.mk b/gta04.mk
index fcea74c..645072c 100644
--- a/gta04.mk
+++ b/gta04.mk
@@ -33,4 +33,4 @@ PRODUCT_TAGS += dalvik.gc.type-precise
PRODUCT_LOCALES := hdpi
# Overlay
-#DEVICE_PACKAGE_OVERLAYS := device/goldelico/gta04/overlay
+DEVICE_PACKAGE_OVERLAYS := device/goldelico/gta04/overlay
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..5aedbaa
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2012, Paul Kocialkowski <contact@paulk.fr>
+**
+** 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.
+*/
+-->
+
+<resources>
+ <bool name="cm_default_has_soft_buttons">true</bool>
+ <bool name="cm_default_soft_buttons_left">true</bool>
+
+ <bool name="cm_default_show_soft_home">true</bool>
+ <bool name="cm_default_show_soft_menu">true</bool>
+ <bool name="cm_default_show_soft_back">true</bool>
+ <bool name="cm_default_show_soft_search">true</bool>
+ <bool name="cm_default_show_soft_quick_na">false</bool>
+</resources>