diff options
author | ztenghui <ztenghui@google.com> | 2014-07-23 16:30:23 -0700 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2014-07-25 15:16:52 -0700 |
commit | 2626dc3ece4319c81987bc440564d71c0eca9ff0 (patch) | |
tree | e6f0cefb67e19d2cf57b820c457dcd0f6ffbaa39 | |
parent | 152f5c9059b5864347647691ab79dd25dc847398 (diff) | |
download | android_frameworks_opt_setupwizard-2626dc3ece4319c81987bc440564d71c0eca9ff0.tar.gz android_frameworks_opt_setupwizard-2626dc3ece4319c81987bc440564d71c0eca9ff0.tar.bz2 android_frameworks_opt_setupwizard-2626dc3ece4319c81987bc440564d71c0eca9ff0.zip |
API REVIEW: VectorDrawable
- Merge <size> and <viewport> attributes all in to top-level <vector> tag
- Updata android:stroke to be android:strokeColor, likewise android:fill
- Instead of android:clipToPath, make this a different clip-path tag.
bug:16488254
Change-Id: I01b1fc053777f5b1ca9b2d8f3d81d1229e686570
4 files changed, 20 insertions, 20 deletions
diff --git a/navigationbar/res/drawable-ldrtl/setup_wizard_navbar_ic_back.xml b/navigationbar/res/drawable-ldrtl/setup_wizard_navbar_ic_back.xml index b0d243a..d21c8b3 100644 --- a/navigationbar/res/drawable-ldrtl/setup_wizard_navbar_ic_back.xml +++ b/navigationbar/res/drawable-ldrtl/setup_wizard_navbar_ic_back.xml @@ -14,13 +14,13 @@ 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 android:width="24dp" android:height="24dp" /> - <viewport android:viewportWidth="24" android:viewportHeight="24" /> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" android:height="24dp" + android:viewportWidth="24" android:viewportHeight="24" > <path - android:fill="@android:color/transparent" + android:fillColor="@android:color/transparent" android:pathData="M9,6 L15,12 L9,18" - android:stroke="?attr/setup_wizard_navbar_text_color" + android:strokeColor="?attr/setup_wizard_navbar_text_color" android:strokeWidth="2.5" android:strokeLineCap="square" /> diff --git a/navigationbar/res/drawable-ldrtl/setup_wizard_navbar_ic_next.xml b/navigationbar/res/drawable-ldrtl/setup_wizard_navbar_ic_next.xml index 335ef8c..373fadf 100644 --- a/navigationbar/res/drawable-ldrtl/setup_wizard_navbar_ic_next.xml +++ b/navigationbar/res/drawable-ldrtl/setup_wizard_navbar_ic_next.xml @@ -14,13 +14,13 @@ 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 android:width="24dp" android:height="24dp" /> - <viewport android:viewportWidth="24" android:viewportHeight="24" /> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" android:height="24dp" + android:viewportWidth="24" android:viewportHeight="24" > <path - android:fill="@android:color/transparent" + android:fillColor="@android:color/transparent" android:pathData="M15,6 L9,12 L15,18" - android:stroke="?attr/setup_wizard_navbar_text_color" + android:strokeColor="?attr/setup_wizard_navbar_text_color" android:strokeWidth="3" android:strokeLineCap="square" /> diff --git a/navigationbar/res/drawable/setup_wizard_navbar_ic_back.xml b/navigationbar/res/drawable/setup_wizard_navbar_ic_back.xml index a759853..e3e0ef9 100644 --- a/navigationbar/res/drawable/setup_wizard_navbar_ic_back.xml +++ b/navigationbar/res/drawable/setup_wizard_navbar_ic_back.xml @@ -14,13 +14,13 @@ 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 android:width="24dp" android:height="24dp" /> - <viewport android:viewportWidth="24" android:viewportHeight="24" /> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" android:height="24dp" + android:viewportWidth="24" android:viewportHeight="24" > <path - android:fill="@android:color/transparent" + android:fillColor="@android:color/transparent" android:pathData="M15,6 L9,12 L15,18" - android:stroke="?attr/setup_wizard_navbar_text_color" + android:strokeColor="?attr/setup_wizard_navbar_text_color" android:strokeWidth="2.5" android:strokeLineCap="square" /> diff --git a/navigationbar/res/drawable/setup_wizard_navbar_ic_next.xml b/navigationbar/res/drawable/setup_wizard_navbar_ic_next.xml index 4c0c6e4..0350279 100644 --- a/navigationbar/res/drawable/setup_wizard_navbar_ic_next.xml +++ b/navigationbar/res/drawable/setup_wizard_navbar_ic_next.xml @@ -14,13 +14,13 @@ 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 android:width="24dp" android:height="24dp" /> - <viewport android:viewportWidth="24" android:viewportHeight="24" /> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" android:height="24dp" + android:viewportWidth="24" android:viewportHeight="24" > <path - android:fill="@android:color/transparent" + android:fillColor="@android:color/transparent" android:pathData="M9,6 L15,12 L9,18" - android:stroke="?attr/setup_wizard_navbar_text_color" + android:strokeColor="?attr/setup_wizard_navbar_text_color" android:strokeWidth="3" android:strokeLineCap="square" /> |