summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2016-11-30 08:53:24 +0100
committerMichael Bestas <mikeioannina@gmail.com>2016-12-23 00:35:02 -0800
commite600930eb8be682be31e0ae3d2f667b2369bee68 (patch)
tree66a38d698b5c9c43e3e9fdb2b25319e5de1a32db /res/layout
parenta62bda4c47b2aeb7992a5eb33a50f09c6d7826bf (diff)
downloadandroid_packages_apps_Snap-e600930eb8be682be31e0ae3d2f667b2369bee68.tar.gz
android_packages_apps_Snap-e600930eb8be682be31e0ae3d2f667b2369bee68.tar.bz2
android_packages_apps_Snap-e600930eb8be682be31e0ae3d2f667b2369bee68.zip
Clean up module switcher.
- Get rid of Holo highlight color - Don't hardcode pixel sizes - Simplify code Change-Id: I3695b04e99308c266537eb9b837d0b65793a33f7
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/switcher_popup_item.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/layout/switcher_popup_item.xml b/res/layout/switcher_popup_item.xml
new file mode 100644
index 000000000..afb83a11a
--- /dev/null
+++ b/res/layout/switcher_popup_item.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 The CyanogenMod 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.
+-->
+<com.android.camera.ui.RotateImageView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="@dimen/switcher_size"
+ android:layout_height="@dimen/switcher_size"
+ android:scaleType="center"
+ android:background="?android:attr/selectableItemBackground" />