From wiki.ginstr.com
Jump to: navigation, search
m (XML Attributes Description)
m
Line 2: Line 2:
 
[[Category:Widget_Library]]
 
[[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>
 
;Widget XML tag: <code><com.ginstr.widgets.GnPhoneAction></code>
 
;Widget XML tag: <code><com.ginstr.widgets.GnPhoneAction></code>
  

Revision as of 12:20, 29 June 2016

Inherited classes
View, GnImageView
Android class type
ImageView
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