From cf4498d17cb1261700b761e6adc8bf065a76aa77 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 20 Sep 2016 01:04:48 +0200 Subject: [PATCH] initial navigation setup for menu and activity --- AndroidManifest.xml | 2 + res/drawable-hdpi/ic_cloud_check.png | Bin 0 -> 820 bytes res/drawable-hdpi/ic_uploads.png | Bin 0 -> 284 bytes res/drawable-mdpi/ic_cloud_check.png | Bin 0 -> 608 bytes res/drawable-xhdpi/ic_cloud_check.png | Bin 0 -> 1032 bytes res/drawable-xxhdpi/ic_cloud_check.png | Bin 0 -> 1537 bytes res/drawable-xxxhdpi/ic_cloud_check.png | Bin 0 -> 2090 bytes res/layout/folder_sync_layout.xml | 65 +++++++++++++++++ res/menu/drawer_menu.xml | 5 ++ res/values/strings.xml | 1 + .../android/ui/activity/DrawerActivity.java | 4 ++ .../ui/activity/FolderSyncActivity.java | 68 ++++++++++++++++++ 12 files changed, 145 insertions(+) create mode 100644 res/drawable-hdpi/ic_cloud_check.png create mode 100644 res/drawable-hdpi/ic_uploads.png create mode 100644 res/drawable-mdpi/ic_cloud_check.png create mode 100644 res/drawable-xhdpi/ic_cloud_check.png create mode 100644 res/drawable-xxhdpi/ic_cloud_check.png create mode 100644 res/drawable-xxxhdpi/ic_cloud_check.png create mode 100644 res/layout/folder_sync_layout.xml create mode 100644 src/com/owncloud/android/ui/activity/FolderSyncActivity.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index b55dc60f54..68e07d655f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -74,8 +74,10 @@ + diff --git a/res/drawable-hdpi/ic_cloud_check.png b/res/drawable-hdpi/ic_cloud_check.png new file mode 100644 index 0000000000000000000000000000000000000000..50cf89679167342ba0acbf21c7d6c198838f82e3 GIT binary patch literal 820 zcmV-41Izr0P)_Iq^w?aan^2`v+2Nd--foH%kz-*RfSJE{7b5n()DC%!C z8s7om09)4UtE#U={s#dFit=GxCZETaS{0x7@*75_zvBBTKi)`GIO5i9TbrB~&h#?-f*;RWe~1mYj3*Kxv)K4|$$XCQ0%;EWf~qMP%-O zl3A{b$kRN}57g`R-;9WS+3t)Yaz<5W-zAe}*;qF+0IK?tG3II%MaBRlZHA&+t#-;e zH{L3xs0Hocd9eSH@J(lmYDlv34M=iK;4Wm=dtEFT-* z$2RBOd>DqMR;hwz0EWf){YSvwHUmr6+R6(c-djNRIto~=XqCFjuq3> z(_a{4ZUEa0oTOcz1N-ARUR?RwCrR=>Fbv%NFHJ<`fwlItIF1)#je}PZ1V?}gRUH9# y173j+j^*E_2da9xzrX)-6h-aqg*|%oD1StCl`zW0000|k1|%Oc%$NbB*pj^6U4S$Y{B+)352QE?JR*yM zvQ&rUPlPeufHm>3$$*xu=U`NW|f{SI=@DQ4nZ*n4heinc6L+ChD?b zMXqWuhb8N`4Ksd5C!N@nKG8jptz!|R(xRCiY5jZSfkJW4ZEOV&CE PbTWgdtDnm{r-UW|a57)t literal 0 HcmV?d00001 diff --git a/res/drawable-mdpi/ic_cloud_check.png b/res/drawable-mdpi/ic_cloud_check.png new file mode 100644 index 0000000000000000000000000000000000000000..c48e3a91cb121ed8b0f2a522d646ca8088655301 GIT binary patch literal 608 zcmV-m0-ybfP)H+QWC-{H zcd%Iyivb%EbRnXG1`D;>HG+sBY$arVK#B#&A`9cO*_9YFo1GA_$y=R!&fz)tzV~ur zPybu8U4!rYhg5YQxCk5pegmt(vZ_7|!*F%S13b^02Oa>E87+O_wlT&4x>Z9V3+}q^ zT@krAs%KC;=Qz&(cDwy<>=SsNR|S^Gv2Z9=y%dJw%guRf7z9BunIy?|5t#!{=79r< z$bI0|W~&6C(P)$`%X$MG&%tb|>XL{&*yrFymr~+?&-(Lg} z&+|S3r!#nqz)|4JVErtP4-)7Hr#|0S;&QeP%eM+wE#jIKa9EJRNZdh)CeN?%y~E z9N>%8>-A!>So|y^d7kN5Qq`G>X0y4Trs;X$+it=|9Vjwi(u`WQB&H+%+H55ON>c2Ni)+0=ku1# zIluGyp1GV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+ + + + \ No newline at end of file diff --git a/res/menu/drawer_menu.xml b/res/menu/drawer_menu.xml index 0679e5e987..0493f76801 100644 --- a/res/menu/drawer_menu.xml +++ b/res/menu/drawer_menu.xml @@ -37,6 +37,11 @@ android:id="@+id/nav_uploads" android:icon="@drawable/ic_uploads" android:title="@string/drawer_item_uploads_list"/> +