Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Android] TalkBack now reads name and helptext on buttons. #5237

Closed
wants to merge 83 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
5fcc2c4
[Android] TalkBack now reads name and helptext on buttons.
ryl Feb 17, 2019
a778196
Merge branch 'master' into automation-name-helptext
rmarinho Feb 19, 2019
1cc5905
Merge branch 'master' into automation-name-helptext
ryl Mar 9, 2019
fad3863
Updates based on feedback.
ryl Mar 9, 2019
cafc793
simplification of uitest
Mar 12, 2019
afb3c9c
Merge branch 'master' into automation-name-helptext
samhouts Mar 18, 2019
647c700
Only execute 5150 UI Test on the Android platform.
ryl Mar 21, 2019
81494ff
Work around AutomationId.
ryl Mar 29, 2019
537458d
Fixed label text.
ryl Mar 29, 2019
a968a07
Merge branch 'master' of github.com:xamarin/Xamarin.Forms into automa…
ryl Mar 29, 2019
c003484
Merge branch 'master' into automation-name-helptext
ryl Aug 7, 2019
0e70ac1
Testing some more components.
ryl Aug 7, 2019
f218b44
Update GitInfo.txt
samhouts Jan 7, 2020
1a5c736
fix Profile FrameEnd call (#9117)
PureWeen Jan 7, 2020
590d03f
Merge branch '4.5.0'
rmarinho Jan 7, 2020
0accce0
Fix SeachBarRenderer CreateNativeControl issue (#8946)
LuoyeAn Jan 8, 2020
75497c6
Merge branch '4.5.0'
PureWeen Jan 8, 2020
392c957
Merge branch '4.5.0'
samhouts Jan 9, 2020
deba0e8
Merge branch '4.5.0'
samhouts Jan 9, 2020
a445bda
Add UWP display prompt (#8720)
bmacombe Jan 10, 2020
05f5756
Added IconColor property for managing navigation icon color (#5185)
AndreiMisiukevich Jan 10, 2020
c658b2e
Update bug_report.md (#8688)
jfversluis Jan 10, 2020
7a52542
Merge branch '4.5.0'
StephaneDelcroix Jan 13, 2020
9790106
Add null check to GetIconColor (#9172)
hartez Jan 13, 2020
df5dc1c
[Android] Fix color filter usage on API29 (#9180)
rmarinho Jan 13, 2020
4c3e2b2
Set not previewer flag early (#8406)
PureWeen Jan 16, 2020
240e805
Implements ListView Header and Footer for WPF (#8443)
BarryNolte Jan 16, 2020
655fa00
Merge branch '4.5.0'
samhouts Jan 18, 2020
e3a62fb
Merge branch '4.5.0'
rmarinho Jan 20, 2020
cbccb71
Merge branch '4.5.0'
rmarinho Jan 23, 2020
5cb0c60
Merge branch '4.5.0'
rmarinho Jan 27, 2020
b486522
[Android,iOS,UWP,WPF] MediaElement control (#3482)
peterfoot Jan 29, 2020
3f84ee0
Map circles (#7401)
jcmanke Jan 29, 2020
c4f5077
Merge branch '4.5.0'
rmarinho Jan 30, 2020
e6a90a4
Apply fading effect on DetailPage for MasterDetailPage on iOS (#7437)
akamud Jan 30, 2020
62f21cd
Fix 4459 - Update UWP BoxViewRenderer to fully support corner radius …
bmacombe Jan 31, 2020
d202323
Adds Cookies to the WebView fixing #Issue3262 (#8169)
CliffAgius Jan 31, 2020
30228a2
Merge branch '4.5.0'
samhouts Feb 1, 2020
05f4474
Merge branch '4.5.0'
PureWeen Feb 2, 2020
7120ce9
Merge branch '4.5.0'
PureWeen Feb 2, 2020
4338e9b
Merge branch '4.5.0'
PureWeen Feb 2, 2020
d338be0
Merge branch '4.5.0'
PureWeen Feb 2, 2020
0571796
Add prompt dialog to nuspec (#9398)
PureWeen Feb 2, 2020
c6c8369
fix broken link in PULL_REQUEST_TEMPLATE.md (#9391)
artemious7 Feb 3, 2020
0f86601
Adds HotRestart conditional compilation (#9298)
emaf Feb 4, 2020
54df1ab
Implemented BindableLayout EmptyView (#7686) fixes #6932
jfversluis Feb 4, 2020
97104bc
[Enhancement] Removed internal access modifier from Material (#7879) …
Feb 4, 2020
fad9f63
Preserve the macOS assembly from the linker (#8572)
mattleibow Feb 4, 2020
4d93343
Added context switching befor UpdateAspect() method call (#9154) fixe…
yurkinh Feb 4, 2020
ff06a9b
Merge branch '4.5.0'
rmarinho Feb 4, 2020
f0087cb
Replacement ActivityIndicator for WPF (#9389) fixes #9372
peterfoot Feb 4, 2020
85bd80e
Merge branch '4.5.0'
samhouts Feb 4, 2020
53b9789
Merge branch '4.5.0'
PureWeen Feb 6, 2020
058696b
Updating readme for VS 2019 and Android 29 requirements (#9472)
hartez Feb 7, 2020
038a8c6
Merge branch '4.5.0'
PureWeen Feb 8, 2020
6bd199b
Merge branch '4.5.0'
PureWeen Feb 10, 2020
bbb07f6
Adding null check for picker items (#9478) fixes #2674
sahi82 Feb 10, 2020
da444e1
Update CONTRIBUTING.md
hartez Feb 10, 2020
42a5122
fixes #9435 (#9490) fixes #9435
AndreiMisiukevich Feb 10, 2020
2ed8786
[iOS] Fix NRE if the detaail renderer wasn't created (#9496)
rmarinho Feb 10, 2020
feb457e
Fixed broken link in CONTRIBUTING.md (#9518)
thisisthekap Feb 12, 2020
188ec34
Merge branch '4.5.0'
rmarinho Feb 12, 2020
ed2ba43
Merge branch '4.5.0'
rmarinho Feb 12, 2020
166935d
WebView cookie changes fixes (#9508)
PureWeen Feb 12, 2020
44d7434
Expose UISearchBarStyle through platform-specific (#8811)
jcmanke Feb 13, 2020
cdb2b41
[Android] Optimize RecalculateSpanPositions method (#8746)
kvpt Feb 13, 2020
1b4c6e2
[iOS] SelectedImageTintColor to TintColor (#8620)
jfversluis Feb 13, 2020
6a23b84
Merge branch '4.5.0'
PureWeen Feb 14, 2020
08007a8
Fix unbalanced performance start/stop call. (#8622)
kvpt Feb 15, 2020
c5bea02
FormsFontIcon added (#9587)
melimion Feb 15, 2020
758bdd3
Merge branch '4.5.0'
rmarinho Feb 17, 2020
91d30c9
RadioButton Implementation (#8910) fixes #2404 closes #5349
jfversluis Feb 18, 2020
728e41d
[WPF] Fix typo
rmarinho Feb 18, 2020
a796678
[Android] Fix BottomNavigationItemView issue with MasterDetailPage (#…
kvpt Feb 18, 2020
17a0497
Merge branch '4.5.0'
samhouts Feb 19, 2020
6a41de3
Update VS 2015 -> Visual Studio for Windows (#9643)
dottienet Feb 19, 2020
adc0987
Merge branch '4.5.0'
PureWeen Feb 19, 2020
f30d423
[WPF] Fix typo
rmarinho Feb 20, 2020
0eade95
Merge branch '4.5.0'
rmarinho Feb 21, 2020
efb4779
Add more platform tests (#9011)
hartez Feb 21, 2020
524e340
Merge branch 'master' into automation-name-helptext
ryl Feb 26, 2020
d3d45a8
Updated to support AndroidX packages.
ryl Feb 26, 2020
164d0a3
Matching master.
ryl Feb 26, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ Follow the style used by the [.NET Foundation](https://github.com/dotnet/corefx/
- We do not use the `private` keyword, as it is the default accessibility level in C#.
- We use hard tabs over spaces.

Read and follow our [Pull Request template](https://github.com/xamarin/Xamarin.Forms/blob/master/PULL_REQUEST_TEMPLATE.md).
Read and follow our [Pull Request template](PULL_REQUEST_TEMPLATE.md).

### Pull Request Requirements

We use red-green-refactor test driven development. If you're planning to work on a bug fix, please be sure to create a test case in the UI tests suite (or unit tests, if you're working on Core/XAML code) that proves that the behavior is broken and then proves that the behavior was resolved after your changes. If at all possible, the test should be automated. If the test cannot be automated, then it should include manual testing instructions on screen.
We use red-green-refactor test driven development. If you're planning to work on a bug fix, please be sure to create a test case in the UI tests suite (or unit tests, if you're working on Core/XAML code) that proves that the behavior is broken and then proves that the behavior was resolved after your changes. If at all possible, the test should be automated. If the test cannot be automated, then it should include manual testing instructions on screen.

Please check the "Allow edits from maintainers" checkbox on your pull request. This allows us to quickly make minor fixes and resolve conflicts for you.

## Proposals/Enhancements/Suggestions

Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ assignees: ''
### Reproduction Link

<!-- Please upload or provide a link to a reproduction case -->

### Workaround

<!-- Did you find any workaround for this issue? This can unblock other people while waiting for this issue to be resolved -->
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- If this is an enhancement or contains API changes or breaking changes, target master.
- If the issue you're working on has a milestone, target the corresponding branch.
- If this is a bug fix, target the branch of the latest stable version (unless the bug is only in a prerelease or master, of course!).
See [Contributing](https://github.com/xamarin/Xamarin.Forms/blob/master/CONTRIBUTING.md) for more tips!
See [Contributing](https://github.com/xamarin/Xamarin.Forms/blob/master/.github/CONTRIBUTING.md) for more tips!

PLEASE DELETE THE ALL THESE COMMENTS BEFORE SUBMITTING! THANKS!!!
-->
Expand Down
2 changes: 2 additions & 0 deletions .nuspec/Xamarin.Forms.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.14393\FormsCheckBoxStyle.xaml" target="lib\uap10.0.14393\Xamarin.Forms.Platform.UAP" />
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.14393\FormsCommandBarStyle.xaml" target="lib\uap10.0.14393\Xamarin.Forms.Platform.UAP" />
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.14393\FormsEmbeddedPageWrapper.xaml" target="lib\uap10.0.14393\Xamarin.Forms.Platform.UAP" />
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.14393\PromptDialog.xaml" target="lib\uap10.0.14393\Xamarin.Forms.Platform.UAP" />

<!-- VS 2017 needs these 16299-->
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.16299\FormsFlyout.xaml" target="lib\uap10.0.16299\Xamarin.Forms.Platform.UAP" />
Expand All @@ -292,6 +293,7 @@
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.16299\FormsCheckBoxStyle.xaml" target="lib\uap10.0.16299\Xamarin.Forms.Platform.UAP" />
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.16299\FormsCommandBarStyle.xaml" target="lib\uap10.0.16299\Xamarin.Forms.Platform.UAP" />
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.16299\FormsEmbeddedPageWrapper.xaml" target="lib\uap10.0.16299\Xamarin.Forms.Platform.UAP" />
<file src="..\Xamarin.Forms.Platform.UAP\obj\$Configuration$\uap10.0.16299\PromptDialog.xaml" target="lib\uap10.0.16299\Xamarin.Forms.Platform.UAP" />

<!--Mac-->
<file src="..\Xamarin.Forms.Core\bin\$Configuration$\netstandard2.0\Xamarin.Forms.Core.dll" target="lib\Xamarin.Mac" />
Expand Down
4 changes: 4 additions & 0 deletions .nuspec/Xamarin.Forms.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@
-->
<Import Project="$(MSBuildThisFileDirectory)Xamarin.Forms.DefaultItems.props" Condition="'$(MSBuildSDKsPath)'!=''" />

<PropertyGroup>
<_IsHotRestartDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)HOTRESTART($|;)'))</_IsHotRestartDefined>
<DefineConstants Condition="!$(_IsHotRestartDefined) And '$(IsHotRestartBuild)' == 'true'">HOTRESTART;$(DefineConstants)</DefineConstants>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion GitInfo.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.5.0
4.6.0
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,23 @@ If you want to use the latest dev build then you should read [this blog post](ht
## Getting Started ##

### Windows ###
##### Install Visual Studio 2017+ #####
##### Install Visual Studio 2019+ #####

VS 2017+ is required for developing Xamarin.Forms. If you do not already have it installed, you can download it [here](https://www.visualstudio.com/downloads/download-visual-studio-vs). VS 2017+ Community is completely free. If you are installing VS 2017+ for the first time, select the "Custom" installation type and select the following from the features list to install:
VS 2019+ is required for developing Xamarin.Forms. If you do not already have it installed, you can download it [here](https://www.visualstudio.com/downloads/download-visual-studio-vs). VS 2019+ Community is completely free. If you are installing VS 2019+ for the first time, select the "Custom" installation type and select the following from the features list to install:

- .NET desktop development - In the `Summary > Optional select .NET Framework 4.7 SDK, .NET Framework 4.7 targeting pack`.
- Universal Windows Platform Development - In the `Summary > Optional select the Windows 10 Mobile Emulator`.
- Mobile Development with .NET - In the `Summary > Optional select Xamarin Remoted Simulator, Xamarin SDK Manager, Intel Hardware Accelerated Execution Manager (HAXM)`

The Android 7.0 Nougat API 24 SDK is required for developing Xamarin.Forms. It can be installed by using the [Xamarin Android SDK Manager](https://docs.microsoft.com/xamarin/android/get-started/installation/android-sdk).
The Android 10.0 API 29 SDK is required for developing Xamarin.Forms. It can be installed by using the [Xamarin Android SDK Manager](https://docs.microsoft.com/xamarin/android/get-started/installation/android-sdk).

We also recommend installing [Xamarin Android Device Manager](https://developer.xamarin.com/guides/android/getting_started/installation/android-emulator/xamarin-device-manager/) This will use the HAXM tools installed above and allow you to configure Android Virtual Devices (AVDs) that emulate Android devices.
If you already have VS 2017+ installed, you can verify that these features are installed by modifying the VS 2017+ installation via the Visual Studio Installer.
If you already have VS 2019+ installed, you can verify that these features are installed by modifying the VS 2019+ installation via the Visual Studio Installer.

### Mac ###
#### Install Visual Studio for Mac 2019 ####

If you do not already have it installed, instructions to download and setup can be found [here](https://docs.microsoft.com/en-us/visualstudio/mac/installation?view=vsmac-2017).
If you do not already have it installed, instructions to download and setup can be found [here](https://docs.microsoft.com/en-us/visualstudio/mac/installation?view=vsmac-2019).

Because of current Multi-Targeting limitations with Visual Studio for Mac you will need to manually build/restore some projects before you are able to work on the Xamarin Forms solution.

Expand Down Expand Up @@ -92,7 +92,7 @@ By default, the `Xamarin.Forms.Controls` project does not have a configuration f

UWPMapsAuthKey:

You will have to obtain your own API keys for each of these services, inserted directly after the identifier (e.g. `UWPMapsAuthKey:abcdefghijklmnopqrstuvwxyz`). You can find out how to obtain each of these as follows:
If you aren't working with maps, you can ignore this. If you want to work with maps, you will have to obtain your own API keys for each of these services, inserted directly after the identifier (e.g. `UWPMapsAuthKey:abcdefghijklmnopqrstuvwxyz`). You can find out how to obtain each of these as follows:

- `UWPMapsAuthKey` at https://microsoft.com/maps/create-a-bing-maps-key.aspx

Expand Down Expand Up @@ -134,7 +134,7 @@ You should now be able to run any of the UWP UI Tests.
We follow the style used by the [.NET Foundation](https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.md), with a few exceptions:

- We do not use the `private` keyword as it is the default accessibility level in C#.
- We use hard tabs over spaces. You can change this setting in VS 2015 via `Tools > Options` and navigating to `Text Editor > C#` and selecting the "Keep tabs" radio option. In Visual Studio for Mac it's set via preferences in `Source Code > Code Formatting > C# source code` and disabling the checkbox for `Convert tabs to spaces`.
- We use hard tabs over spaces. You can change this setting in Visual Studio for Windows via `Tools > Options` and navigating to `Text Editor > C#` and selecting the "Keep tabs" radio option. In Visual Studio for Mac it's set via preferences in `Source Code > Code Formatting > C# source code` and disabling the checkbox for `Convert tabs to spaces`.
- Lines should be limited to a max of 120 characters (or as close as possible within reason). This may be set in Visual Studio for Mac via preferences in `Source Code > Code Formatting > C# source code` and changing the `Desired file width` to `120`.

## Contributing ##
Expand Down
7 changes: 7 additions & 0 deletions Stubs/Xamarin.Forms.Platform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ internal class _ButtonRenderer { }
[RenderWith(typeof(ImageButtonRenderer))]
internal class _ImageButtonRenderer { }

#if __ANDROID__
[RenderWith(typeof(RadioButtonRenderer))]
#elif !TIZEN4_0
[RenderWith(typeof(RadioButtonRenderer))]
#endif
internal class _RadioButtonRenderer { }

[RenderWith (typeof (TableViewRenderer))]
internal class _TableViewRenderer { }

Expand Down
1 change: 0 additions & 1 deletion Xamarin.Forms.ControlGallery.Android/Activity1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
[assembly: Dependency (typeof (TestCloudService))]
[assembly: ExportRenderer (typeof (DisposePage), typeof (DisposePageRenderer))]
[assembly: ExportRenderer (typeof (DisposeLabel), typeof (DisposeLabelRenderer))]
[assembly: ExportRenderer (typeof (CustomButton), typeof (CustomButtonRenderer))]
[assembly: ExportEffect (typeof (BorderEffect), "BorderEffect")]

namespace Xamarin.Forms.ControlGallery.Android
Expand Down
49 changes: 49 additions & 0 deletions Xamarin.Forms.ControlGallery.Android/Assets/googlemap.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#map {
height: 100%;
}
/* Optional: Makes the sample page fill the window. */
html, body {
height: 100%;
margin: 0;
padding: 0;
}

</style>
<title>Google Maps</title>
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&sensor=false"></script>
<script>
var urlParams = new URLSearchParams(window.location.search);
lat = urlParams.get('lat');
lng = urlParams.get('lng');

var center = new google.maps.LatLng(lat, lng);
var map;

function initialize() {
var mapOptions = {
zoom: 12,
mapTypeId: google.maps.MapTypeId.ROADMAP,
center: center,
disableDefaultUI: true
};
map = new google.maps.Map(document.getElementById('map'),
mapOptions);
var marker = new google.maps.Marker({
position: center,
map: map
});
}

</script>
</head>
<body onload="initialize()">
<div id="map">map</div>
</body>
</html>
84 changes: 84 additions & 0 deletions Xamarin.Forms.ControlGallery.Android/Assets/googlemapsearch.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html>
<head>
<title>Place Searches</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#map {
height: 100%;
}
/* Optional: Makes the sample page fill the window. */
html, body {
height: 100%;
margin: 0;
padding: 0;
}

</style>
<script>
var urlParams = new URLSearchParams(window.location.search);
var place = urlParams.get('place');
var map;
var service;
var infowindow;

function initMap() {

var msftVisitorCenter = new google.maps.LatLng(47.642232, -122.1389797);
infowindow = new google.maps.InfoWindow();

var mapOptions = {
zoom: 15,
mapTypeId: google.maps.MapTypeId.ROADMAP,
center: msftVisitorCenter,
disableDefaultUI: true
};
map = new google.maps.Map(
document.getElementById('map'), mapOptions);

var marker = new google.maps.Marker({
position: msftVisitorCenter,
map: map
});

var request = {
query: place,
fields: ['name', 'geometry'],
};

service = new google.maps.places.PlacesService(map);

service.findPlaceFromQuery(request, function(results, status) {
if (status === google.maps.places.PlacesServiceStatus.OK) {
for (var i = 0; i < results.length; i++) {
createMarker(results[i]);
}

map.setCenter(results[0].geometry.location);
}
});
}

function createMarker(place) {
var marker = new google.maps.Marker({
map: map,
position: place.geometry.location
});

google.maps.event.addListener(marker, 'click', function() {
infowindow.setContent(place.name);
infowindow.open(map, this);
});
}

</script>
</head>
<body>
<div id="map"></div>
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places&callback=initMap"
async defer></script>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
using System.ComponentModel;
using AViews = Android.Views;
using AWidget = Android.Widget;
using Xamarin.Forms;
using Xamarin.Forms.ControlGallery.Android;
using Xamarin.Forms.Controls.Issues;
using Xamarin.Forms.Platform.Android;
using Android.Support.V4.View;
using Android.Support.V4.View.Accessibility;
using Android.AccessibilityServices;

[assembly: ExportEffect(typeof(ContentDescriptionEffectRenderer), ContentDescriptionEffect.EffectName)]
namespace Xamarin.Forms.ControlGallery.Android
{
public class ContentDescriptionEffectRenderer : PlatformEffect
{
protected override void OnAttached()
{
}

protected override void OnDetached()
{
}

protected override void OnElementPropertyChanged(PropertyChangedEventArgs args)
{
System.Diagnostics.Debug.WriteLine("OnElementPropertyChanged" + args.PropertyName);

var viewGroup = Control as AViews.ViewGroup;
var nativeView = Control as AViews.View;

if (nativeView != null && viewGroup != null && viewGroup.ChildCount > 0)
{
nativeView = viewGroup.GetChildAt(0);
}

if (nativeView == null)
{
return;
}

var info = AccessibilityNodeInfoCompat.Obtain(nativeView);
ViewCompat.OnInitializeAccessibilityNodeInfo(nativeView, info);

System.Diagnostics.Debug.WriteLine(info.ContentDescription);
System.Diagnostics.Debug.WriteLine(nativeView.ContentDescription);

Element.SetValue(
ContentDescriptionEffectProperties.NameAndHelpTextProperty,
info.ContentDescription);

Element.SetValue(
ContentDescriptionEffectProperties.ContentDescriptionProperty,
nativeView.ContentDescription);
}

}
}
1 change: 1 addition & 0 deletions Xamarin.Forms.ControlGallery.Android/CustomRenderers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
[assembly: ExportRenderer(typeof(Issue7249Switch), typeof(Issue7249SwitchRenderer))]
[assembly: ExportRenderer(typeof(Issue9360.Issue9360NavigationPage), typeof(Issue9360NavigationPageRenderer))]
[assembly: ExportRenderer(typeof(Xamarin.Forms.Controls.GalleryPages.TwoPaneViewGalleries.HingeAngleLabel), typeof(HingeAngleLabelRenderer))]
[assembly: ExportRenderer(typeof(Xamarin.Forms.Controls.Tests.TestClasses.CustomButton), typeof(CustomButtonRenderer))]

#if PRE_APPLICATION_CLASS
#elif FORMS_APPLICATION_ACTIVITY
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading