public class MainActivity
extends Activity
Modifier and Type | Field and Description |
---|---|
protected ButtonAdapter |
buttonArray |
protected ButtonClickListener |
clickHandler |
protected Ipx800Control |
ipx |
static java.lang.String |
TAG |
Constructor and Description |
---|
MainActivity() |
Modifier and Type | Method and Description |
---|---|
Ipx800Control |
getIpx()
getIpx
returns the ipx object
|
protected void |
onCreate(Bundle savedInstanceState)
onCreate
creates if needed a new ButtonAdapter
|
boolean |
onCreateOptionsMenu(Menu menu)
onCreateOptionsMenu
creates the menu atm only the settings
|
View |
onCreateView(View parent,
java.lang.String name,
Context context,
AttributeSet attrs)
onCreateView
finds the different fields, fills in the labels etc. triggers the button-grid-creation
|
boolean |
onOptionsItemSelected(MenuItem item)
onOptionsItemSelected
star the Preference activity when the settings entry is hit
|
void |
onSharedPreferenceChanged(SharedPreferences p1,
java.lang.String p2)
onSharedPreferenceChanged
force the redraw of the grid on change of settings
|
public static final java.lang.String TAG
protected Ipx800Control ipx
protected ButtonClickListener clickHandler
protected ButtonAdapter buttonArray
public Ipx800Control getIpx()
protected void onCreate(Bundle savedInstanceState)
public View onCreateView(View parent, java.lang.String name, Context context, AttributeSet attrs)
public boolean onCreateOptionsMenu(Menu menu)
public boolean onOptionsItemSelected(MenuItem item)
public void onSharedPreferenceChanged(SharedPreferences p1, java.lang.String p2)