Add stroke width property used by animated vector drawables
This is for example used in displaying a checked radio button. Test: Modified widget render test to include a checked radio button Change-Id: I43074ce038f69f28c0cf5fb396d393722b02b142
This commit is contained in:
@@ -571,6 +571,8 @@ public class VectorDrawable_Delegate {
|
||||
@NonNull
|
||||
public Consumer<Float> getFloatPropertySetter(int propertyIdx) {
|
||||
switch (propertyIdx) {
|
||||
case STROKE_WIDTH_INDEX:
|
||||
return this::setStrokeWidth;
|
||||
case STROKE_ALPHA_INDEX:
|
||||
return this::setStrokeAlpha;
|
||||
case FILL_ALPHA_INDEX:
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
@@ -263,7 +263,8 @@
|
||||
android:id="@id/radioButton2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="New RadioButton" />
|
||||
android:text="New RadioButton"
|
||||
android:checked="true" />
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user