Gustav Sennton | eab5368 | 2018-11-01 16:30:23 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | ~ Copyright (C) 2018 The Android Open Source Project |
| 3 | ~ |
| 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | ~ you may not use this file except in compliance with the License. |
| 6 | ~ You may obtain a copy of the License at |
| 7 | ~ |
| 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | ~ |
| 10 | ~ Unless required by applicable law or agreed to in writing, software |
| 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | ~ See the License for the specific language governing permissions and |
| 14 | ~ limitations under the License |
| 15 | --> |
| 16 | |
| 17 | <!-- android:paddingHorizontal is set dynamically in SmartReplyView. --> |
| 18 | <Button xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | style="@android:style/Widget.Material.Button" |
| 20 | android:stateListAnimator="@null" |
| 21 | android:layout_width="wrap_content" |
| 22 | android:layout_height="match_parent" |
| 23 | android:minWidth="0dp" |
| 24 | android:minHeight="@dimen/smart_reply_button_min_height" |
| 25 | android:paddingVertical="@dimen/smart_reply_button_padding_vertical" |
| 26 | android:background="@drawable/smart_reply_button_background" |
| 27 | android:gravity="center" |
| 28 | android:fontFamily="roboto-medium" |
| 29 | android:textSize="@dimen/smart_reply_button_font_size" |
| 30 | android:lineSpacingExtra="@dimen/smart_reply_button_line_spacing_extra" |
| 31 | android:textColor="@color/smart_reply_button_text" |
| 32 | android:drawablePadding="@dimen/smart_action_button_icon_padding" |
| 33 | android:textStyle="normal" |
| 34 | android:ellipsize="none"/> |