diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2012-08-25 21:00:25 +0200 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2012-08-25 21:00:25 +0200 |
commit | 3deb777d70fc5649d69f088e4dee75281d443395 (patch) | |
tree | eabcb4af3c009a3b472eaa69cfcdc8d7f9572c41 /res/drawable | |
parent | 4ee6170036f75940e1712783bae92781216aad07 (diff) | |
download | android_packages_apps_CMFileManager-3deb777d70fc5649d69f088e4dee75281d443395.tar.gz android_packages_apps_CMFileManager-3deb777d70fc5649d69f088e4dee75281d443395.tar.bz2 android_packages_apps_CMFileManager-3deb777d70fc5649d69f088e4dee75281d443395.zip |
Initial commit
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/checkable_selector.xml | 25 | ||||
-rw-r--r-- | res/drawable/fso_type_compress.xml | 22 | ||||
-rw-r--r-- | res/drawable/fso_type_pdf.xml | 22 | ||||
-rw-r--r-- | res/drawable/fso_type_text.xml | 22 | ||||
-rw-r--r-- | res/drawable/holo_list_selector_deseleted.xml | 32 | ||||
-rw-r--r-- | res/drawable/holo_list_selector_selected.xml | 32 | ||||
-rw-r--r-- | res/drawable/holo_selector.xml | 29 | ||||
-rw-r--r-- | res/drawable/holo_selector_nofocusable.xml | 25 | ||||
-rw-r--r-- | res/drawable/relevance.xml | 18 | ||||
-rw-r--r-- | res/drawable/tab_text_selector.xml | 31 |
10 files changed, 258 insertions, 0 deletions
diff --git a/res/drawable/checkable_selector.xml b/res/drawable/checkable_selector.xml new file mode 100644 index 00000000..93814c58 --- /dev/null +++ b/res/drawable/checkable_selector.xml @@ -0,0 +1,25 @@ +<?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"> + + <item + android:drawable="@drawable/btn_holo_light_check_on_normal_inverted" + android:state_selected="true"/> + <item + android:drawable="@drawable/btn_holo_light_check_off_normal"/> + +</selector>
\ No newline at end of file diff --git a/res/drawable/fso_type_compress.xml b/res/drawable/fso_type_compress.xml new file mode 100644 index 00000000..701906f8 --- /dev/null +++ b/res/drawable/fso_type_compress.xml @@ -0,0 +1,22 @@ +<?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.
+--> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:drawable="@drawable/ic_fso_default"/> + <item android:drawable="@drawable/ic_fso_type_compress"/> + +</layer-list>
\ No newline at end of file diff --git a/res/drawable/fso_type_pdf.xml b/res/drawable/fso_type_pdf.xml new file mode 100644 index 00000000..76ac88b7 --- /dev/null +++ b/res/drawable/fso_type_pdf.xml @@ -0,0 +1,22 @@ +<?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.
+--> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:drawable="@drawable/ic_fso_default"/> + <item android:drawable="@drawable/ic_fso_type_pdf"/> + +</layer-list>
\ No newline at end of file diff --git a/res/drawable/fso_type_text.xml b/res/drawable/fso_type_text.xml new file mode 100644 index 00000000..4f28b152 --- /dev/null +++ b/res/drawable/fso_type_text.xml @@ -0,0 +1,22 @@ +<?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.
+--> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:drawable="@drawable/ic_fso_default"/> + <item android:drawable="@drawable/ic_fso_type_text"/> + +</layer-list>
\ No newline at end of file diff --git a/res/drawable/holo_list_selector_deseleted.xml b/res/drawable/holo_list_selector_deseleted.xml new file mode 100644 index 00000000..f4c10147 --- /dev/null +++ b/res/drawable/holo_list_selector_deseleted.xml @@ -0,0 +1,32 @@ +<?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="@color/blue_transparent" + android:state_selected="true"/> + <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="@color/default_background"/> + +</selector>
\ No newline at end of file diff --git a/res/drawable/holo_list_selector_selected.xml b/res/drawable/holo_list_selector_selected.xml new file mode 100644 index 00000000..f5b7cda2 --- /dev/null +++ b/res/drawable/holo_list_selector_selected.xml @@ -0,0 +1,32 @@ +<?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="@color/blue_transparent" + android:state_selected="true"/> + <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="@color/blue_transparent"/> + +</selector>
\ No newline at end of file diff --git a/res/drawable/holo_selector.xml b/res/drawable/holo_selector.xml new file mode 100644 index 00000000..38575cf9 --- /dev/null +++ b/res/drawable/holo_selector.xml @@ -0,0 +1,29 @@ +<?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_dark" + android:state_enabled="true" + android:state_focused="true"/> + <item + android:drawable="@android:color/transparent"/> + +</selector>
\ No newline at end of file diff --git a/res/drawable/holo_selector_nofocusable.xml b/res/drawable/holo_selector_nofocusable.xml new file mode 100644 index 00000000..e5ea90e4 --- /dev/null +++ b/res/drawable/holo_selector_nofocusable.xml @@ -0,0 +1,25 @@ +<?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/transparent"/> + +</selector>
\ No newline at end of file diff --git a/res/drawable/relevance.xml b/res/drawable/relevance.xml new file mode 100644 index 00000000..6e8838dd --- /dev/null +++ b/res/drawable/relevance.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle" > + + <gradient + android:angle="45" + android:endColor="#80FF00FF" + android:startColor="#FFFF0000" /> + + <padding + android:bottom="7dp" + android:left="7dp" + android:right="7dp" + android:top="7dp" /> + + <corners android:radius="8dp" /> + +</shape>
\ No newline at end of file diff --git a/res/drawable/tab_text_selector.xml b/res/drawable/tab_text_selector.xml new file mode 100644 index 00000000..955612a2 --- /dev/null +++ b/res/drawable/tab_text_selector.xml @@ -0,0 +1,31 @@ +<?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. +--> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + + <item + android:state_enabled="false" + android:color="#808080"/> + <item + android:state_window_focused="false" + android:color="#808080"/> + <item + android:state_pressed="true" + android:color="#808080"/> + <item + android:color="#808080"/> + +</selector>
\ No newline at end of file |