From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> <span STYLE="font-size: xx-large"><code>gn:act_setWinBgd</code></span> Category:Action_Library ;Des...")
 
m (formatting)
 
Line 10: Line 10:
 
===Set window background===
 
===Set window background===
  
;<code>[gn:act_setWinBgd]|[source]</code>
+
:;<code>[gn:act_setWinBgd]|[source]</code>
  
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
+
:{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
 
|-
 
|-
 
! scope="col" | Parameter
 
! scope="col" | Parameter
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
| [[source]]
+
| <code>[[source]]</code>
 
| [[source]] which will be used as screen background
 
| [[source]] which will be used as screen background
 
* Valid [[source|sources]]:
 
* Valid [[source|sources]]:
** [https://developer.android.com/guide/topics/resources/drawable-resource.html drawable]
+
** <code>[https://developer.android.com/guide/topics/resources/drawable-resource.html drawable]</code>
 
|-
 
|-
 
|}
 
|}
  
 
====Example====
 
====Example====
<code>@drawable/background</code> - drawable<br><br>
+
:<code>@drawable/background</code> - drawable<br>
<code>[gn:act_setWinBgd]|[@drawable/background]</code>
+
:; ⤷ <code>[gn:act_setWinBgd]|[@drawable/background]</code>
 
<hr>
 
<hr>

Latest revision as of 19:44, 12 July 2017

gn:act_setWinBgd

Description
Action used to change current window background.
Action returns
void

Action signatures

Set window background

[gn:act_setWinBgd]|[source]
Parameter Description
source source which will be used as screen background

Example

@drawable/background - drawable
[gn:act_setWinBgd]|[@drawable/background]