mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-01 06:03:18 +01:00
Add photo media quality selector when sending images.
This commit is contained in:
committed by
Greyson Parrelli
parent
8c9df8d3be
commit
dd934e0095
5
app/src/main/res/drawable/checkable_outline.xml
Normal file
5
app/src/main/res/drawable/checkable_outline.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
|
||||
<corners android:radius="18dp" />
|
||||
<stroke android:color="@color/checkable_stroke_color" android:width="1dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/checkable_outline" android:state_checked="true" />
|
||||
</selector>
|
||||
13
app/src/main/res/drawable/ic_quality_high_32.xml
Normal file
13
app/src/main/res/drawable/ic_quality_high_32.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M14.9,21l3.9,-5l5,6.7H8.2l3.9,-5L14.9,21z"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M27.5,4.5h-23v23h23V4.5zM3,3v26h26V3H3z"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
17
app/src/main/res/drawable/ic_quality_standard_32.xml
Normal file
17
app/src/main/res/drawable/ic_quality_standard_32.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="32dp"
|
||||
android:height="32dp"
|
||||
android:viewportWidth="32"
|
||||
android:viewportHeight="32">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M12.1,21.9l3.2,-4.4l4.2,5.9h-13L9.8,19L12.1,21.9z"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M27.5,4.5H3V3h26v26h-1.5V4.5z"
|
||||
android:fillType="evenOdd"/>
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M21.5,10.5h-17v17h17V10.5zM3,9v20h20V9H3z"
|
||||
android:fillType="evenOdd"/>
|
||||
</vector>
|
||||
4
app/src/main/res/drawable/ic_view_infinite_28.xml
Normal file
4
app/src/main/res/drawable/ic_view_infinite_28.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<vector android:height="28dp" android:viewportHeight="28"
|
||||
android:viewportWidth="28" android:width="28dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M14,1a13,13 0,1 0,9.046 22.3l-0.3,1.232L22.75,26.5h1.5L24.241,21L18.775,21v1.5h1.491l1.858,-0.378A11.587,11.587 0,1 1,24.34 19L26,19A12.994,12.994 0,0 0,14 1ZM13.178,11.565a8.783,8.783 0,0 1,0.836 0.917,5.774 5.774,0 0,1 0.809,-0.917 4.692,4.692 0,0 1,3.345 -1.484,3.71 3.71,0 0,1 0,7.419 4.785,4.785 0,0 1,-3.345 -1.457,7.813 7.813,0 0,1 -0.809,-0.944 12.411,12.411 0,0 1,-0.836 0.944A4.775,4.775 0,0 1,9.859 17.5a3.71,3.71 0,1 1,0 -7.419A4.683,4.683 0,0 1,13.178 11.565ZM9.859,15.965A3.253,3.253 0,0 0,12.1 14.91a8.024,8.024 0,0 0,0.943 -1.133,7.663 7.663,0 0,0 -0.943,-1.106 3.205,3.205 0,0 0,-2.24 -1.052,2.172 2.172,0 1,0 0,4.343ZM18.168,11.622A3.211,3.211 0,0 0,15.9 12.671a9.093,9.093 0,0 0,-0.944 1.106A7.969,7.969 0,0 0,15.9 14.91a3.258,3.258 0,0 0,2.266 1.052,2.172 2.172,0 0,0 0,-4.343Z"/>
|
||||
</vector>
|
||||
4
app/src/main/res/drawable/ic_view_once_28.xml
Normal file
4
app/src/main/res/drawable/ic_view_once_28.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<vector android:height="28dp" android:viewportHeight="28"
|
||||
android:viewportWidth="28" android:width="28dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="#FF000000" android:pathData="M11.165,19L9.627,19L9.627,10.912L9.543,10.912a2.687,2.687 0,0 1,-2.117 0.754v-1.26a2.546,2.546 0,0 0,2.31 -1.562h1.429ZM16.785,14.348 L18.485,11.383L20.1,11.383l-2.376,3.808L20.122,19L18.5,19l-1.716,-2.847L15.074,19L13.447,19l2.37,-3.809 -2.339,-3.808L15.1,11.383ZM14,1a13,13 0,1 0,9.046 22.3l-0.3,1.232L22.75,26.5h1.5L24.241,21L18.775,21v1.5h1.491l1.858,-0.378A11.587,11.587 0,1 1,24.34 19L26,19A12.994,12.994 0,0 0,14 1Z"/>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user