Commit graph

191 commits

Author SHA1 Message Date
Sebastian Kaspari
d667d30a54 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: DisplayToolbar: Do not control visibility based on empty icon set. 2019-10-22 11:48:06 -04:00
Sebastian Kaspari
20cc75a53b [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: Show keyboard if edit toolbar is getting focused. 2019-10-22 11:48:06 -04:00
Sebastian Kaspari
38a16d3211 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: BrowserToolbar: Fix long click handler. 2019-10-22 11:48:06 -04:00
Sebastian Kaspari
9620c851f7 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: BrowserToolbar: Make edit icon visible after setting drawable. 2019-10-22 11:48:06 -04:00
Sebastian Kaspari
a022377e32 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: Add changelog entry for toolbar changes. 2019-10-22 11:48:06 -04:00
Sebastian Kaspari
11c1e9cbdf [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: Update unit tests. 2019-10-22 11:47:36 -04:00
Sebastian Kaspari
95febb2731 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1514: Refactor BrowserToolbar to use ConstraintLayout for display and edit toolbars. 2019-10-22 11:47:36 -04:00
Arturo Mejia
b64e1891d0 [components] Closes https://github.com/mozilla-mobile/android-components/issues/4469: Add API for supporting WebExtension browserActions 2019-10-11 17:01:52 +02:00
MozLando
61abf386f9 [components] Merge https://github.com/mozilla-mobile/android-components/pull/4641
4641: For https://github.com/mozilla-mobile/android-components/issues/4639 Change menu button ripple to circular (unbounded) r=pocmo a=mcarare



Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-08 14:17:47 +00:00
MozLando
5aafc4d612 [components] Merge https://github.com/mozilla-mobile/android-components/pull/4643
4643: Import strings from android-l10n r=Amejia481 a=Pike

State: mozilla-l10n/android-l10n@31e0afdeb4


Co-authored-by: Axel Hecht <axel@pike.org>
2019-10-04 13:27:14 +00:00
Axel Hecht
d5db967495 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@31e0afdeb4
2019-10-04 14:48:16 +02:00
mcarare
fc80a3de3f [components] For https://github.com/mozilla-mobile/android-components/issues/4639 Change menu button ripple to circular (unbounded) 2019-10-04 13:43:48 +03:00
Petru Lingurar
c823a08ab7 [components] For https://github.com/mozilla-mobile/android-components/issues/4588 - Add test to check for dismissal of current menu 2019-10-01 18:16:51 +03:00
Petru Lingurar
d895142582 [components] Fix https://github.com/mozilla-mobile/android-components/issues/4588 - Check if menu is open before showing a new one
Added a simple check for if the menu is showing depending on which we will know
to either dismiss it or construct and show a new one.
2019-10-01 18:04:19 +03:00
Axel Hecht
efdb9a7841 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@10559d774c
2019-09-30 11:21:45 +02:00
Tiger Oakes
08dc3db810 [components] Uplift Theme.resolveAttribute from Fenix 2019-09-26 07:40:39 -07:00
Axel Hecht
600937dc4a [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@97355ffcdc
2019-09-25 13:58:27 +02:00
Sawyer Blatz
2d4c0aebdd [components] For https://github.com/mozilla-mobile/android-components/issues/4517: Updates visibility of fact items 2019-09-24 09:55:35 -07:00
Arturo Mejia
7e3e162da4 [components] Closes https://github.com/mozilla-mobile/android-components/issues/4490: Resized icons on the toolbar. 2019-09-23 14:26:29 -04:00
Arturo Mejia
5e0851bd1a [components] Closes https://github.com/mozilla-mobile/android-components/issues/4391: Adapt the color of the tracking protection icon
on custom tabs.
2019-09-19 15:36:27 -04:00
Roger Yang
78bce578b8 [components] Closes https://github.com/mozilla-mobile/android-components/issues/4425 Remove Padding When Both URL and Title is Visible In BrowserToolBar 2019-09-17 22:50:08 -04:00
Axel Hecht
1b48aa9e31 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@e78d5868c7
2019-09-13 14:42:51 +02:00
Roger Yang
a7d93def9e [components] Closes https://github.com/mozilla-mobile/android-components/issues/3213: Add Extension Function for Toolbar TextViews to Adjust Font Size to Available Height 2019-09-13 14:14:47 +02:00
Roger Yang
43ee44ecec [components] Closes https://github.com/mozilla-mobile/android-components/issues/4311: Remove Top and Bottom Padding Causing Issues with Text Alignment and Clipping 2019-09-04 10:41:46 -04:00
Axel Hecht
3b16d2b983 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@6d2fe8331a
2019-09-04 13:43:40 +02:00
Arturo Mejia
a1929b5315 [components] Closes https://github.com/mozilla-mobile/android-components/issues/4250: Update the tracking protection icon content description
XML IDS.
2019-08-28 15:25:21 -04:00
Sawyer Blatz
53f4f0144f [components] No issue: Updates HighlightableMenuItem to allow startImage 2019-08-27 19:30:26 -04:00
Axel Hecht
46c1c9a089 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@349efdbc8f
2019-08-27 14:27:04 +02:00
MozLando
c2ebd617fd [components] Merge https://github.com/mozilla-mobile/android-components/pull/4130
4130: Closes https://github.com/mozilla-mobile/android-components/issues/3925: Adding meaningful content descriptions to tracking protection toolbar icon for different states. r=rocketsroger a=Amejia481



Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-08-23 19:32:43 +00:00
Axel Hecht
a893d1f5e7 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@90a28fd458
2019-08-23 12:33:53 +02:00
Maurya Talisetti
b786a535cc [components] Closes https://github.com/mozilla-mobile/android-components/issues/3033: Close toolbar menu on app exit
Currently, on exiting the app, the toolbar menu (if already open), remains open after reopening the app. This fix ensures that the menu gets closed on app exit.
2019-08-20 20:28:28 +05:30
Arturo Mejia
e0d175b71e [components] Closes https://github.com/mozilla-mobile/android-components/issues/3925: Adding meaningful content descriptions to tracking
protection toolbar icon for different states.
2019-08-14 19:26:27 -04:00
MickeyMoz
6034ef7f32 [components] Merge https://github.com/mozilla-mobile/android-components/pull/4123
4123: Closes https://github.com/mozilla-mobile/android-components/issues/3921: Adapt tracking protection icons in Custom tab toolbar. r=pocmo a=Amejia481



Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2019-08-14 17:27:56 +00:00
Arturo Mejia
72d4514eed [components] Closes https://github.com/mozilla-mobile/android-components/issues/3921: Adapt tracking protection icons in Custom tab toolbar. 2019-08-14 12:34:19 -04:00
Tiger Oakes
37ca629979 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3647 - Change HTTP icon to broken lock 2019-08-14 11:52:00 -04:00
MickeyMoz
31952f765d [components] Merge https://github.com/mozilla-mobile/android-components/pull/4075 https://github.com/mozilla-mobile/android-components/pull/4104 (part 1)
4075: Improments to tracking protection icon on the toolbar r=ekager,pocmo a=Amejia481

### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [x] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [ ] **Changelog**: This PR includes [a changelog entry](https://github.com/mozilla-mobile/android-components/blob/master/docs/changelog.md) or does not need one
- [ ] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues closed by this pull request are added to the [milestone](https://github.com/mozilla-mobile/android-components/milestones) of the version currently in development.
- [ ] **Breaking Changes**: If this is a breaking change, please push a draft PR on [Reference Browser](https://github.com/mozilla-mobile/reference-browser) to address the breaking issues.

4104: Issue https://github.com/mozilla-mobile/android-components/issues/4033: Abandon audio focus when media service is shutting down. r=Amejia481 a=pocmo

---
<!-- Text above this line will be added to the commit once "bors" merges this PR -->

### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [ ] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [ ] **Changelog**: This PR includes [a changelog entry](https://github.com/mozilla-mobile/android-components/blob/master/docs/changelog.md) or does not need one
- [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues closed by this pull request are added to the [milestone](https://github.com/mozilla-mobile/android-components/milestones) of the version currently in development.
- [ ] **Breaking Changes**: If this is a breaking change, please push a draft PR on [Reference Browser](https://github.com/mozilla-mobile/reference-browser) to address the breaking issues.


Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2019-08-13 14:43:36 +00:00
Tiger Oakes
5eb00aea8e [components] Issue https://github.com/mozilla-mobile/android-components/issues/3647 - Bring back siteSecurityColor 2019-08-12 12:31:34 -04:00
Axel Hecht
222835e01b [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@ab580f757c
2019-08-12 12:45:49 +02:00
Arturo Mejia
ae20cd44bd [components] Closes https://github.com/mozilla-mobile/android-components/issues/4073 https://github.com/mozilla-mobile/android-components/issues/4074: Adding an id to the tracking protection icon. 2019-08-09 10:43:09 -04:00
Arturo Mejia
03249fa5fe [components] Closes https://github.com/mozilla-mobile/android-components/issues/4073: Adding an id to the tracking protection icon. 2019-08-09 10:07:23 -04:00
Tiger Oakes
dbaca74c78 [components] Issue https://github.com/mozilla-mobile/android-components/issues/3647 - Custom HTTP(S) icons in toolbar 2019-08-08 12:47:25 -04:00
Arturo Mejia
86eef757c0 [components] Closes https://github.com/mozilla-mobile/android-components/issues/4058: TrackingProtectionIconView#onCreateDrawableState getting
called before class properties get initialized.
2019-08-08 08:24:24 -07:00
Arturo Mejia
afcd7e659e [components] Closes https://github.com/mozilla-mobile/android-components/issues/3824: Adding the site tracking protection icon on the toolbar. 2019-08-06 20:31:10 -04:00
Sawyer Blatz
e31b10e1e1 [components] For https://github.com/mozilla-mobile/android-components/issues/3838: Adds selectableItemBackground to HighlightableMenuitem 2019-08-01 15:48:51 -07:00
Axel Hecht
e9e8e4a440 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@1412258878
2019-07-30 15:09:47 +02:00
Tiger Oakes
8b15550b24 [components] Replaced View.forEach with Android KTX 2019-07-23 12:29:55 -04:00
mihai-adrian
dbc007bc43 [components] fixes https://github.com/mozilla-mobile/android-components/issues/2760 on android-components
removed ellipsize from titleView.
added fading for titleView (same as urlView)

changed tests for DisplayToolBar and BrowserToolbar
2019-07-23 18:01:09 +02:00
mihai-adrian
b8f1d151cf [components] fixes https://github.com/mozilla-mobile/android-components/issues/2760 on android-components
removed ellipsize from titleView.
added fading for titleView (same as urlView)

added test for DisplayToolBar and BrowserToolbar
2019-07-23 18:01:09 +02:00
Axel Hecht
96447ce446 [components] Import strings from android-l10n
State: mozilla-l10n/android-l10n@e521a2aab2
2019-07-17 17:37:25 +02:00
Tiger Oakes
0099bac510 [components] Turn on MagicNumber ignoreEnums rule 2019-07-15 11:41:43 -04:00