diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-05-07 13:40:20 -0400 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-05-07 13:40:20 -0400 |
commit | d638ffcc7f9fdf00c82980019957ef36be33421a (patch) | |
tree | e8df453218c2cb3953968a153c5810020ec3e11a | |
parent | fac4b2b460ba84cc38fb75ecbf09755528050bc7 (diff) |
added a buttom for upload
-rw-r--r-- | res/layout/gestures_list.xml | 10 | ||||
-rwxr-xr-x | res/raw/gestures | bin | 77922 -> 81244 bytes | |||
-rw-r--r-- | res/values/strings.xml | 1 | ||||
-rw-r--r-- | src/us/minak/SettingsActivity.java | 8 |
4 files changed, 19 insertions, 0 deletions
diff --git a/res/layout/gestures_list.xml b/res/layout/gestures_list.xml index bdbe1f5..a75c3e1 100644 --- a/res/layout/gestures_list.xml +++ b/res/layout/gestures_list.xml @@ -66,6 +66,16 @@ android:layout_height="wrap_content" android:layout_weight="1" style="?android:attr/buttonBarButtonStyle" /> + + + <Button + android:id="@+id/uploadButton" + android:onClick="uploadGestures" + android:text="@string/button_upload" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + style="?android:attr/buttonBarButtonStyle" /> </LinearLayout> diff --git a/res/raw/gestures b/res/raw/gestures Binary files differindex 097ba09..0115d3c 100755 --- a/res/raw/gestures +++ b/res/raw/gestures diff --git a/res/values/strings.xml b/res/values/strings.xml index 60803b0..bd49c64 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -38,5 +38,6 @@ <!-- Labels for buttons --> <string name="button_backspace">←</string> + <string name="button_upload">Upload</string> </resources> diff --git a/src/us/minak/SettingsActivity.java b/src/us/minak/SettingsActivity.java index a3dea5c..ecbc397 100644 --- a/src/us/minak/SettingsActivity.java +++ b/src/us/minak/SettingsActivity.java @@ -90,6 +90,14 @@ public class SettingsActivity extends ListActivity { // Basic life-cycle /////////////////////////////////////////////////////// + + public void postGesture(){ + + + } + + /////////////////////////////// + @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); |