Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LatinIME
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
LatinIME
Commits
08103a0e
Commit
08103a0e
authored
10 years ago
by
Tadashi G. Takaoka
Browse files
Options
Downloads
Patches
Plain Diff
Show voice key even when important notice is showing
Bug: 14822080 Change-Id: I2a55bb630cf544b6dc31a5e0e6b932c6af268c71
parent
25ec32f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+3
-3
3 additions, 3 deletions
...id/inputmethod/latin/suggestions/SuggestionStripView.java
with
3 additions
and
3 deletions
java/src/com/android/inputmethod/latin/suggestions/SuggestionStripView.java
+
3
−
3
View file @
08103a0e
...
...
@@ -124,9 +124,9 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
mImportantNoticeStrip
.
setVisibility
(
INVISIBLE
);
}
public
void
showImportantNoticeStrip
()
{
public
void
showImportantNoticeStrip
(
final
boolean
enableVoiceKey
)
{
mSuggestionsStrip
.
setVisibility
(
INVISIBLE
);
mVoiceKey
.
setVisibility
(
INVISIBLE
);
mVoiceKey
.
setVisibility
(
enableVoiceKey
?
VISIBLE
:
INVISIBLE
);
mAddToDictionaryStrip
.
setVisibility
(
INVISIBLE
);
mImportantNoticeStrip
.
setVisibility
(
VISIBLE
);
}
...
...
@@ -274,7 +274,7 @@ public final class SuggestionStripView extends RelativeLayout implements OnClick
dismissMoreSuggestionsPanel
();
}
mLayoutHelper
.
layoutImportantNotice
(
mImportantNoticeStrip
,
importantNoticeTitle
);
mStripVisibilityGroup
.
showImportantNoticeStrip
();
mStripVisibilityGroup
.
showImportantNoticeStrip
(
isVoiceKeyEnabled
()
);
mImportantNoticeStrip
.
setOnClickListener
(
this
);
return
true
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment