diff options
author | Nicholas Chum <nicholaschum@gmail.com> | 2015-11-29 23:12:41 -0800 |
---|---|---|
committer | Nicholas Chum <nicholaschum@gmail.com> | 2015-11-29 23:21:16 -0800 |
commit | 45bdbf773e69fc6e93436e93e519d4c4f909ff86 (patch) | |
tree | 6a5615cffd5cbd8fb0d445d6409ff1f68849e2c4 /res | |
parent | 2d864fb88d5dd324a4834ea7c472569c8331f5cb (diff) | |
download | android_packages_apps_PackageInstaller-45bdbf773e69fc6e93436e93e519d4c4f909ff86.tar.gz android_packages_apps_PackageInstaller-45bdbf773e69fc6e93436e93e519d4c4f909ff86.tar.bz2 android_packages_apps_PackageInstaller-45bdbf773e69fc6e93436e93e519d4c4f909ff86.zip |
Themes: Allow PackageInstaller tab Background to be themed
This removes the hardcoded link in install_confirm.xml to
an android drawable. Let's move this link to drawables.xml
so that we can change it, or replace it entirely.
Change-Id: I96f12a72fea3d907f589d255d0bd4c38c5e00725
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/install_confirm.xml | 2 | ||||
-rwxr-xr-x | res/values/drawables.xml | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/res/layout/install_confirm.xml b/res/layout/install_confirm.xml index 86ea1652..26f3bedd 100644 --- a/res/layout/install_confirm.xml +++ b/res/layout/install_confirm.xml @@ -66,7 +66,7 @@ <HorizontalScrollView android:id="@+id/tabscontainer" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@*android:drawable/tab_unselected_holo" + android:background="@drawable/tab_container_bg" android:fillViewport="true" android:scrollbars="none"> <FrameLayout android:layout_width="match_parent" diff --git a/res/values/drawables.xml b/res/values/drawables.xml new file mode 100755 index 00000000..070b036a --- /dev/null +++ b/res/values/drawables.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2008 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> + <item type="drawable" name="tab_container_bg">@*android:drawable/tab_unselected_holo</item> +</resources> |