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

Commit bc6be0ac authored by Seigo Nonaka's avatar Seigo Nonaka Committed by android-build-merger
Browse files

Introduce dimension of text edit related floating window.

am: d538e38a

* commit 'd538e38a':
  Introduce dimension of text edit related floating window.
parents a930d685 d538e38a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="0dp"
    android:layout_margin="20dp"
    android:elevation="2dp"
    android:layout_margin="@android:dimen/text_edit_floating_toolbar_margin"
    android:elevation="@android:dimen/text_edit_floating_toolbar_elevation"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:background="?attr/floatingToolbarPopupBackgroundDrawable"/>
+2 −2
Original line number Diff line number Diff line
@@ -22,8 +22,8 @@
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:elevation="2dp"
        android:layout_margin="20dp"
        android:elevation="@android:dimen/text_edit_floating_toolbar_elevation"
        android:layout_margin="@android:dimen/text_edit_floating_toolbar_margin"
        android:background="@drawable/text_edit_suggestions_window"
        android:dropDownSelector="@drawable/list_selector_background"
        android:divider="@null">
+2 −2
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="?android:attr/floatingToolbarPopupBackgroundDrawable"
        android:elevation="2dp"
        android:layout_margin="20dp"
        android:elevation="@android:dimen/text_edit_floating_toolbar_elevation"
        android:layout_margin="@android:dimen/text_edit_floating_toolbar_margin"
        android:orientation="vertical"
        android:divider="?android:attr/listDivider"
        android:showDividers="middle">
+3 −0
Original line number Diff line number Diff line
@@ -82,6 +82,9 @@
    <dimen name="text_size_medium_material">18sp</dimen>
    <dimen name="text_size_small_material">14sp</dimen>

    <dimen name="text_edit_floating_toolbar_elevation">2dp</dimen>
    <dimen name="text_edit_floating_toolbar_margin">20dp</dimen>

    <dimen name="floating_window_z">16dp</dimen>
    <dimen name="floating_window_margin_left">16dp</dimen>
    <dimen name="floating_window_margin_top">8dp</dimen>