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
This commit is contained in:
parent
152f5c9059
commit
2626dc3ece
|
@ -14,13 +14,13 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android">
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
<size android:width="24dp" android:height="24dp" />
|
android:width="24dp" android:height="24dp"
|
||||||
<viewport android:viewportWidth="24" android:viewportHeight="24" />
|
android:viewportWidth="24" android:viewportHeight="24" >
|
||||||
<path
|
<path
|
||||||
android:fill="@android:color/transparent"
|
android:fillColor="@android:color/transparent"
|
||||||
android:pathData="M9,6 L15,12 L9,18"
|
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:strokeWidth="2.5"
|
||||||
android:strokeLineCap="square"
|
android:strokeLineCap="square"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android">
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
<size android:width="24dp" android:height="24dp" />
|
android:width="24dp" android:height="24dp"
|
||||||
<viewport android:viewportWidth="24" android:viewportHeight="24" />
|
android:viewportWidth="24" android:viewportHeight="24" >
|
||||||
<path
|
<path
|
||||||
android:fill="@android:color/transparent"
|
android:fillColor="@android:color/transparent"
|
||||||
android:pathData="M15,6 L9,12 L15,18"
|
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:strokeWidth="3"
|
||||||
android:strokeLineCap="square"
|
android:strokeLineCap="square"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android">
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
<size android:width="24dp" android:height="24dp" />
|
android:width="24dp" android:height="24dp"
|
||||||
<viewport android:viewportWidth="24" android:viewportHeight="24" />
|
android:viewportWidth="24" android:viewportHeight="24" >
|
||||||
<path
|
<path
|
||||||
android:fill="@android:color/transparent"
|
android:fillColor="@android:color/transparent"
|
||||||
android:pathData="M15,6 L9,12 L15,18"
|
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:strokeWidth="2.5"
|
||||||
android:strokeLineCap="square"
|
android:strokeLineCap="square"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -14,13 +14,13 @@
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<vector xmlns:android="http://schemas.android.com/apk/res/android">
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
<size android:width="24dp" android:height="24dp" />
|
android:width="24dp" android:height="24dp"
|
||||||
<viewport android:viewportWidth="24" android:viewportHeight="24" />
|
android:viewportWidth="24" android:viewportHeight="24" >
|
||||||
<path
|
<path
|
||||||
android:fill="@android:color/transparent"
|
android:fillColor="@android:color/transparent"
|
||||||
android:pathData="M9,6 L15,12 L9,18"
|
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:strokeWidth="3"
|
||||||
android:strokeLineCap="square"
|
android:strokeLineCap="square"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue