Skip to content

add camera screen styles + color filters#2

Open
ve-sdk-android wants to merge 1 commit into
masterfrom
integration/camera_screen
Open

add camera screen styles + color filters#2
ve-sdk-android wants to merge 1 commit into
masterfrom
integration/camera_screen

Conversation

@ve-sdk-android
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

@GlebPBanuba GlebPBanuba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А что за ресурсы C1.png ? это иконки?

@ve-sdk-android
Copy link
Copy Markdown
Owner Author

А что за ресурсы C1.png ? это иконки?

В папке bnb-resources/luts -> квадратные исходники для лутов, в папке drawables -> соответствующие им иконки для редактора

@ve-sdk-android ve-sdk-android force-pushed the integration/camera_screen branch from b8ac545 to 8a60f3b Compare October 23, 2020 09:36
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а зачем мы это здесь переопределяем?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Т.к. переопределяли полностью лейаут алерта, нам нужно переопределить и бэкграунд для кнопок

@@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а эти иконки дала Лена?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

да, это из ее архива, svg конвертированные в vector через андроид студию

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А зачем?

Copy link
Copy Markdown
Owner Author

@ve-sdk-android ve-sdk-android Oct 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В ve-ui модуле лейаут не совсем такой, каким мы его хотим видеть и поэтому переопределяем его. В Демо точно такой же подход. Судя по всему мы реализовывали его по требованиям Яндекса, но не устанавливали его как вариант по умолчанию.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужно заталкать в SDK чтобы не переопределять каждый раз, но мы должны предоставить возможность как переопределять.

@ve-sdk-android ve-sdk-android force-pushed the integration/camera_screen branch from 8a60f3b to 6d9ce5a Compare October 23, 2020 10:53
Copy link
Copy Markdown

@GlebPBanuba GlebPBanuba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Давай оставим луты - черно белый и какой нибудь цветной.

import com.banuba.sdk.cameraui.data.CameraRecordingAnimationProvider
import com.banuba.sdk.core.ui.ext.dimenPx

class CustomRecordingAnimationProvider (context: Context) : CameraRecordingAnimationProvider {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужно подумать как избавиться от этого в интеграции

@@ -0,0 +1,124 @@
package com.banuba.example.integrationapp.videoeditor.custom.widget

import android.animation.ValueAnimator
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужно постараться исключить из интеграции

@@ -0,0 +1,196 @@
package com.banuba.example.integrationapp.videoeditor.custom.widget

import android.animation.AnimatorSet
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужно исключить из интеграции

@@ -0,0 +1,19 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хотелось бы исключить из интеграции

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно ли это исключить из интеграции?

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно ли исключить из интеграции?

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно ли исключить из интеграции?

@ve-sdk-android ve-sdk-android force-pushed the integration/camera_screen branch from 6d9ce5a to 9e29a49 Compare October 23, 2020 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants