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

Commit 75b334c6 authored by Miranda Kephart's avatar Miranda Kephart
Browse files

Animate in share/edit buttons immediately.

Bug: 159931141
Test: manual

Change-Id: Ib903e6046c17fb96cd2e918fb2851ea84fd46d2b
parent fad96cd6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -28,6 +28,6 @@
    android:visibility="gone"
    android:background="@drawable/screenshot_rounded_corners"
    android:adjustViewBounds="true"
    android:contentDescription="@string/screenshot_preview_description"
    android:contentDescription="@string/screenshot_edit"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintStart_toStartOf="parent"/>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
    android:id="@+id/global_screenshot_action_chip"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginEnd="@dimen/screenshot_action_chip_margin_right"
    android:layout_marginStart="@dimen/screenshot_action_chip_margin_start"
    android:paddingVertical="@dimen/screenshot_action_chip_margin_vertical"
    android:layout_gravity="center"
    android:gravity="center"
+1 −1
Original line number Diff line number Diff line
@@ -28,6 +28,6 @@
    android:visibility="gone"
    android:background="@drawable/screenshot_rounded_corners"
    android:adjustViewBounds="true"
    android:contentDescription="@string/screenshot_preview_description"
    android:contentDescription="@string/screenshot_edit"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintStart_toStartOf="parent"/>
 No newline at end of file
+6 −1
Original line number Diff line number Diff line
@@ -51,7 +51,12 @@
        <LinearLayout
            android:id="@+id/global_screenshot_actions"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"/>
            android:layout_height="wrap_content">
            <include layout="@layout/global_screenshot_action_chip"
                     android:id="@+id/screenshot_share_chip"/>
            <include layout="@layout/global_screenshot_action_chip"
                     android:id="@+id/screenshot_edit_chip"/>
        </LinearLayout>
    </HorizontalScrollView>
    <include layout="@layout/global_screenshot_preview"/>
</androidx.constraintlayout.widget.ConstraintLayout>
+1 −1
Original line number Diff line number Diff line
@@ -323,7 +323,7 @@
    <dimen name="screenshot_action_container_padding_right">8dp</dimen>
    <!-- Radius of the chip background on global screenshot actions -->
    <dimen name="screenshot_button_corner_radius">20dp</dimen>
    <dimen name="screenshot_action_chip_margin_right">8dp</dimen>
    <dimen name="screenshot_action_chip_margin_start">8dp</dimen>
    <dimen name="screenshot_action_chip_margin_vertical">10dp</dimen>
    <dimen name="screenshot_action_chip_padding_vertical">7dp</dimen>
    <dimen name="screenshot_action_chip_icon_size">18dp</dimen>
Loading