Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MobileScreenReadersApi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
public_accessibility_software
MobileScreenReadersApi
Commits
3408018e
Commit
3408018e
authored
Sep 04, 2020
by
Mattia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
30e11389
Changes
24
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
76 additions
and
46 deletions
+76
-46
UserPrefs.xml
SampleApp/.vs/SampleApp/xs/UserPrefs.xml
+13
-17
SampleApp-Debug.json
...leApp/.vs/SampleApp/xs/project-cache/SampleApp-Debug.json
+1
-1
SampleApp.Android-Debug.json
...s/SampleApp/xs/project-cache/SampleApp.Android-Debug.json
+1
-1
SampleApp.iOS-Debug|iPhone.json
...ampleApp/xs/project-cache/SampleApp.iOS-Debug|iPhone.json
+1
-1
SampleApp.iOS-Debug|iPhoneSimulator.json
...xs/project-cache/SampleApp.iOS-Debug|iPhoneSimulator.json
+1
-1
AndroidFocusEvents.cs
SampleApp/SampleApp.Android/AndroidFocusEvents.cs
+2
-2
iOSFocusEvents.cs
SampleApp/SampleApp.iOS/iOSFocusEvents.cs
+2
-2
IFocusEvents.cs
SampleApp/SampleApp/DependencyServices/IFocusEvents.cs
+13
-0
ListPageViewModel.cs
SampleApp/SampleApp/ViewModels/ListPageViewModel.cs
+6
-6
Functionality10.xaml
SampleApp/SampleApp/Views/Functionality10.xaml
+1
-1
Functionality11.xaml
SampleApp/SampleApp/Views/Functionality11.xaml
+1
-1
Functionality12.xaml
SampleApp/SampleApp/Views/Functionality12.xaml
+1
-1
Functionality13.xaml
SampleApp/SampleApp/Views/Functionality13.xaml
+1
-1
Functionality15.xaml
SampleApp/SampleApp/Views/Functionality15.xaml
+1
-1
Functionality16.xaml
SampleApp/SampleApp/Views/Functionality16.xaml
+1
-1
Functionality19.xaml
SampleApp/SampleApp/Views/Functionality19.xaml
+1
-1
Functionality20.xaml
SampleApp/SampleApp/Views/Functionality20.xaml
+1
-1
Functionality22.xaml
SampleApp/SampleApp/Views/Functionality22.xaml
+1
-1
Functionality23.xaml
SampleApp/SampleApp/Views/Functionality23.xaml
+1
-1
Functionality24.xaml
SampleApp/SampleApp/Views/Functionality24.xaml
+1
-1
Functionality4.xaml.cs
SampleApp/SampleApp/Views/Functionality4.xaml.cs
+2
-2
Functionality8.xaml.cs
SampleApp/SampleApp/Views/Functionality8.xaml.cs
+1
-0
Functionality9.xaml
SampleApp/SampleApp/Views/Functionality9.xaml
+1
-1
MainPage.xaml
SampleApp/SampleApp/Views/MainPage.xaml
+21
-1
No files found.
SampleApp/.vs/SampleApp/xs/UserPrefs.xml
View file @
3408018e
<Properties
StartupConfiguration=
"{
0E082BA3-B87F-40B4-9700-878BE1A55954
}|Default"
>
<Properties
StartupConfiguration=
"{
1EE7473C-9A98-44EF-8124-C4D1E0E468F8
}|Default"
>
<MonoDevelop.Ide.Workbench
ActiveDocument=
"SampleApp
.iOS/iOSFocusEvents
.cs"
>
<MonoDevelop.Ide.Workbench
ActiveDocument=
"SampleApp
/ViewModels/ListPageViewModel
.cs"
>
<Files>
<Files>
<File
FileName=
"SampleApp.iOS/iOSHasFocus.cs"
/>
<File
FileName=
"SampleApp/ViewModels/ListPageViewModel.cs"
Line=
"21"
Column=
"56"
/>
<File
FileName=
"SampleApp.Android/AndroidHasFocus.cs"
/>
<File
FileName=
"SampleApp/Views/MainPage.xaml.cs"
Line=
"1"
Column=
"1"
/>
<File
FileName=
"SampleApp.Android/AndroidScreenReaderEnabled.cs"
/>
<File
FileName=
"SampleApp/Views/MainPage.xaml"
Line=
"22"
Column=
"32"
/>
<File
FileName=
"SampleApp.iOS/iOSFocusEvents.cs"
Line=
"3"
Column=
"21"
/>
<File
FileName=
"SampleApp.Android/AndroidFocusEvents.cs"
Line=
"6"
Column=
"32"
/>
<File
FileName=
"SampleApp/Views/Functionality4.xaml.cs"
Line=
"6"
Column=
"21"
/>
<File
FileName=
"SampleApp/CustomRenderers/FocusEvents.cs"
Line=
"4"
Column=
"36"
/>
</Files>
</Files>
<Pads>
<Pads>
<Pad
Id=
"ProjectPad"
>
<Pad
Id=
"ProjectPad"
>
<State
name=
"__root__"
>
<State
name=
"__root__"
>
<Node
name=
"SampleApp"
expanded=
"True"
selected=
"True"
>
<Node
name=
"SampleApp"
expanded=
"True"
>
<Node
name=
"SampleApp"
expanded=
"True"
>
<Node
name=
"SampleApp"
expanded=
"True"
>
<Node
name=
"CustomRenderers"
expanded=
"True"
/>
<Node
name=
"Models"
expanded=
"True"
/>
<Node
name=
"DependencyServices"
expanded=
"True"
/>
<Node
name=
"ViewModels"
expanded=
"True"
>
<Node
name=
"ListPageViewModel.cs"
selected=
"True"
/>
</Node>
<Node
name=
"Views"
expanded=
"True"
>
<Node
name=
"Views"
expanded=
"True"
>
<Node
name=
"
Functionality4
.xaml"
expanded=
"True"
/>
<Node
name=
"
MainPage
.xaml"
expanded=
"True"
/>
</Node>
</Node>
</Node>
</Node>
<Node
name=
"SampleApp.Android"
expanded=
"True"
/>
<Node
name=
"SampleApp.iOS"
expanded=
"True"
/>
</Node>
</Node>
</State>
</State>
</Pad>
</Pad>
</Pads>
</Pads>
</MonoDevelop.Ide.Workbench>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.ItemProperties.SampleApp.Android
AndroidDesignerPreferredTheme=
"Theme.AppCompat.Light.NoActionBar"
PreferredExecutionTarget=
"Android.pixel_2_
pie_9_0_-_api_28
"
/>
<MonoDevelop.Ide.ItemProperties.SampleApp.Android
AndroidDesignerPreferredTheme=
"Theme.AppCompat.Light.NoActionBar"
PreferredExecutionTarget=
"Android.pixel_2_
q_10_0_-_api_29
"
/>
<MonoDevelop.Ide.ItemProperties.SampleApp.iOS
PreferredExecutionTarget=
"MonoDevelop.IPhone.IPhoneDeviceTarget.d0d4bfac7e5fd6f1456633ef7d45122e2fa38791"
/>
<MonoDevelop.Ide.ItemProperties.SampleApp.iOS
automaticSigning=
"False"
PreferredExecutionTarget=
"MonoDevelop.IPhone.IPhoneDeviceTarget.d0d4bfac7e5fd6f1456633ef7d45122e2fa38791"
/>
<MonoDevelop.Ide.DebuggingService.PinnedWatches
/>
<MonoDevelop.Ide.DebuggingService.PinnedWatches
/>
<MonoDevelop.Ide.Workspace
ActiveConfiguration=
"Debug|iPhone"
/>
<MonoDevelop.Ide.Workspace
ActiveConfiguration=
"Debug|iPhone"
/>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
...
...
SampleApp/.vs/SampleApp/xs/project-cache/SampleApp-Debug.json
View file @
3408018e
This diff is collapsed.
Click to expand it.
SampleApp/.vs/SampleApp/xs/project-cache/SampleApp.Android-Debug.json
View file @
3408018e
This diff is collapsed.
Click to expand it.
SampleApp/.vs/SampleApp/xs/project-cache/SampleApp.iOS-Debug|iPhone.json
View file @
3408018e
This diff is collapsed.
Click to expand it.
SampleApp/.vs/SampleApp/xs/project-cache/SampleApp.iOS-Debug|iPhoneSimulator.json
View file @
3408018e
This diff is collapsed.
Click to expand it.
SampleApp/SampleApp.Android/AndroidFocusEvents.cs
View file @
3408018e
...
@@ -3,11 +3,11 @@ using Android.Content;
...
@@ -3,11 +3,11 @@ using Android.Content;
using
Android.Service.Autofill
;
using
Android.Service.Autofill
;
using
Android.Views.Accessibility
;
using
Android.Views.Accessibility
;
using
CustomViewAccessibility.Droid
;
using
CustomViewAccessibility.Droid
;
using
SampleApp.
CustomRenderer
s
;
using
SampleApp.
DependencyService
s
;
using
Xamarin.Forms
;
using
Xamarin.Forms
;
using
Xamarin.Forms.Platform.Android
;
using
Xamarin.Forms.Platform.Android
;
[assembly: ExportRenderer(typeof(FocusEvents), typeof(AndroidFocusEvents))]
[assembly: ExportRenderer(typeof(
I
FocusEvents), typeof(AndroidFocusEvents))]
namespace
CustomViewAccessibility.Droid
namespace
CustomViewAccessibility.Droid
{
{
public
class
AndroidFocusEvents
:
ImageRenderer
public
class
AndroidFocusEvents
:
ImageRenderer
...
...
SampleApp/SampleApp.iOS/iOSFocusEvents.cs
View file @
3408018e
using
System
;
using
System
;
using
SampleApp.
CustomRenderer
s
;
using
SampleApp.
DependencyService
s
;
using
Xamarin.Forms
;
using
Xamarin.Forms
;
using
SampleApp.iOS
;
using
SampleApp.iOS
;
using
Xamarin.Forms.Platform.iOS
;
using
Xamarin.Forms.Platform.iOS
;
[assembly: ExportRenderer(typeof(FocusEvents), typeof(iOSFocusEvents))]
[assembly: ExportRenderer(typeof(
I
FocusEvents), typeof(iOSFocusEvents))]
namespace
SampleApp.iOS
namespace
SampleApp.iOS
{
{
public
class
iOSFocusEvents
:
ImageRenderer
public
class
iOSFocusEvents
:
ImageRenderer
...
...
SampleApp/SampleApp/
CustomRenderers/
FocusEvents.cs
→
SampleApp/SampleApp/
DependencyServices/I
FocusEvents.cs
View file @
3408018e
using
System
;
using
System
;
using
Xamarin.Forms
;
using
Xamarin.Forms
;
namespace
SampleApp.
CustomRenderer
s
namespace
SampleApp.
DependencyService
s
{
{
public
class
FocusEvents
:
Image
public
class
I
FocusEvents
:
Image
{
{
public
FocusEvents
()
public
I
FocusEvents
()
{
{
}
}
...
...
SampleApp/SampleApp/ViewModels/ListPageViewModel.cs
View file @
3408018e
...
@@ -32,19 +32,19 @@ namespace SampleApp.ViewModels
...
@@ -32,19 +32,19 @@ namespace SampleApp.ViewModels
{
{
Name
=
"3"
,
Name
=
"3"
,
Description
=
"Assign the accessibility focus to a view"
,
Description
=
"Assign the accessibility focus to a view"
,
Availability
=
"
Not available on XAMARIN
"
,
Availability
=
"
Indirect implementation
"
,
});
});
accessibilityFocus
.
Add
(
new
APIFunctionality
accessibilityFocus
.
Add
(
new
APIFunctionality
{
{
Name
=
"4"
,
Name
=
"4"
,
Description
=
"Specify actions associated to accessibility focus-related events (e.g., a view acquires or loses the focus)"
,
Description
=
"Specify actions associated to accessibility focus-related events (e.g., a view acquires or loses the focus)"
,
Availability
=
"
Not available on XAMARIN
"
,
Availability
=
"
Indirect implementation
"
,
});
});
accessibilityFocus
.
Add
(
new
APIFunctionality
accessibilityFocus
.
Add
(
new
APIFunctionality
{
{
Name
=
"5"
,
Name
=
"5"
,
Description
=
"Determine whether a view has the accessibility focus or which view has the accessibility focus"
,
Description
=
"Determine whether a view has the accessibility focus or which view has the accessibility focus"
,
Availability
=
"
Not available on XAMARIN
"
,
Availability
=
"
Indirect implementation
"
,
});
});
TextToAnnounce
.
Add
(
new
APIFunctionality
TextToAnnounce
.
Add
(
new
APIFunctionality
{
{
...
@@ -61,7 +61,7 @@ namespace SampleApp.ViewModels
...
@@ -61,7 +61,7 @@ namespace SampleApp.ViewModels
{
{
Name
=
"8"
,
Name
=
"8"
,
Description
=
"Use one view to describe another one"
,
Description
=
"Use one view to describe another one"
,
Availability
=
"
Not available
on iOS"
,
Availability
=
"
Semi-direct implementation
on iOS"
,
});
});
TextToAnnounce
.
Add
(
new
APIFunctionality
TextToAnnounce
.
Add
(
new
APIFunctionality
{
{
...
@@ -119,7 +119,7 @@ namespace SampleApp.ViewModels
...
@@ -119,7 +119,7 @@ namespace SampleApp.ViewModels
{
{
Name
=
"18"
,
Name
=
"18"
,
Description
=
"Aggregate multiple views into a single accessible element"
,
Description
=
"Aggregate multiple views into a single accessible element"
,
Availability
=
"
Not available
on iOS"
,
Availability
=
"
Semi-direct implementation
on iOS"
,
});
});
accessibilityTree
.
Add
(
new
APIFunctionality
accessibilityTree
.
Add
(
new
APIFunctionality
{
{
...
@@ -137,7 +137,7 @@ namespace SampleApp.ViewModels
...
@@ -137,7 +137,7 @@ namespace SampleApp.ViewModels
{
{
Name
=
"21"
,
Name
=
"21"
,
Description
=
"Detect whether screen-reader is active"
,
Description
=
"Detect whether screen-reader is active"
,
Availability
=
"
Not available on XAMARIN
"
,
Availability
=
"
Indirect implementation
"
,
});
});
miscellanous
.
Add
(
new
APIFunctionality
miscellanous
.
Add
(
new
APIFunctionality
{
{
...
...
SampleApp/SampleApp/Views/Functionality10.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality10"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality10"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 10
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality11.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality11"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality11"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 11
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality12.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality12"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality12"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 12
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality13.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality13"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality13"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 13
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality15.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality15"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality15"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 15
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality16.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality16"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality16"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 16
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality19.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality19"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality19"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 19
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality20.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality20"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality20"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 20
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality22.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality22"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality22"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 22
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality23.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality23"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality23"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 23
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality24.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality24"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality24"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 24
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/Functionality4.xaml.cs
View file @
3408018e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.ComponentModel
;
using
System.ComponentModel
;
using
System.Reflection
;
using
System.Reflection
;
using
SampleApp.
CustomRenderer
s
;
using
SampleApp.
DependencyService
s
;
using
Xamarin.Forms
;
using
Xamarin.Forms
;
...
@@ -20,7 +20,7 @@ namespace SampleApp.Views
...
@@ -20,7 +20,7 @@ namespace SampleApp.Views
public
Functionality4
()
public
Functionality4
()
{
{
InitializeComponent
();
InitializeComponent
();
FocusEvents
BellImage
=
new
FocusEvents
IFocusEvents
BellImage
=
new
I
FocusEvents
{
{
Source
=
ImageSource
.
FromResource
(
"SampleApp.images.bell.png"
,
typeof
(
Functionality4
).
GetTypeInfo
().
Assembly
)
Source
=
ImageSource
.
FromResource
(
"SampleApp.images.bell.png"
,
typeof
(
Functionality4
).
GetTypeInfo
().
Assembly
)
};
};
...
...
SampleApp/SampleApp/Views/Functionality8.xaml.cs
View file @
3408018e
...
@@ -10,6 +10,7 @@ namespace SampleApp.Views
...
@@ -10,6 +10,7 @@ namespace SampleApp.Views
public
Functionality8
()
public
Functionality8
()
{
{
InitializeComponent
();
InitializeComponent
();
AutomationProperties
.
SetIsInAccessibleTree
(
label
,
true
);
AutomationProperties
.
SetIsInAccessibleTree
(
entry
,
true
);
AutomationProperties
.
SetIsInAccessibleTree
(
entry
,
true
);
// this only works on Android
// this only works on Android
...
...
SampleApp/SampleApp/Views/Functionality9.xaml
View file @
3408018e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality9"
>
<ContentPage
xmlns=
"http://xamarin.com/schemas/2014/forms"
xmlns:x=
"http://schemas.microsoft.com/winfx/2009/xaml"
x:Class=
"SampleApp.Views.Functionality9"
>
<ContentPage.Content>
<ContentPage.Content>
<Label
Text=
"
PROVA 9
"
></Label>
<Label
Text=
"
Not available on XAMARIN
"
></Label>
</ContentPage.Content>
</ContentPage.Content>
</ContentPage>
</ContentPage>
SampleApp/SampleApp/Views/MainPage.xaml
View file @
3408018e
...
@@ -10,9 +10,29 @@
...
@@ -10,9 +10,29 @@
>
>
<ListView.ItemTemplate>
<ListView.ItemTemplate>
<DataTemplate>
<DataTemplate>
<TextCell
Text=
"{Binding Description}"
Detail=
"{Binding Availability}"
x:Name=
"CellText"
></TextCell>
<ViewCell>
<StackLayout
BackgroundColor=
"#fff"
Orientation=
"Vertical"
Padding=
"10, 0, 0, 0"
>
<StackLayout
Orientation=
"Vertical"
VerticalOptions=
"CenterAndExpand"
>
<Label
Text=
"{Binding Description}"
TextColor=
"Black"
FontSize=
"Default"
/>
<Label
Text=
"{Binding Availability}"
HorizontalOptions=
"FillAndExpand"
TextColor=
"#999"
FontSize=
"Micro"
/>
</StackLayout>
</StackLayout>
</ViewCell>
</DataTemplate>
</DataTemplate>
</ListView.ItemTemplate>
</ListView.ItemTemplate>
<ListView.GroupHeaderTemplate>
<DataTemplate>
<ViewCell>
<StackLayout
BackgroundColor=
"#eee"
Orientation=
"Vertical"
Padding=
"10, 0, 0, 0"
>
<StackLayout
VerticalOptions=
"CenterAndExpand"
>
<Label
Text=
"{Binding LongName}"
TextColor=
"#333"
FontSize=
"Medium"
/>
</StackLayout>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.GroupHeaderTemplate>
</ListView>
</ListView>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment