diff --git a/android-actionbar-for-2.x.x/.classpath b/android-actionbar-for-2.x.x/.classpath new file mode 100644 index 0000000..7bc01d9 --- /dev/null +++ b/android-actionbar-for-2.x.x/.classpath @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/android-actionbar-for-2.x.x/AndroidManifest.xml b/android-actionbar-for-2.x.x/AndroidManifest.xml new file mode 100644 index 0000000..56cc49e --- /dev/null +++ b/android-actionbar-for-2.x.x/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + diff --git a/android-actionbar-for-2.x.x/ic_launcher-web.png b/android-actionbar-for-2.x.x/ic_launcher-web.png new file mode 100644 index 0000000..a18cbb4 Binary files /dev/null and b/android-actionbar-for-2.x.x/ic_launcher-web.png differ diff --git a/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_action_search.png b/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_action_search.png new file mode 100644 index 0000000..e6b7045 Binary files /dev/null and b/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_action_search.png differ diff --git a/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_content_copy.png b/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_content_copy.png new file mode 100644 index 0000000..623b715 Binary files /dev/null and b/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_content_copy.png differ diff --git a/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_launcher.png b/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..288b665 Binary files /dev/null and b/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_launcher.png differ diff --git a/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_social_share.png b/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_social_share.png new file mode 100644 index 0000000..47ae186 Binary files /dev/null and b/android-actionbar-for-2.x.x/res/drawable-hdpi/ic_social_share.png differ diff --git a/android-actionbar-for-2.x.x/res/drawable-mdpi/ic_launcher.png b/android-actionbar-for-2.x.x/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..6ae570b Binary files /dev/null and b/android-actionbar-for-2.x.x/res/drawable-mdpi/ic_launcher.png differ diff --git a/android-actionbar-for-2.x.x/res/drawable-xhdpi/ic_launcher.png b/android-actionbar-for-2.x.x/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..d4fb7cd Binary files /dev/null and b/android-actionbar-for-2.x.x/res/drawable-xhdpi/ic_launcher.png differ diff --git a/android-actionbar-for-2.x.x/res/drawable-xxhdpi/ic_launcher.png b/android-actionbar-for-2.x.x/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..85a6081 Binary files /dev/null and b/android-actionbar-for-2.x.x/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/android-actionbar-for-2.x.x/res/layout/activity_main.xml b/android-actionbar-for-2.x.x/res/layout/activity_main.xml new file mode 100644 index 0000000..168c9b8 --- /dev/null +++ b/android-actionbar-for-2.x.x/res/layout/activity_main.xml @@ -0,0 +1,16 @@ + + + + + diff --git a/android-actionbar-for-2.x.x/res/menu/main.xml b/android-actionbar-for-2.x.x/res/menu/main.xml new file mode 100644 index 0000000..1b33e28 --- /dev/null +++ b/android-actionbar-for-2.x.x/res/menu/main.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/android-actionbar-for-2.x.x/res/values-sw600dp/dimens.xml b/android-actionbar-for-2.x.x/res/values-sw600dp/dimens.xml new file mode 100644 index 0000000..44f01db --- /dev/null +++ b/android-actionbar-for-2.x.x/res/values-sw600dp/dimens.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/android-actionbar-for-2.x.x/res/values-sw720dp-land/dimens.xml b/android-actionbar-for-2.x.x/res/values-sw720dp-land/dimens.xml new file mode 100644 index 0000000..61e3fa8 --- /dev/null +++ b/android-actionbar-for-2.x.x/res/values-sw720dp-land/dimens.xml @@ -0,0 +1,9 @@ + + + + 128dp + + diff --git a/android-actionbar-for-2.x.x/res/values-v11/styles.xml b/android-actionbar-for-2.x.x/res/values-v11/styles.xml new file mode 100644 index 0000000..3c02242 --- /dev/null +++ b/android-actionbar-for-2.x.x/res/values-v11/styles.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/android-actionbar-for-2.x.x/res/values-v14/styles.xml b/android-actionbar-for-2.x.x/res/values-v14/styles.xml new file mode 100644 index 0000000..a91fd03 --- /dev/null +++ b/android-actionbar-for-2.x.x/res/values-v14/styles.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/android-actionbar-for-2.x.x/res/values/dimens.xml b/android-actionbar-for-2.x.x/res/values/dimens.xml new file mode 100644 index 0000000..55c1e59 --- /dev/null +++ b/android-actionbar-for-2.x.x/res/values/dimens.xml @@ -0,0 +1,7 @@ + + + + 16dp + 16dp + + diff --git a/android-actionbar-for-2.x.x/res/values/strings.xml b/android-actionbar-for-2.x.x/res/values/strings.xml new file mode 100644 index 0000000..0a0d4f7 --- /dev/null +++ b/android-actionbar-for-2.x.x/res/values/strings.xml @@ -0,0 +1,7 @@ + + + + App + Hello world! + + diff --git a/android-actionbar-for-2.x.x/res/values/styles.xml b/android-actionbar-for-2.x.x/res/values/styles.xml new file mode 100644 index 0000000..6ce89c7 --- /dev/null +++ b/android-actionbar-for-2.x.x/res/values/styles.xml @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/android-actionbar-for-2.x.x/src/com/hmkcode/android/MainActivity.java b/android-actionbar-for-2.x.x/src/com/hmkcode/android/MainActivity.java new file mode 100644 index 0000000..b02730e --- /dev/null +++ b/android-actionbar-for-2.x.x/src/com/hmkcode/android/MainActivity.java @@ -0,0 +1,22 @@ +package com.hmkcode.android; + +import android.os.Bundle; +import android.support.v7.app.ActionBarActivity; +import android.view.Menu; + +public class MainActivity extends ActionBarActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + } + + @Override + public boolean onCreateOptionsMenu(Menu menu) { + // Inflate the menu; this adds items to the action bar if it is present. + getMenuInflater().inflate(R.menu.main, menu); + return true; + } + +}