diff options
author | jruesga <jorge@ruesga.com> | 2012-10-06 12:23:03 +0200 |
---|---|---|
committer | jruesga <jorge@ruesga.com> | 2012-10-06 12:23:03 +0200 |
commit | 0b1564bd02bd5a60d6ee1e353a43ade4a602d3d8 (patch) | |
tree | 69f984763a51be5814b60c28c3add77e8b829b20 /res/drawable | |
parent | 746b7910c21888cb0e4e9e33965073b40107d26d (diff) | |
download | android_packages_apps_CMFileManager-0b1564bd02bd5a60d6ee1e353a43ade4a602d3d8.tar.gz android_packages_apps_CMFileManager-0b1564bd02bd5a60d6ee1e353a43ade4a602d3d8.tar.bz2 android_packages_apps_CMFileManager-0b1564bd02bd5a60d6ee1e353a43ade4a602d3d8.zip |
Open and Open with actions
Implementation of Open and Open with actions. This create a custom
dialog that allow show all registered application even when only one
application exists or has a preferred application.
This change requires a platform signature to allow use
addPreferredActivity or removePreferredActivity.
For this is not working. Need be tested and checked inside CM.
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/holo_selection.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/res/drawable/holo_selection.xml b/res/drawable/holo_selection.xml new file mode 100644 index 00000000..2be8ac50 --- /dev/null +++ b/res/drawable/holo_selection.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ** Copyright (C) 2012 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. +--> +<selector xmlns:android="http://schemas.android.com/apk/res/android" android:exitFadeDuration="@android:integer/config_shortAnimTime"> + + <item + android:drawable="@android:color/holo_blue_dark" + android:state_pressed="true"/> + <item + android:drawable="@android:color/holo_blue_light" + android:state_enabled="true" + android:state_focused="true"/> + <item + android:drawable="@android:color/holo_blue_light" + android:state_enabled="true" + android:state_checked="true"/> + <item + android:drawable="@android:color/holo_blue_light" + android:state_enabled="true" + android:state_selected="true"/> + <item + android:drawable="@android:color/transparent"/> + +</selector>
\ No newline at end of file |