Adjust alignment for suggestion icon.
- add margin to the suggestion icon so that it align properly with the suggestion text. - also align the action button with the suggestion icon and text. Change-Id: Ic12e4160d6583cf2d837e65ee5fd5a1ad73d348d Fixes: 74414989 Test: visual
This commit is contained in:
@@ -86,15 +86,18 @@
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.SuggestionSummary" />
|
||||
|
||||
<Button
|
||||
android:id="@android:id/primary"
|
||||
style="@style/ActionPrimaryButton"
|
||||
android:layout_gravity="center"
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginBottom="18dp"
|
||||
android:text="@string/suggestion_button_text" />
|
||||
style="@style/SuggestionCardButton">
|
||||
<Button
|
||||
android:id="@android:id/primary"
|
||||
style="@style/ActionPrimaryButton"
|
||||
android:layout_gravity="center"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/suggestion_button_text" />
|
||||
</FrameLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user