回答編集履歴
1
説明追加
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
|
18
18
|
|
19
|
-
これはButtonのz位置指定が反映されていないことによるものです。API21以降ではButtonの `android:stateListAnimator` 属性にz位置を変更する[animatorリソース](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/anim/button_state_list_anim_material.xml)が指定されているので、 elevationやtranslationZを指定しても上書きされてしまって反映されません。
|
19
|
+
これは実行時にButtonのz位置指定が反映されていないことによるものです。API21以降ではButtonの `android:stateListAnimator` 属性にz位置を変更する[animatorリソース](https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/anim/button_state_list_anim_material.xml)が指定されているので、 elevationやtranslationZを指定しても上書きされてしまって反映されません。
|
20
20
|
|
21
21
|
|
22
22
|
|