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
641000cd
Commit
641000cd
authored
Apr 08, 2020
by
Poli97
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless code
parent
4cd4e3ac
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
4 additions
and
7 deletions
+4
-7
.DS_Store
FocusOrder/ANDROIDAccessibilityOrder/.DS_Store
+0
-0
.DS_Store
FocusOrder/ANDROIDAccessibilityOrder/app/.DS_Store
+0
-0
.DS_Store
FocusOrder/ANDROIDAccessibilityOrder/app/src/.DS_Store
+0
-0
.DS_Store
FocusOrder/ANDROIDAccessibilityOrder/app/src/main/.DS_Store
+0
-0
.DS_Store
...der/ANDROIDAccessibilityOrder/app/src/main/java/.DS_Store
+0
-0
.DS_Store
...ANDROIDAccessibilityOrder/app/src/main/java/com/.DS_Store
+0
-0
.DS_Store
...ccessibilityOrder/app/src/main/java/com/example/.DS_Store
+0
-0
.DS_Store
...bilityOrder/app/src/main/java/com/example/paolo/.DS_Store
+0
-0
MainActivity.java
...example/paolo/androidaccessibilityorder/MainActivity.java
+4
-7
No files found.
FocusOrder/ANDROIDAccessibilityOrder/.DS_Store
0 → 100644
View file @
641000cd
File added
FocusOrder/ANDROIDAccessibilityOrder/app/.DS_Store
0 → 100644
View file @
641000cd
File added
FocusOrder/ANDROIDAccessibilityOrder/app/src/.DS_Store
0 → 100644
View file @
641000cd
File added
FocusOrder/ANDROIDAccessibilityOrder/app/src/main/.DS_Store
0 → 100644
View file @
641000cd
File added
FocusOrder/ANDROIDAccessibilityOrder/app/src/main/java/.DS_Store
0 → 100644
View file @
641000cd
File added
FocusOrder/ANDROIDAccessibilityOrder/app/src/main/java/com/.DS_Store
0 → 100644
View file @
641000cd
File added
FocusOrder/ANDROIDAccessibilityOrder/app/src/main/java/com/example/.DS_Store
0 → 100644
View file @
641000cd
File added
FocusOrder/ANDROIDAccessibilityOrder/app/src/main/java/com/example/paolo/.DS_Store
0 → 100644
View file @
641000cd
File added
FocusOrder/ANDROIDAccessibilityOrder/app/src/main/java/com/example/paolo/androidaccessibilityorder/MainActivity.java
View file @
641000cd
...
...
@@ -21,14 +21,11 @@ public class MainActivity extends AppCompatActivity {
changeorder
=
new
Button
(
this
);
changeorder
.
setId
(
R
.
id
.
changeOrderButton
);
// Add the ID so that accessibility traversal can identify this view
changeorder
.
setText
(
"Press
o
to change order"
);
changeorder
.
setText
(
"Press to change order"
);
changeorder
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
Log
.
i
(
"BUTTON"
,
"Clicked change order button"
);
b3
.
invalidate
();
b1
.
invalidate
();
b2
.
invalidate
();
//changeorder.setAccessibilityTraversalBefore(b3.getId());
b3
.
setImportantForAccessibility
(
View
.
IMPORTANT_FOR_ACCESSIBILITY_YES
);
b3
.
setAccessibilityTraversalAfter
(
changeorder
.
getId
());
...
...
@@ -44,13 +41,13 @@ public class MainActivity extends AppCompatActivity {
}
});
linearlayout
.
addView
(
changeorder
);
Log
.
i
(
"PIPPO"
,
"ciao"
);
AccessibilityManager
am
=
((
AccessibilityManager
)
getSystemService
(
ACCESSIBILITY_SERVICE
));
if
(
am
.
isEnabled
()){
Log
.
i
(
"
PIPPO"
,
"talkback attivo
"
);
Log
.
i
(
"
SCREENREADER"
,
"talkback enabled
"
);
}
if
(
am
.
isTouchExplorationEnabled
()){
Log
.
i
(
"
PIPPO"
,
"Exploration attiva
"
);
Log
.
i
(
"
SCREENREADER"
,
"Exploration enabled
"
);
}
b1
=
new
Button
(
this
);
...
...
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