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
3f9c4868
You need to sign in or sign up before continuing.
Commit
3f9c4868
authored
Apr 24, 2020
by
Paolo Pecis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solved iOS difference
parent
461501a2
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
888 additions
and
10 deletions
+888
-10
UserPrefs.xml
...AggregateViews/.vs/XAMARINAggregateViews/xs/UserPrefs.xml
+2
-2
XAMARINAggregateViews-Debug.json
...teViews/xs/project-cache/XAMARINAggregateViews-Debug.json
+1
-1
XAMARINAggregateViews.iOS-Debug|iPhone.json
...project-cache/XAMARINAggregateViews.iOS-Debug|iPhone.json
+1
-1
XAMARINAggregateViews.iOS-Debug|iPhoneSimulator.json
...ache/XAMARINAggregateViews.iOS-Debug|iPhoneSimulator.json
+1
-1
Info.plist
...AMARINAggregateViews/XAMARINAggregateViews.iOS/Info.plist
+1
-1
XAMARINAggregateViews.iOS.csproj
...AMARINAggregateViews.iOS/XAMARINAggregateViews.iOS.csproj
+1
-1
mono_crash.115869eaf6.0.json
...ws/XAMARINAggregateViews.iOS/mono_crash.115869eaf6.0.json
+858
-0
MainPage.xaml.cs
...ARINAggregateViews/XAMARINAggregateViews/MainPage.xaml.cs
+23
-3
No files found.
AggregateViews/XAMARINAggregateViews/.vs/XAMARINAggregateViews/xs/UserPrefs.xml
View file @
3f9c4868
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
<MonoDevelop.Ide.Workbench
ActiveDocument=
"XAMARINAggregateViews.iOS/Info.plist"
>
<MonoDevelop.Ide.Workbench
ActiveDocument=
"XAMARINAggregateViews.iOS/Info.plist"
>
<Files>
<Files>
<File
FileName=
"XAMARINAggregateViews/MainPage.xaml"
Line=
"4"
Column=
"1"
/>
<File
FileName=
"XAMARINAggregateViews/MainPage.xaml"
Line=
"4"
Column=
"1"
/>
<File
FileName=
"XAMARINAggregateViews/MainPage.xaml.cs"
Line=
"
99"
Column=
"88
"
/>
<File
FileName=
"XAMARINAggregateViews/MainPage.xaml.cs"
Line=
"
115"
Column=
"19
"
/>
<File
FileName=
"XAMARINAggregateViews/IGroupViews.cs"
Line=
"9"
Column=
"6"
/>
<File
FileName=
"XAMARINAggregateViews/IGroupViews.cs"
Line=
"9"
Column=
"6"
/>
<File
FileName=
"XAMARINAggregateViews.iOS/GroupViewsIOS.cs"
Line=
"34"
Column=
"
42
"
/>
<File
FileName=
"XAMARINAggregateViews.iOS/GroupViewsIOS.cs"
Line=
"34"
Column=
"
1
"
/>
<File
FileName=
"XAMARINAggregateViews.iOS/Info.plist"
/>
<File
FileName=
"XAMARINAggregateViews.iOS/Info.plist"
/>
</Files>
</Files>
<Pads>
<Pads>
...
...
AggregateViews/XAMARINAggregateViews/.vs/XAMARINAggregateViews/xs/project-cache/XAMARINAggregateViews-Debug.json
View file @
3f9c4868
This diff is collapsed.
Click to expand it.
AggregateViews/XAMARINAggregateViews/.vs/XAMARINAggregateViews/xs/project-cache/XAMARINAggregateViews.iOS-Debug|iPhone.json
View file @
3f9c4868
This diff is collapsed.
Click to expand it.
AggregateViews/XAMARINAggregateViews/.vs/XAMARINAggregateViews/xs/project-cache/XAMARINAggregateViews.iOS-Debug|iPhoneSimulator.json
View file @
3f9c4868
This diff is collapsed.
Click to expand it.
AggregateViews/XAMARINAggregateViews/XAMARINAggregateViews.iOS/Info.plist
View file @
3f9c4868
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<
k
e
y
>
CFBundleDisplayName
<
/k
e
y
>
<
k
e
y
>
CFBundleDisplayName
<
/k
e
y
>
<
string
>
XAMARINAggregateViews
<
/string
>
<
string
>
XAMARINAggregateViews
<
/string
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
k
e
y
>
CFBundleIdentifier
<
/k
e
y
>
<
string
>
com.
companyname.XAMARINAggregateViews
<
/string
>
<
string
>
com.
example.iOSCustomAction1
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.0
<
/string
>
<
string
>
1.0
<
/string
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
<
k
e
y
>
UILaunchStoryboardName
<
/k
e
y
>
...
...
AggregateViews/XAMARINAggregateViews/XAMARINAggregateViews.iOS/XAMARINAggregateViews.iOS.csproj
View file @
3f9c4868
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<CodesignEntitlements>
Entitlements.plist
</CodesignEntitlements>
<CodesignEntitlements>
Entitlements.plist
</CodesignEntitlements>
<MtouchLink>
None
</MtouchLink>
<MtouchLink>
None
</MtouchLink>
<MtouchInterpreter>
-all
</MtouchInterpreter>
<MtouchInterpreter>
-all
</MtouchInterpreter>
<CodesignProvision>
iOS Team Provisioning Profile: com.
companyname.XAMARINAggregateViews
</CodesignProvision>
<CodesignProvision>
iOS Team Provisioning Profile: com.
example.iOSCustomAction1
</CodesignProvision>
</PropertyGroup>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|iPhone' "
>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Release|iPhone' "
>
<DebugType>
none
</DebugType>
<DebugType>
none
</DebugType>
...
...
AggregateViews/XAMARINAggregateViews/XAMARINAggregateViews.iOS/mono_crash.115869eaf6.0.json
0 → 100644
View file @
3f9c4868
This diff is collapsed.
Click to expand it.
AggregateViews/XAMARINAggregateViews/XAMARINAggregateViews/MainPage.xaml.cs
View file @
3f9c4868
...
@@ -66,7 +66,10 @@ namespace XAMARINAggregateViews
...
@@ -66,7 +66,10 @@ namespace XAMARINAggregateViews
Padding
=
10
,
Padding
=
10
,
};
};
//the container that aggregates the views has to be accessible, setting his "AutomationProperties.IsInAccessibleTree" property to true
//the container that aggregates the views has to be accessible, setting his "AutomationProperties.IsInAccessibleTree" property to true
AutomationProperties
.
SetIsInAccessibleTree
(
aggregateElements
,
true
);
if
(
Device
.
RuntimePlatform
==
Device
.
Android
)
{
AutomationProperties
.
SetIsInAccessibleTree
(
aggregateElements
,
true
);
}
background
.
Children
.
Add
(
aggregateElements
);
background
.
Children
.
Add
(
aggregateElements
);
//here I create the single views to be aggregated into one single element
//here I create the single views to be aggregated into one single element
...
@@ -94,14 +97,31 @@ namespace XAMARINAggregateViews
...
@@ -94,14 +97,31 @@ namespace XAMARINAggregateViews
aggregateElements
.
Children
.
Add
(
agg2
);
aggregateElements
.
Children
.
Add
(
agg2
);
aggregateElements
.
Children
.
Add
(
agg3
);
aggregateElements
.
Children
.
Add
(
agg3
);
if
(
Device
.
RuntimePlatform
==
Device
.
iOS
)
{
//groupAccessibleItems(aggregateElements);
}
}
private
void
groupAccessibleItems
(
Layout
container
)
{
String
desc
=
""
;
foreach
(
Label
l
in
container
.
Children
)
{
Console
.
WriteLine
(
$"PIPPO: id=
{
l
.
Text
}
"
);
AutomationProperties
.
SetIsInAccessibleTree
(
l
,
false
);
desc
+=
l
.
Text
;
}
Console
.
WriteLine
(
$"PIPPO: totaldesc=
{
desc
}
"
);
AutomationProperties
.
SetIsInAccessibleTree
(
container
,
true
);
AutomationProperties
.
SetName
(
container
,
desc
);
}
}
protected
override
void
OnAppearing
()
protected
override
void
OnAppearing
()
{
{
if
(
Device
.
RuntimePlatform
==
Device
.
iOS
)
if
(
Device
.
RuntimePlatform
==
Device
.
iOS
)
{
{
DependencyService
.
Get
<
IGroupViews
>().
aggregateView
s
(
aggregateElements
);
groupAccessibleItem
s
(
aggregateElements
);
}
}
}
}
...
...
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