Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -1978,6 +1978,7 @@ package android { field public static final int TextAppearance_Material_Widget_ActionMode_Title = 16974355; // 0x1030213 field public static final int TextAppearance_Material_Widget_ActionMode_Title_Inverse = 16974356; // 0x1030214 field public static final int TextAppearance_Material_Widget_Button = 16974357; // 0x1030215 field public static final int TextAppearance_Material_Widget_Button_Inverse = 16974565; // 0x10302e5 field public static final int TextAppearance_Material_Widget_DropDownHint = 16974358; // 0x1030216 field public static final int TextAppearance_Material_Widget_DropDownItem = 16974359; // 0x1030217 field public static final int TextAppearance_Material_Widget_EditText = 16974360; // 0x1030218 api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -2057,6 +2057,7 @@ package android { field public static final int TextAppearance_Material_Widget_ActionMode_Title = 16974355; // 0x1030213 field public static final int TextAppearance_Material_Widget_ActionMode_Title_Inverse = 16974356; // 0x1030214 field public static final int TextAppearance_Material_Widget_Button = 16974357; // 0x1030215 field public static final int TextAppearance_Material_Widget_Button_Inverse = 16974565; // 0x10302e5 field public static final int TextAppearance_Material_Widget_DropDownHint = 16974358; // 0x1030216 field public static final int TextAppearance_Material_Widget_DropDownItem = 16974359; // 0x1030217 field public static final int TextAppearance_Material_Widget_EditText = 16974360; // 0x1030218 core/res/res/drawable/btn_colored_material.xml 0 → 100644 +35 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2015 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <inset xmlns:android="http://schemas.android.com/apk/res/android" android:insetLeft="@dimen/button_inset_horizontal_material" android:insetTop="@dimen/button_inset_vertical_material" android:insetRight="@dimen/button_inset_horizontal_material" android:insetBottom="@dimen/button_inset_vertical_material"> <ripple android:color="?attr/colorControlHighlight"> <item> <shape android:shape="rectangle" android:tint="@color/btn_colored_material"> <corners android:radius="@dimen/control_corner_material" /> <solid android:color="@color/white" /> <padding android:left="@dimen/button_padding_horizontal_material" android:top="@dimen/button_padding_vertical_material" android:right="@dimen/button_padding_horizontal_material" android:bottom="@dimen/button_padding_vertical_material" /> </shape> </item> </ripple> </inset> core/res/res/values/public.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2641,6 +2641,7 @@ <public type="style" name="Theme.Material.DayNight.Panel" /> <public type="style" name="Theme.Material.Light.LightStatusBar" /> <public type="style" name="ThemeOverlay.Material.Dialog" /> <public type="style" name="TextAppearance.Material.Widget.Button.Inverse" /> <public type="id" name="pasteAsPlainText" /> <public type="id" name="undo" /> Loading core/res/res/values/styles_material.xml +6 −1 Original line number Diff line number Diff line Loading @@ -289,6 +289,10 @@ please see styles_device_defaults.xml. <style name="TextAppearance.Material.Widget"/> <style name="TextAppearance.Material.Widget.Button" parent="TextAppearance.Material.Button" /> <style name="TextAppearance.Material.Widget.Button.Inverse"> <item name="textColor">?attr/textColorPrimaryInverse</item> </style> <style name="TextAppearance.Material.Widget.EditText"> <item name="textColor">?attr/textColorPrimaryInverse</item> <item name="textColorHint">?attr/textColorHintInverse</item> Loading Loading @@ -461,7 +465,8 @@ please see styles_device_defaults.xml. <!-- Colored bordered ink button --> <style name="Widget.Material.Button.Colored"> <item name="backgroundTint">@color/btn_colored_material</item> <item name="background">@drawable/btn_colored_material</item> <item name="textAppearance">@style/TextAppearance.Material.Widget.Button.Inverse</item> </style> <!-- Small bordered ink button --> Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -1978,6 +1978,7 @@ package android { field public static final int TextAppearance_Material_Widget_ActionMode_Title = 16974355; // 0x1030213 field public static final int TextAppearance_Material_Widget_ActionMode_Title_Inverse = 16974356; // 0x1030214 field public static final int TextAppearance_Material_Widget_Button = 16974357; // 0x1030215 field public static final int TextAppearance_Material_Widget_Button_Inverse = 16974565; // 0x10302e5 field public static final int TextAppearance_Material_Widget_DropDownHint = 16974358; // 0x1030216 field public static final int TextAppearance_Material_Widget_DropDownItem = 16974359; // 0x1030217 field public static final int TextAppearance_Material_Widget_EditText = 16974360; // 0x1030218
api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -2057,6 +2057,7 @@ package android { field public static final int TextAppearance_Material_Widget_ActionMode_Title = 16974355; // 0x1030213 field public static final int TextAppearance_Material_Widget_ActionMode_Title_Inverse = 16974356; // 0x1030214 field public static final int TextAppearance_Material_Widget_Button = 16974357; // 0x1030215 field public static final int TextAppearance_Material_Widget_Button_Inverse = 16974565; // 0x10302e5 field public static final int TextAppearance_Material_Widget_DropDownHint = 16974358; // 0x1030216 field public static final int TextAppearance_Material_Widget_DropDownItem = 16974359; // 0x1030217 field public static final int TextAppearance_Material_Widget_EditText = 16974360; // 0x1030218
core/res/res/drawable/btn_colored_material.xml 0 → 100644 +35 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2015 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <inset xmlns:android="http://schemas.android.com/apk/res/android" android:insetLeft="@dimen/button_inset_horizontal_material" android:insetTop="@dimen/button_inset_vertical_material" android:insetRight="@dimen/button_inset_horizontal_material" android:insetBottom="@dimen/button_inset_vertical_material"> <ripple android:color="?attr/colorControlHighlight"> <item> <shape android:shape="rectangle" android:tint="@color/btn_colored_material"> <corners android:radius="@dimen/control_corner_material" /> <solid android:color="@color/white" /> <padding android:left="@dimen/button_padding_horizontal_material" android:top="@dimen/button_padding_vertical_material" android:right="@dimen/button_padding_horizontal_material" android:bottom="@dimen/button_padding_vertical_material" /> </shape> </item> </ripple> </inset>
core/res/res/values/public.xml +1 −0 Original line number Diff line number Diff line Loading @@ -2641,6 +2641,7 @@ <public type="style" name="Theme.Material.DayNight.Panel" /> <public type="style" name="Theme.Material.Light.LightStatusBar" /> <public type="style" name="ThemeOverlay.Material.Dialog" /> <public type="style" name="TextAppearance.Material.Widget.Button.Inverse" /> <public type="id" name="pasteAsPlainText" /> <public type="id" name="undo" /> Loading
core/res/res/values/styles_material.xml +6 −1 Original line number Diff line number Diff line Loading @@ -289,6 +289,10 @@ please see styles_device_defaults.xml. <style name="TextAppearance.Material.Widget"/> <style name="TextAppearance.Material.Widget.Button" parent="TextAppearance.Material.Button" /> <style name="TextAppearance.Material.Widget.Button.Inverse"> <item name="textColor">?attr/textColorPrimaryInverse</item> </style> <style name="TextAppearance.Material.Widget.EditText"> <item name="textColor">?attr/textColorPrimaryInverse</item> <item name="textColorHint">?attr/textColorHintInverse</item> Loading Loading @@ -461,7 +465,8 @@ please see styles_device_defaults.xml. <!-- Colored bordered ink button --> <style name="Widget.Material.Button.Colored"> <item name="backgroundTint">@color/btn_colored_material</item> <item name="background">@drawable/btn_colored_material</item> <item name="textAppearance">@style/TextAppearance.Material.Widget.Button.Inverse</item> </style> <!-- Small bordered ink button --> Loading