Contents
GnPreferencesButton
- Widget XML tag
<com.ginstr.widgets.GnPreferencesButton>
- Description
GnPreferencesButton
is represented by a button.- When clicked it launches Preferences activity of ginstr launcher.
XML Attributes Description
Attribute | Description |
---|---|
gn:setBackgroundPressed | Defines the color of button pressed state
Can be
|
Example
<com.ginstr.widgets.GnPreferencesButton android:id="@+id/imageSettings" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@+id/logoutIcon" android:background="@drawable/settings" gn:setBackgroundPressed="@drawable/settingsPressed" />