gn:act_toLayoutLongClick
- Description
- Action used to change displayed root layout to desired target.
- Action returns
- boolean
Action signatures
Change displayed layout as action
[gn:act_toLayoutLongClick]|[layout]
Parameter | Description |
---|---|
layout | target which will be displayed on the screen
Can be
|
Example
@+id/screen1
- layout
[gn:act_toLayoutLongClick]|[@+id/screen1]
Change displayed layout as widget parameter
gn:act_toLayoutLongClick="target"
Parameter | Description |
---|---|
layout | target which will be displayed on the screen
Can be
|
Example
<Button android:id="@+id/btnMenuNewObject" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/btnMenuNewObject" gn:act_toLayoutLongClick="@+id/add_new_object" />