9
0
mirror of https://gitee.com/shuto/customCamera.git synced 2026-05-02 00:07:24 +08:00

Mise en place des images correctes pour le bouton de capture

This commit is contained in:
Thomas BOY
2015-01-14 15:20:23 +01:00
parent 716e9d0ef9
commit 75c8e4e8b7
26 changed files with 3 additions and 266 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ var updateConfig = function() {
var contentResAndroidPlugin = fs.readdirSync(pathResAndroidPlugin);
for (var i = contentResAndroidPlugin.length - 1; i >= 0; i--) {
var nameDirDrawable = contentResAndroidPlugin[i];
if (nameDirDrawable.match(/^drawable-.*$/) || nameDirDrawable.match(/^values-?.*$/)) {
if (nameDirDrawable.match(/^drawable-?.*$/) || nameDirDrawable.match(/^values-?.*$/)) {
var contentDrawableDir = fs.readdirSync(pathResAndroidPlugin+nameDirDrawable);
for (var j = contentDrawableDir.length - 1; j >= 0; j--) {
var nameFileInDrawable = contentDrawableDir[j];
Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<stroke android:width="35dp" android:color="@android:color/transparent" />
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#80ffd300"
android:centerColor="#80ffb600"
android:centerY="0.75"
android:endColor="#a0ffcb00"
android:angle="270" />
</shape>
</clip>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#ffffd300"
android:centerColor="#ffffb600"
android:centerY="0.75"
android:endColor="#ffffcb00"
android:angle="270" />
</shape>
</clip>
</item>
</layer-list>
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<stroke android:width="35dp" android:color="@android:color/transparent" />
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#ffffffff"
android:centerColor="#ffdddddd"
android:centerY="0.50"
android:endColor="#ffffffff"
android:angle="270" />
</shape>
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#FBFCFA"
android:endColor="#FBFCFA"
android:angle="90" />
</shape>
</clip>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#777777"
android:endColor="#777777"
android:angle="90" />
</shape>
</clip>
</item>
</layer-list>
@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval" >
<gradient
android:angle="270"
android:endColor="#e26760"
android:startColor="#e26760"
/>
<size
android:height="40dp"
android:width="40dp" />
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#ffffffff"
android:centerColor="#ffdddddd"
android:centerY="0.50"
android:endColor="#ffffffff"
android:angle="270" />
</shape>
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#FBFCFA"
android:endColor="#FBFCFA"
android:angle="90" />
</shape>
</clip>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#777777"
android:endColor="#777777"
android:angle="90" />
</shape>
</clip>
</item>
</layer-list>
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<stroke android:width="35dp" android:color="@android:color/transparent" />
</shape>
@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval" >
<gradient
android:angle="270"
android:endColor="#e26760"
android:startColor="#e26760"
/>
<size
android:height="40dp"
android:width="40dp" />
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#ffffffff"
android:centerColor="#ffdddddd"
android:centerY="0.50"
android:endColor="#ffffffff"
android:angle="270" />
</shape>
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#FBFCFA"
android:endColor="#FBFCFA"
android:angle="90" />
</shape>
</clip>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#777777"
android:endColor="#777777"
android:angle="90" />
</shape>
</clip>
</item>
</layer-list>
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<stroke android:width="35dp" android:color="@android:color/transparent" />
</shape>
@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval" >
<gradient
android:angle="270"
android:endColor="#e26760"
android:startColor="#e26760"
/>
<size
android:height="40dp"
android:width="40dp" />
</shape>
Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#ffffffff"
android:centerColor="#ffdddddd"
android:centerY="0.50"
android:endColor="#ffffffff"
android:angle="270" />
</shape>
</item>
<item android:id="@android:id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#FBFCFA"
android:endColor="#FBFCFA"
android:angle="90" />
</shape>
</clip>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="5dip" />
<gradient
android:startColor="#777777"
android:endColor="#777777"
android:angle="90" />
</shape>
</clip>
</item>
</layer-list>
@@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<stroke android:width="35dp" android:color="@android:color/transparent" />
</shape>
@@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval" >
<gradient
android:angle="270"
android:endColor="#e26760"
android:startColor="#e26760"
/>
<size
android:height="40dp"
android:width="40dp" />
</shape>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<stroke android:width="35dp" android:color="@android:color/transparent" />
<stroke android:width="21dp" android:color="@android:color/transparent" />
</shape>
@@ -44,7 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/round_button"
android:src="@drawable/capture2" />
android:src="@drawable/capture" />
<org.geneanet.customcamera.VerticalSeekBar
android:id="@+id/switchOpacity"