Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
6a9dbfd3
Unverified
Commit
6a9dbfd3
authored
Feb 05, 2020
by
Susan Rati Lane
Committed by
GitHub
Feb 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make ThumbColorActive visible for Switch (#2017)
Change-Id: I49945b654fb131740c6d44028df095bc9cfefeb8
parent
46c7efef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
appinventor/components/src/com/google/appinventor/components/runtime/Switch.java
...src/com/google/appinventor/components/runtime/Switch.java
+1
-1
appinventor/docs/html/reference/components/userinterface.html
...nventor/docs/html/reference/components/userinterface.html
+1
-1
appinventor/docs/markdown/reference/components/userinterface.md
...entor/docs/markdown/reference/components/userinterface.md
+1
-1
No files found.
appinventor/components/src/com/google/appinventor/components/runtime/Switch.java
View file @
6a9dbfd3
...
...
@@ -94,7 +94,7 @@ public final class Switch extends ToggleBase<CompoundButton> {
*
* @return thumb RGB color with alpha
*/
@SimpleProperty
(
category
=
PropertyCategory
.
APPEARANCE
,
userVisible
=
false
)
@SimpleProperty
(
category
=
PropertyCategory
.
APPEARANCE
)
public
int
ThumbColorActive
()
{
return
thumbColorActive
;
}
...
...
appinventor/docs/html/reference/components/userinterface.html
View file @
6a9dbfd3
...
...
@@ -1169,7 +1169,7 @@ having dark grey components.</li>
<dt
id=
"Switch.TextColor"
class=
"color"
><em>
TextColor
</em></dt>
<dd>
Specifies the text color of the
<code
class=
"highlighter-rouge"
>
Switch
</code>
as an alpha-red-green-blue
integer.
</dd>
<dt
id=
"Switch.ThumbColorActive"
class=
"color
do
"
><em>
ThumbColorActive
</em></dt>
<dt
id=
"Switch.ThumbColorActive"
class=
"color"
><em>
ThumbColorActive
</em></dt>
<dd>
Specifies the
<code
class=
"highlighter-rouge"
>
Switch
</code>
’s thumb color when switch is in the On state.
</dd>
<dt
id=
"Switch.ThumbColorInactive"
class=
"color"
><em>
ThumbColorInactive
</em></dt>
<dd>
Specifies the
<code
class=
"highlighter-rouge"
>
Switch
</code>
’s thumb color when switch is in the Off state.
</dd>
...
...
appinventor/docs/markdown/reference/components/userinterface.md
View file @
6a9dbfd3
...
...
@@ -1299,7 +1299,7 @@ A `Spinner` component that displays a dialog with a list of elements. These elem
: Specifies the text color of the `
Switch
` as an alpha-red-green-blue
integer.
{:id="Switch.ThumbColorActive" .color
.do
} *ThumbColorActive*
{:id="Switch.ThumbColorActive" .color} *ThumbColorActive*
: Specifies the `
Switch
`'s thumb color when switch is in the On state.
{:id="Switch.ThumbColorInactive" .color} *ThumbColorInactive*
...
...
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