diff options
author | Ying Wang <wangying@google.com> | 2014-07-14 17:26:42 -0700 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2014-07-15 15:13:35 -0700 |
commit | 3fbe0d4f45bac74590dd91a98d6c06212eb223b3 (patch) | |
tree | a604dbdd0c788d2ed5df164b4b03ce4e63aed742 /current/support/v7/cardview/res | |
parent | 7003a4310d5c1201e222660960a44ee70f115953 (diff) | |
download | prebuilts_sdk-3fbe0d4f45bac74590dd91a98d6c06212eb223b3.zip prebuilts_sdk-3fbe0d4f45bac74590dd91a98d6c06212eb223b3.tar.gz prebuilts_sdk-3fbe0d4f45bac74590dd91a98d6c06212eb223b3.tar.bz2 |
Drop SDK with support libraries from #1280257 master
Also added script import_currrent_sdk.sh to help update the prerelease
SDK.
Change-Id: I67c709fd02869b73581d6cfa5a9a0e4293ea2890
Conflicts:
current/android.jar
current/uiautomator.jar
Diffstat (limited to 'current/support/v7/cardview/res')
-rw-r--r-- | current/support/v7/cardview/res/values/attrs.xml | 24 | ||||
-rw-r--r-- | current/support/v7/cardview/res/values/colors.xml | 26 | ||||
-rw-r--r-- | current/support/v7/cardview/res/values/dimens.xml | 24 | ||||
-rw-r--r-- | current/support/v7/cardview/res/values/styles.xml | 26 |
4 files changed, 100 insertions, 0 deletions
diff --git a/current/support/v7/cardview/res/values/attrs.xml b/current/support/v7/cardview/res/values/attrs.xml new file mode 100644 index 0000000..2a8373f --- /dev/null +++ b/current/support/v7/cardview/res/values/attrs.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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> + <declare-styleable name="CardView"> + <!-- Background color for CardView. --> + <attr name="cardBackgroundColor" format="color" /> + <!-- Corner radius for CardView. --> + <attr name="cardCornerRadius" format="dimension" /> + </declare-styleable> +</resources>
\ No newline at end of file diff --git a/current/support/v7/cardview/res/values/colors.xml b/current/support/v7/cardview/res/values/colors.xml new file mode 100644 index 0000000..3ed7087 --- /dev/null +++ b/current/support/v7/cardview/res/values/colors.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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> + <!-- Background color for light CardView. --> + <color name="cardview_light_background">#FFFAFAFA</color> + <!-- Background color for dark CardView. --> + <color name="cardview_dark_background">#FF202020</color> + <!-- Shadow color for the first pixels around CardView. --> + <color name="cardview_shadow_start_color">#37000000</color> + <!-- Shadow color for the furthest pixels around CardView. --> + <color name="cardview_shadow_end_color">#03000000</color> +</resources>
\ No newline at end of file diff --git a/current/support/v7/cardview/res/values/dimens.xml b/current/support/v7/cardview/res/values/dimens.xml new file mode 100644 index 0000000..5fbd42a --- /dev/null +++ b/current/support/v7/cardview/res/values/dimens.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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> + <!-- Default radius for CardView corners. --> + <dimen name="cardview_default_radius">2dp</dimen> + <!-- Elevation value to use for CardViews on L+. --> + <dimen name="cardview_elevation">2dp</dimen> + <!-- Shadow size for CardView on pre L. --> + <dimen name="cardview_shadow_size">2dp</dimen> +</resources>
\ No newline at end of file diff --git a/current/support/v7/cardview/res/values/styles.xml b/current/support/v7/cardview/res/values/styles.xml new file mode 100644 index 0000000..f8a7909 --- /dev/null +++ b/current/support/v7/cardview/res/values/styles.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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> + <style name="CardView"> + <item name="cardBackgroundColor">@color/cardview_light_background</item> + </style> + <style name="CardView.Light"> + <item name="cardBackgroundColor">@color/cardview_light_background</item> + </style> + <style name="CardView.Dark"> + <item name="cardBackgroundColor">@color/cardview_dark_background</item> + </style> +</resources>
\ No newline at end of file |