Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ec2ad16 authored by Ben Murdoch's avatar Ben Murdoch
Browse files

Update Material Theme tooltip styles.

Bug: 349994588
Test: Manually verify on device
Flag: EXEMPT resources only

Change-Id: I6e04d4df9fb51c4300074aa1a190772be29d06ef
parent 71724c7f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,5 +17,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
       android:shape="rectangle">
    <solid android:color="?attr/tooltipBackgroundColor" />
    <corners android:radius="@dimen/tooltip_corner_radius" />
    <corners android:radius="?attr/tooltipCornerRadius" />
</shape>
+4 −4
Original line number Diff line number Diff line
@@ -27,10 +27,10 @@
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/tooltip_margin"
        android:paddingStart="@dimen/tooltip_horizontal_padding"
        android:paddingEnd="@dimen/tooltip_horizontal_padding"
        android:paddingTop="@dimen/tooltip_vertical_padding"
        android:paddingBottom="@dimen/tooltip_vertical_padding"
        android:paddingStart="?attr/tooltipHorizontalPadding"
        android:paddingEnd="?attr/tooltipHorizontalPadding"
        android:paddingTop="?attr/tooltipVerticalPadding"
        android:paddingBottom="?attr/tooltipVerticalPadding"
        android:maxWidth="256dp"
        android:background="?android:attr/tooltipFrameBackground"
        android:textAppearance="@style/TextAppearance.Tooltip"
+5 −0
Original line number Diff line number Diff line
@@ -1078,6 +1078,11 @@
        <!-- Background color to use for tooltip popups. -->
        <attr name="tooltipBackgroundColor" format="reference|color" />
        <attr name="tooltipCornerRadius" format="dimension" />
        <attr name="tooltipHorizontalPadding" format="dimension" />
        <attr name="tooltipVerticalPadding" format="dimension" />
        <attr name="tooltipFontSize" format="dimension" />
        <!-- Theme to use for Search Dialogs. -->
        <attr name="searchDialogTheme" format="reference" />
+1 −0
Original line number Diff line number Diff line
@@ -771,6 +771,7 @@
    <dimen name="tooltip_precise_anchor_threshold">96dp</dimen>
    <!-- Extra tooltip offset used when anchoring to the mouse/touch position -->
    <dimen name="tooltip_precise_anchor_extra_offset">8dp</dimen>
    <dimen name="tooltip_font_size">14sp</dimen>

    <!-- The max amount of scroll ItemTouchHelper will trigger if dragged view is out of
         RecyclerView's bounds.-->
+5 −0
Original line number Diff line number Diff line
@@ -204,4 +204,9 @@
    <dimen name="progress_bar_size_small">16dip</dimen>
    <dimen name="progress_bar_size_medium">48dp</dimen>
    <dimen name="progress_bar_size_large">76dp</dimen>

    <dimen name="tooltip_corner_radius_material">4dp</dimen>
    <dimen name="tooltip_horizontal_padding_material">8dp</dimen>
    <dimen name="tooltip_vertical_padding_material">4dp</dimen>
    <dimen name="tooltip_font_size_material">12sp</dimen>
</resources>
Loading