Commit graph

1236 commits

Author SHA1 Message Date
Benoit Marty
7a1c6b78d4 Move the style to the layout, for code clarity. Style are not reused, and it's better to have layout attr in the layout itself 2021-07-09 17:49:27 +02:00
Benoit Marty
558cd6f376 Cleanup 2021-07-09 17:18:56 +02:00
Onuray Sahin
7a1b138894 Merge branch 'develop' into feature/ons/voice_message
* develop: (286 commits)
  Fix crash after video call
  Fix issue on button styles
  Clean after benoits review
  Fix warning about implicit type, introduced in Kotlin 1.5.20. "Returning type parameter has been inferred to Nothing implicitly. Please specify type arguments explicitly to hide this warning. Nothing can produce an exception at runtime."
  Bump kotlin_version from 1.5.10 to 1.5.20
  Bump libphonenumber from 8.12.25 to 8.12.26
  Fix call invite processed after call is ended because of fastlane mode.
  Jump to unread: removes unnecessary check which can cause scroll issue
  Jump to unread: avoid blink when jumping
  Clean after Benoits review
  Delete unused drawable to avoid conflict on develop
  Jump to unread: add towncrier file.
  Read marker: fix some issues with jump to unread visibility.
  Stop using ProgressDialog, there is a theme issue with it. It's not maintain by Google since it's deprecated. Force usage of MaterialAlertDialogBuilder to have the same UI effect. We sometimes need to block the UI :/
  Reordering
  Add text style for dialogs
  Colored dialog button is now handled by the theme
  Update theme for material dialog and create a destructive variant
  Reorder buttons
  Update doc
  ...

# Conflicts:
#	library/ui-styles/src/main/res/values/theme_dark.xml
#	library/ui-styles/src/main/res/values/theme_light.xml
#	vector/build.gradle
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerView.kt
#	vector/src/main/res/values/strings.xml
2021-07-06 13:17:49 +03:00
ganfra
cdf97fc29f Merge branch 'develop' into feature/fga/new_voip_design 2021-07-05 18:02:19 +02:00
dependabot[bot]
9ff1e20f07
Bump material from 1.3.0 to 1.4.0
Bumps [material](https://github.com/material-components/material-components-android) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/material-components/material-components-android/releases)
- [Commits](https://github.com/material-components/material-components-android/compare/1.3.0...1.4.0)

---
updated-dependencies:
- dependency-name: com.google.android.material:material
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-02 23:07:53 +00:00
ganfra
f74a71001a Change active call bar + some minor changes in call screen 2021-07-01 20:05:58 +02:00
Benoit Marty
bca220f909 Fix issue on button styles 2021-06-28 17:02:06 +02:00
Benoit Marty
edd24de4c3
Merge pull request #3547 from vector-im/feature/fga/jump_to_unread_redesign
Jump to unread: implement new design
2021-06-28 16:45:06 +02:00
Benoit Marty
cd0c9b4e08
Merge pull request #3549 from vector-im/feature/bma/cleanup_styles
Fix styles issue
2021-06-25 19:11:54 +02:00
ganfra
1ba97fa9be Clean after Benoits review 2021-06-24 17:40:45 +02:00
Benoit Marty
885f5736c9 Stop using ProgressDialog, there is a theme issue with it.
It's not maintain by Google since it's deprecated. Force usage of MaterialAlertDialogBuilder to have the same UI effect. We sometimes need to block the UI :/
2021-06-23 16:46:15 +02:00
Benoit Marty
43cad8751d Reordering 2021-06-23 16:12:38 +02:00
Benoit Marty
9ac0f6d86b Add text style for dialogs 2021-06-23 15:38:01 +02:00
Benoit Marty
11b16ea065 Colored dialog button is now handled by the theme 2021-06-23 14:50:34 +02:00
Benoit Marty
67bdb75d80 Update theme for material dialog and create a destructive variant 2021-06-23 13:19:14 +02:00
ganfra
121fd9a19d Jump to unread: implement new design 2021-06-22 16:29:19 +02:00
Benoit Marty
ed97cf7dac Create dimens for text sizes 2021-06-22 14:39:24 +02:00
Benoit Marty
6289d640b4 Reveal password: use facility from com.google.android.material.textfield.TextInputLayout instead of manual handling
Also avoid repeating password on the change password dialog.
2021-06-22 11:31:45 +02:00
Benoit Marty
4ce71c8487 Create a style for password edit 2021-06-18 21:52:53 +02:00
Benoit Marty
9f101423e2 Add some TextViews 2021-06-18 15:08:51 +02:00
Benoit Marty
a619b0141a Rename file 2021-06-18 15:02:18 +02:00
Benoit Marty
1ffe57ce94 Change vctr_header_background alias from vctr_content_quinary to vctr_system 2021-06-18 13:27:21 +02:00
Benoit Marty
9f96974e67 Rename some theme to follow naming convention 2021-06-18 10:25:37 +02:00
Benoit Marty
1a898f0404 Rename themes follow Android conventions 2021-06-16 12:34:14 +02:00
Benoit Marty
ece9d19d8c Rename again the style to follow Android convention (G's review) 2021-06-16 11:59:08 +02:00
Benoit Marty
d7884fe4d2 Add doc and fix a small mistake on style 2021-06-16 10:40:22 +02:00
Benoit Marty
5e9b4e77bf Rename a last time some style: M -> Medium 2021-06-16 09:02:03 +02:00
Benoit Marty
858bbfd8d2 Rename style to follow naming conventions
And move some files to the module
2021-06-15 21:37:27 +02:00
Benoit Marty
0590acd31a Fix crash on default theme 2021-06-15 20:23:37 +02:00
Benoit Marty
a67f8ca4dc Add some missing style. Default is not workong (?) 2021-06-15 19:00:07 +02:00
Benoit Marty
06cbbbe1e8 Fix errors 2021-06-15 18:40:58 +02:00
Benoit Marty
b3a547cd87 Move and rename some files 2021-06-15 18:36:09 +02:00
Benoit Marty
9c9d0a5d21 Add dep on ui_style to attachment viewer 2021-06-15 18:22:26 +02:00
Benoit Marty
bbbe76b91c Move test style Activity and layout to the new ui-style module 2021-06-15 18:17:36 +02:00
Benoit Marty
000b524b34 Move style and theme to the dedicated module 2021-06-15 12:39:39 +02:00
Benoit Marty
f5f09224b1 Create module for ui-styles 2021-06-15 12:23:54 +02:00