-
Notifications
You must be signed in to change notification settings - Fork 1
add camera screen styles + color filters #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
GlebPBanuba
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А что за ресурсы C1.png ? это иконки?
В папке bnb-resources/luts -> квадратные исходники для лутов, в папке drawables -> соответствующие им иконки для редактора |
b8ac545 to
8a60f3b
Compare
| @@ -0,0 +1,6 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
| <shape xmlns:android="http://schemas.android.com/apk/res/android" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а зачем мы это здесь переопределяем?
There was a problem hiding this comment.
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" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а эти иконки дала Лена?
There was a problem hiding this comment.
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" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А зачем?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В ve-ui модуле лейаут не совсем такой, каким мы его хотим видеть и поэтому переопределяем его. В Демо точно такой же подход. Судя по всему мы реализовывали его по требованиям Яндекса, но не устанавливали его как вариант по умолчанию.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нужно заталкать в SDK чтобы не переопределять каждый раз, но мы должны предоставить возможность как переопределять.
8a60f3b to
6d9ce5a
Compare
GlebPBanuba
left a comment
There was a problem hiding this 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 { |
There was a problem hiding this comment.
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 | |||
There was a problem hiding this comment.
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 | |||
There was a problem hiding this comment.
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" | |||
There was a problem hiding this comment.
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"?> | |||
There was a problem hiding this comment.
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"?> | |||
There was a problem hiding this comment.
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"?> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Можно ли исключить из интеграции?
6d9ce5a to
9e29a49
Compare
No description provided.