From wiki.ginstr.com
Jump to: navigation, search
(Created page with "<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div> Category:Widgets ;Inherited classes: <code>[http://developer.android.com/reference/android/view/View...")
 
m
Line 1: Line 1:
 
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div>
 
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div>
[[Category:Widgets]]
+
[[Category:Widget_Library]]
 
;Inherited classes: <code>[http://developer.android.com/reference/android/view/View.html View]</code>, <code>[[GnImageView]]</code>
 
;Inherited classes: <code>[http://developer.android.com/reference/android/view/View.html View]</code>, <code>[[GnImageView]]</code>
 
;Android class type: <code>[http://developer.android.com/reference/android/widget/ImageView.html ImageView]</code> with some additional features.
 
;Android class type: <code>[http://developer.android.com/reference/android/widget/ImageView.html ImageView]</code> with some additional features.

Revision as of 14:35, 28 June 2016

Inherited classes
View, GnImageView
Android class type
ImageView with some additional features.
Widget XML tag
<com.ginstr.widgets.GnPhoneAction>

XML Attributes Description

Attribute Description
#gn:s_phone Sets action type for widget to make a phone call
#gn:s_sms Sets action type for widget to text message (SMS)
#gn:s_email Sets action type for widget to email
#gn:s_webpage Sets action type for widget to open webpage
#gn:s_downloadFile Sets action type for widget to download file

gn:s_phone

Sets action type for widget to make a phone call

(String) values = phone number, “”

If “” (empty) initiates phone call app with no number set

gn:s_sms

Sets action type for widget to text message (SMS)

(String) values = phone number, “”

If “” (empty) initiates a text message (SMS) app with no number set

gn:s_email

Sets action type for widget to email

(String) values = some@email.com

gn:s_webpage

Sets action type for widget to open webpage

(String) values = https://www.google.com

gn:s_downloadFile

Sets action type for widget to download file

(String) i.e. values = http://www.someurl.com/somepath/somePicture.jpg