summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Greiss <kufikugel@googlemail.com>2013-08-22 01:58:39 +0200
committerLorDClockaN <davor@losinj.com>2014-01-14 20:56:24 +0100
commitc6b066ebb5672669888b313f9fbf8a90309e7123 (patch)
tree23b06ffd6fc08c1f181dd2f6a9bcc15c552db895
parentee817344492d7ca692e2130e9cff1aedc1bd2ebb (diff)
make background themeable and add TRDS
Change-Id: I8954ab6c80145c5d293f31ee12b2a24fd2cde1cb
-rw-r--r--res/layout/timezonepickerview.xml4
-rw-r--r--res/values-holodark/colors.xml19
-rw-r--r--res/values/colors.xml19
3 files changed, 40 insertions, 2 deletions
diff --git a/res/layout/timezonepickerview.xml b/res/layout/timezonepickerview.xml
index a41d279..110a8d4 100644
--- a/res/layout/timezonepickerview.xml
+++ b/res/layout/timezonepickerview.xml
@@ -62,7 +62,7 @@
android:id="@+id/timezonelist"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="#FFECECEC"
+ android:background="@color/listview_background"
android:choiceMode="singleChoice" >
</ListView>
-</LinearLayout> \ No newline at end of file
+</LinearLayout>
diff --git a/res/values-holodark/colors.xml b/res/values-holodark/colors.xml
new file mode 100644
index 0000000..f3653bf
--- /dev/null
+++ b/res/values-holodark/colors.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013 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.
+-->
+<resources>
+ <color name="listview_background">#ff000000</color>
+</resources>
diff --git a/res/values/colors.xml b/res/values/colors.xml
new file mode 100644
index 0000000..4fb04c5
--- /dev/null
+++ b/res/values/colors.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013 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.
+-->
+<resources>
+ <color name="listview_background">#FFECECEC</color>
+</resources>