Initial work on ActionBar support library
This library contains a compatibility ActionBar implementation and
a number of other resources and helpers for implementing apps that
support multiple versions of the Android platform.
Imported most, if not all, dependent classes and resources for Eclair
implementation.
There's still some work that needs to be done on resources (both
for organization, and getting the build working), as well as getting
Menus working properly.
ICS and JB libraries not implemented yet.
Base framework design by Adam Powell <adamp@google.com>.
Change-Id: I64cc3b5cabcbd638890af51d93e0c4fd62879225
diff --git a/appcompat/res/values/config.xml b/appcompat/res/values/config.xml
new file mode 100644
index 0000000..02859b3
--- /dev/null
+++ b/appcompat/res/values/config.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. -->
+<resources>
+ <!-- Whether action menu items should obey the "withText" showAsAction
+ flag. This may be set to false for situations where space is
+ extremely limited. -->
+ <bool name="config_allowActionMenuItemTextWithIcon">false</bool>
+
+ <!-- The maximum width we would prefer dialogs to be. 0 if there is no
+ maximum (let them grow as large as the screen). Actual values are
+ specified for -large and -xlarge configurations. -->
+ <dimen name="config_prefDialogWidth">320dp</dimen>
+</resources>
\ No newline at end of file