summaryrefslogtreecommitdiff
path: root/packages/SystemUI/res/layout/long_screenshot.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SystemUI/res/layout/long_screenshot.xml')
-rw-r--r--packages/SystemUI/res/layout/long_screenshot.xml25
1 files changed, 12 insertions, 13 deletions
diff --git a/packages/SystemUI/res/layout/long_screenshot.xml b/packages/SystemUI/res/layout/long_screenshot.xml
index 8a3a39f9d72c..04bd7b9077aa 100644
--- a/packages/SystemUI/res/layout/long_screenshot.xml
+++ b/packages/SystemUI/res/layout/long_screenshot.xml
@@ -38,21 +38,20 @@
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@id/preview" />
- <ImageButton
- android:id="@+id/delete"
- style="@android:style/Widget.Material.Button.Borderless"
- android:tint="?android:textColorPrimary"
- android:layout_width="48dp"
- android:layout_height="48dp"
+ <Button
+ android:id="@+id/cancel"
+ style="@android:style/Widget.DeviceDefault.Button.Colored"
+ android:layout_width="wrap_content"
+ android:layout_height="40dp"
+ android:text="@android:string/cancel"
+ android:layout_marginStart="6dp"
android:layout_marginTop="4dp"
- android:padding="12dp"
- android:src="@drawable/ic_screenshot_delete"
- android:scaleType="fitCenter"
- android:contentDescription="@*android:string/delete"
- android:tooltipText="@*android:string/delete"
- app:layout_constraintEnd_toStartOf="@id/share"
+ android:background="@drawable/screenshot_button_background"
+ android:textColor="?android:textColorSecondary"
+ app:layout_constraintStart_toEndOf="@id/save"
app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toTopOf="@id/preview" />
+ app:layout_constraintBottom_toTopOf="@id/preview"
+ />
<ImageButton
android:id="@+id/share"