commit e7511d0041f2efd1969410eed7a2fcd6f3d5c12f Author: Gabriele M Date: Sun Jul 2 17:46:36 2017 +0200 Project init diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..aad3dcf --- /dev/null +++ b/Android.mk @@ -0,0 +1,37 @@ +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) + +LOCAL_MODULE_TAGS := optional + +LOCAL_SRC_FILES := $(call all-java-files-under, src) + +LOCAL_STATIC_JAVA_LIBRARIES := \ + android-support-design \ + android-support-v4 \ + android-support-v7-appcompat \ + android-support-v7-cardview \ + android-support-v7-preference \ + android-support-v7-recyclerview \ + okhttp + +LOCAL_RESOURCE_DIR := \ + $(TOP)/frameworks/support/design/res \ + $(TOP)/frameworks/support/v7/appcompat/res \ + $(TOP)/frameworks/support/v7/cardview/res \ + $(TOP)/frameworks/support/v7/preference/res \ + $(TOP)/frameworks/support/v7/recyclerview/res \ + $(LOCAL_PATH)/res + +LOCAL_AAPT_FLAGS := \ + --auto-add-overlay \ + --extra-packages android.support.design \ + --extra-packages android.support.v7.appcompat \ + --extra-packages android.support.v7.cardview \ + --extra-packages android.support.v7.preference \ + --extra-packages android.support.v7.recyclerview + +LOCAL_PACKAGE_NAME := Updater +LOCAL_PRIVILEGED_MODULE := true + +include $(BUILD_PACKAGE) diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..f441156 --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..030e540 Binary files /dev/null and b/res/drawable-hdpi/ic_launcher.png differ diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..b71eea1 Binary files /dev/null and b/res/drawable-mdpi/ic_launcher.png differ diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..37fbfc1 Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher.png differ diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..73fb731 Binary files /dev/null and b/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/res/drawable-xxxhdpi/ic_launcher.png b/res/drawable-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..80acfa7 Binary files /dev/null and b/res/drawable-xxxhdpi/ic_launcher.png differ diff --git a/res/drawable/ic_system_update.xml b/res/drawable/ic_system_update.xml new file mode 100644 index 0000000..321b0c8 --- /dev/null +++ b/res/drawable/ic_system_update.xml @@ -0,0 +1,11 @@ + + + + + diff --git a/res/layout/activity_updates.xml b/res/layout/activity_updates.xml new file mode 100644 index 0000000..23e0f0d --- /dev/null +++ b/res/layout/activity_updates.xml @@ -0,0 +1,13 @@ + + + + + diff --git a/res/layout/fragment_updates_list.xml b/res/layout/fragment_updates_list.xml new file mode 100644 index 0000000..3641b61 --- /dev/null +++ b/res/layout/fragment_updates_list.xml @@ -0,0 +1,14 @@ + + + + + + diff --git a/res/layout/update_item_view.xml b/res/layout/update_item_view.xml new file mode 100644 index 0000000..b6de496 --- /dev/null +++ b/res/layout/update_item_view.xml @@ -0,0 +1,31 @@ + + + +