ScrollView
MediaSessionCompat
colorPrimary
<!-- Your app theme set on your Activity --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="colorPrimary">@color/primary</item> <item name="colorPrimaryDark">@color/primaryDark</item> <item name="alertDialogTheme">@style/AppTheme.Dialog</item> </style>
<!-- Theme for the dialog itself --> <style name="AppTheme.Dialog" parent="Theme.AppCompat.Light.Dialog.Alert"> <item name="colorPrimary">@color/primary</item> <item name="colorPrimaryDark">@color/primaryDark</item> </style>
ListView
GridView
ItemAnimator
recyclerView.getItemAnimator().setSupportsChangeAnimations(false)
ItemAnimator animator = recyclerView.getItemAnimator(); if (animator instanceof SimpleItemAnimator) { ((SimpleItemAnimator) animator).setSupportsChangeAnimations(false); }
backgroundTint
app:actionLayout
アスペクト比のカスタマイズ設定