summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/drawable/ic_lock_24dp.xml
diff options
context:
space:
mode:
authorztenghui <ztenghui@google.com>2014-07-23 09:47:50 -0700
committerTenghui Zhu <ztenghui@google.com>2014-07-25 23:26:41 +0000
commita95c8abb366d9c39450513335f550b56da13b30a (patch)
tree93bd8f429df7d0b8aa1aa7d22d4a60f60e36944b /packages/SystemUI/res/drawable/ic_lock_24dp.xml
parent9e8ade2eb7ee835963473c9cf6faaf5423b0b048 (diff)
downloadframeworks_base-a95c8abb366d9c39450513335f550b56da13b30a.tar.gz
frameworks_base-a95c8abb366d9c39450513335f550b56da13b30a.tar.bz2
frameworks_base-a95c8abb366d9c39450513335f550b56da13b30a.zip
API REVIEW: VectorDrawable
- Merge <size> and <viewport> attributes all in to top-level <vector> tag - Indent attributes under <group> in java doc. - Updata android:stroke to be android:strokeColor, likewise android:fill - Instead of android:clipToPath, make this a different clip-path tag. - Document units of the various attributes - Add example code for defining a VectorDrawable resource More than that: = Refactor the code to better support clipPath as a sub-class. = Update all the xml files to use the new attributes and clip-path tag. TODO: -- Remove clipToPath, since that should happen on build break Friday. bug:16488254 Change-Id: I6db5680ef83cb26c8f064a60fc7d6e7142974b0f
Diffstat (limited to 'packages/SystemUI/res/drawable/ic_lock_24dp.xml')
-rw-r--r--packages/SystemUI/res/drawable/ic_lock_24dp.xml11
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/SystemUI/res/drawable/ic_lock_24dp.xml b/packages/SystemUI/res/drawable/ic_lock_24dp.xml
index b2e486c0adf..204af7e81f4 100644
--- a/packages/SystemUI/res/drawable/ic_lock_24dp.xml
+++ b/packages/SystemUI/res/drawable/ic_lock_24dp.xml
@@ -13,16 +13,13 @@ Copyright (C) 2014 The Android Open Source Project
See the License for the specific language governing permissions and
limitations under the License.
-->
-<vector xmlns:android="http://schemas.android.com/apk/res/android" >
- <size
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24.0dp"
- android:height="24.0dp"/>
-
- <viewport
+ android:height="24.0dp"
android:viewportWidth="24.0"
- android:viewportHeight="24.0"/>
+ android:viewportHeight="24.0">
<path
- android:fill="@color/keyguard_affordance"
+ android:fillColor="@color/keyguard_affordance"
android:pathData="M18.0,8.0l-1.0,0.0L17.0,6.0c0.0,-2.8 -2.2,-5.0 -5.0,-5.0C9.2,1.0 7.0,3.2 7.0,6.0l0.0,2.0L6.0,8.0c-1.1,0.0 -2.0,0.9 -2.0,2.0l0.0,10.0c0.0,1.1 0.9,2.0 2.0,2.0l12.0,0.0c1.1,0.0 2.0,-0.9 2.0,-2.0L20.0,10.0C20.0,8.9 19.1,8.0 18.0,8.0zM12.0,17.0c-1.1,0.0 -2.0,-0.9 -2.0,-2.0s0.9,-2.0 2.0,-2.0c1.1,0.0 2.0,0.9 2.0,2.0S13.1,17.0 12.0,17.0zM15.1,8.0L8.9,8.0L8.9,6.0c0.0,-1.7 1.4,-3.1 3.1,-3.1c1.7,0.0 3.1,1.4 3.1,3.1L15.1,8.0z"/>
</vector>