├── .github └── ISSUE_TEMPLATE │ └── feature_request.md ├── EasyDataStorage.iml ├── README.md ├── _config.yml ├── app ├── app.iml ├── build.gradle ├── build │ ├── generated │ │ └── source │ │ │ ├── buildConfig │ │ │ └── debug │ │ │ │ └── com │ │ │ │ └── neeloy │ │ │ │ └── lib │ │ │ │ └── data │ │ │ │ └── storage │ │ │ │ └── BuildConfig.java │ │ │ └── r │ │ │ └── debug │ │ │ └── com │ │ │ └── neeloy │ │ │ └── lib │ │ │ └── data │ │ │ └── storage │ │ │ └── R.java │ ├── intermediates │ │ ├── attr │ │ │ └── R.txt │ │ ├── incremental │ │ │ ├── compileDebugAidl │ │ │ │ └── dependency.store │ │ │ └── packageDebugResources │ │ │ │ ├── compile-file-map.properties │ │ │ │ ├── merged.dir │ │ │ │ └── values │ │ │ │ │ └── values.xml │ │ │ │ └── merger.xml │ │ ├── manifests │ │ │ ├── aapt │ │ │ │ └── debug │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ └── output.json │ │ │ └── full │ │ │ │ └── debug │ │ │ │ ├── AndroidManifest.xml │ │ │ │ └── output.json │ │ ├── packaged_res │ │ │ └── debug │ │ │ │ └── values │ │ │ │ └── values.xml │ │ ├── res │ │ │ └── symbol-table-with-package │ │ │ │ └── debug │ │ │ │ └── package-aware-r.txt │ │ └── symbols │ │ │ └── debug │ │ │ └── R.txt │ └── outputs │ │ └── logs │ │ └── manifest-merger-debug-report.txt ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── neeloy │ │ └── lib │ │ └── data │ │ └── storage │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── neeloy │ │ │ └── lib │ │ │ └── data │ │ │ └── storage │ │ │ ├── StorageUtility.java │ │ │ └── utils │ │ │ ├── AbsPrefs.java │ │ │ ├── Prefs.java │ │ │ └── TinyDB.java │ └── res │ │ └── values │ │ └── strings.xml │ └── test │ └── java │ └── com │ └── neeloy │ └── lib │ └── data │ └── storage │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── local.properties └── settings.gradle /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | labels: 5 | 6 | --- 7 | 8 | **Is your feature request related to a problem? Please describe.** 9 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 10 | 11 | **Describe the solution you'd like** 12 | A clear and concise description of what you want to happen. 13 | 14 | **Describe alternatives you've considered** 15 | A clear and concise description of any alternative solutions or features you've considered. 16 | 17 | **Additional context** 18 | Add any other context or screenshots about the feature request here. 19 | -------------------------------------------------------------------------------- /EasyDataStorage.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | EasyDataStorage 2 | ======= 3 | 4 | Easy data storage is a library where users can stored their data in Shared Preferences in easier way. It provides to store the data in all primitive data type format as well as object and list of custom object format. 5 | 6 | ## How to build 7 | 8 | Add Jitpack.io to your project level build.gradle file 9 | ```gradle 10 | allprojects { 11 | repositories { 12 | maven { url 'https://jitpack.io' } 13 | } 14 | } 15 | ``` 16 | 17 | And then in the other gradle file(may be your app gradle or your own module library gradle, but never add in both of them to avoid conflict.) 18 | ```java 19 | dependencies { 20 | implementation 'com.github.neeloyghosh1990:EasyDataStorage:v1.0' 21 | } 22 | ``` 23 | ## How to use 24 | 1) Initialize the StorageUtility Class like this- 25 | ```java 26 | StorageUtility.initLibrary(this); 27 | ``` 28 | 2) Then to store and retrieve Data use the functions like this- 29 | 30 | **For String:** 31 | ```java 32 | StorageUtility.setStringData(,); 33 | StorageUtility.getStringData(); 34 | ``` 35 | 36 | **For Integer:** 37 | ```java 38 | StorageUtility.setIntData(,); 39 | StorageUtility.getIntData(); 40 | ``` 41 | **For Boolean:** 42 | ```java 43 | StorageUtility.setBooleanData(,); 44 | StorageUtility.getBooleanData(); 45 | ``` 46 | **For Double:** 47 | ```java 48 | StorageUtility.setDoubleData(,); 49 | StorageUtility.getDoubleData(); 50 | ``` 51 | **For Long:** 52 | ```java 53 | StorageUtility.setLongData(,); 54 | StorageUtility.getLongData(); 55 | ``` 56 | **For Object:** 57 | ```java 58 | StorageUtility.setObject(,); 59 | StorageUtility.getObject(,<.class type of the object>); 60 | ``` 61 | **Eg:** 62 | ```java 63 | StorageUtility.setObject("obj",PassengerDetails.class); 64 | StorageUtility.getObject("obj",PassengerDetails.class); 65 | ``` 66 | **For List:** 67 | ```java 68 | StorageUtility.setListObject(,>); 69 | StorageUtility.getListObject(,<.class type of the object>); 70 | ``` 71 | **Eg:** 72 | ```java 73 | ArrayListlist=new ArrayList(); 74 | StorageUtility.setListObject("obj",list); 75 | StorageUtility.getListObject("obj",PassengerDetails.class); 76 | ``` 77 | **For Image:** 78 | ```java 79 | StorageUtility.saveImage(,,); 80 | StorageUtility.getSavedImage(); 81 | ``` 82 | 83 | 3) Then to clear all the data- 84 | ```java 85 | StorageUtility.clearAllData(); 86 | ``` 87 | ##### Any Queries? or Feedback, please let me know by opening a [new issue](https://github.com/neeloyghosh1990/EasyDataStorage/issues/new)! 88 | 89 | ## Contact 90 | #### Neeloy Ghosh 91 | 92 | * :email: e-mail: neeloy.ghosh@gmail.com 93 | 94 | 95 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-slate -------------------------------------------------------------------------------- /app/app.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | //apply plugin: 'com.novoda.bintray-release' 2 | apply plugin: 'com.android.library' 3 | apply plugin: 'com.github.dcendents.android-maven' 4 | 5 | group='com.github.nelloyghosh1990' 6 | //publish { 7 | // 8 | // def groupProjectID = 'com.neeloy.lib.data.storage' 9 | // def artifactProjectID = 'EasyDataStorage' 10 | // def publishVersionID = '0.1.0' 11 | // 12 | // userOrg = 'neeloyghosh1990' 13 | // repoName = 'EasyDataSorage' 14 | // groupId = groupProjectID 15 | // artifactId = artifactProjectID 16 | // publishVersion = publishVersionID 17 | // desc = 'Easy data storage is a library where users can stored their data in Shared Preferences in easier way. It provides to store the data in all primitive data type format as well as object and list of custom object format.' 18 | // website = 'https://github.com/neeloyghosh1990/EasyDataStorage' 19 | //} 20 | 21 | android { 22 | compileSdkVersion 28 23 | defaultConfig { 24 | minSdkVersion 19 25 | targetSdkVersion 28 26 | versionCode 1 27 | versionName "1.0" 28 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 29 | } 30 | 31 | } 32 | 33 | 34 | 35 | 36 | dependencies { 37 | compile 'com.google.code.gson:gson:2.6.2' 38 | implementation "android.arch.work:work-runtime:1.0.0-alpha01" 39 | } 40 | -------------------------------------------------------------------------------- /app/build/generated/source/buildConfig/debug/com/neeloy/lib/data/storage/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Automatically generated file. DO NOT MODIFY 3 | */ 4 | package com.neeloy.lib.data.storage; 5 | 6 | public final class BuildConfig { 7 | public static final boolean DEBUG = Boolean.parseBoolean("true"); 8 | public static final String APPLICATION_ID = "com.neeloy.lib.data.storage"; 9 | public static final String BUILD_TYPE = "debug"; 10 | public static final String FLAVOR = ""; 11 | public static final int VERSION_CODE = 1; 12 | public static final String VERSION_NAME = "1.0"; 13 | } 14 | -------------------------------------------------------------------------------- /app/build/generated/source/r/debug/com/neeloy/lib/data/storage/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * gradle plugin from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | package com.neeloy.lib.data.storage; 8 | 9 | public final class R { 10 | public static final class string { 11 | public static int app_name = 0x7f150001; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /app/build/intermediates/attr/R.txt: -------------------------------------------------------------------------------- 1 | int attr absListViewStyle 0x0101006a 2 | int attr accessibilityEventTypes 0x01010380 3 | int attr accessibilityFeedbackType 0x01010382 4 | int attr accessibilityFlags 0x01010384 5 | int attr accessibilityHeading 0x01010580 6 | int attr accessibilityLiveRegion 0x010103ee 7 | int attr accessibilityPaneTitle 0x0101057c 8 | int attr accessibilityTraversalAfter 0x010104d2 9 | int attr accessibilityTraversalBefore 0x010104d1 10 | int attr accountPreferences 0x0101029f 11 | int attr accountType 0x0101028f 12 | int attr action 0x0101002d 13 | int attr actionBarDivider 0x0101039b 14 | int attr actionBarItemBackground 0x0101039c 15 | int attr actionBarPopupTheme 0x0101048d 16 | int attr actionBarSize 0x010102eb 17 | int attr actionBarSplitStyle 0x01010388 18 | int attr actionBarStyle 0x010102ce 19 | int attr actionBarTabBarStyle 0x010102f4 20 | int attr actionBarTabStyle 0x010102f3 21 | int attr actionBarTabTextStyle 0x010102f5 22 | int attr actionBarTheme 0x01010431 23 | int attr actionBarWidgetTheme 0x01010397 24 | int attr actionButtonStyle 0x010102d8 25 | int attr actionDropDownStyle 0x010102d7 26 | int attr actionLayout 0x010102fb 27 | int attr actionMenuTextAppearance 0x01010360 28 | int attr actionMenuTextColor 0x01010361 29 | int attr actionModeBackground 0x010102db 30 | int attr actionModeCloseButtonStyle 0x010102f7 31 | int attr actionModeCloseDrawable 0x010102dc 32 | int attr actionModeCopyDrawable 0x01010312 33 | int attr actionModeCutDrawable 0x01010311 34 | int attr actionModeFindDrawable 0x0101047a 35 | int attr actionModePasteDrawable 0x01010313 36 | int attr actionModeSelectAllDrawable 0x0101037e 37 | int attr actionModeShareDrawable 0x01010479 38 | int attr actionModeSplitBackground 0x0101039d 39 | int attr actionModeStyle 0x01010394 40 | int attr actionModeWebSearchDrawable 0x0101047b 41 | int attr actionOverflowButtonStyle 0x010102f6 42 | int attr actionOverflowMenuStyle 0x01010444 43 | int attr actionProviderClass 0x01010389 44 | int attr actionViewClass 0x010102fc 45 | int attr activatedBackgroundIndicator 0x010102fd 46 | int attr activityCloseEnterAnimation 0x010100ba 47 | int attr activityCloseExitAnimation 0x010100bb 48 | int attr activityOpenEnterAnimation 0x010100b8 49 | int attr activityOpenExitAnimation 0x010100b9 50 | int attr addPrintersActivity 0x010103e6 51 | int attr addStatesFromChildren 0x010100f0 52 | int attr adjustViewBounds 0x0101011e 53 | int attr advancedPrintOptionsActivity 0x010103f1 54 | int attr alertDialogIcon 0x01010355 55 | int attr alertDialogStyle 0x0101005d 56 | int attr alertDialogTheme 0x01010309 57 | int attr alignmentMode 0x0101037a 58 | int attr allContactsName 0x010102cc 59 | int attr allowBackup 0x01010280 60 | int attr allowClearUserData 0x01010005 61 | int attr allowEmbedded 0x010103f5 62 | int attr allowParallelSyncs 0x01010332 63 | int attr allowSingleTap 0x01010259 64 | int attr allowTaskReparenting 0x01010204 65 | int attr allowUndo 0x010104df 66 | int attr alpha 0x0101031f 67 | int attr alphabeticModifiers 0x0101054e 68 | int attr alphabeticShortcut 0x010101e3 69 | int attr alwaysDrawnWithCache 0x010100ef 70 | int attr alwaysRetainTaskState 0x01010203 71 | int attr amPmBackgroundColor 0x010104a5 72 | int attr amPmTextColor 0x010104a4 73 | int attr ambientShadowAlpha 0x010104be 74 | int attr angle 0x010101a0 75 | int attr animateFirstView 0x010102d5 76 | int attr animateLayoutChanges 0x010102f2 77 | int attr animateOnClick 0x0101025c 78 | int attr animation 0x010101cd 79 | int attr animationCache 0x010100ed 80 | int attr animationDuration 0x01010112 81 | int attr animationOrder 0x010101ce 82 | int attr animationResolution 0x0101031a 83 | int attr antialias 0x0101011a 84 | int attr anyDensity 0x0101026c 85 | int attr apduServiceBanner 0x010103ed 86 | int attr apiKey 0x01010211 87 | int attr appCategory 0x01010545 88 | int attr appComponentFactory 0x0101057a 89 | int attr author 0x010102b4 90 | int attr authorities 0x01010018 91 | int attr autoAdvanceViewId 0x0101030f 92 | int attr autoCompleteTextViewStyle 0x0101006b 93 | int attr autoLink 0x010100b0 94 | int attr autoMirrored 0x010103ea 95 | int attr autoRemoveFromRecents 0x01010447 96 | int attr autoSizeMaxTextSize 0x01010546 97 | int attr autoSizeMinTextSize 0x01010538 98 | int attr autoSizePresetSizes 0x01010537 99 | int attr autoSizeStepGranularity 0x01010536 100 | int attr autoSizeTextType 0x01010535 101 | int attr autoStart 0x010102b5 102 | int attr autoText 0x0101016a 103 | int attr autoUrlDetect 0x0101028c 104 | int attr autoVerify 0x010104ee 105 | int attr autofillHints 0x01010556 106 | int attr autofilledHighlight 0x01010568 107 | int attr background 0x010100d4 108 | int attr backgroundDimAmount 0x01010032 109 | int attr backgroundDimEnabled 0x0101021f 110 | int attr backgroundSplit 0x0101038b 111 | int attr backgroundStacked 0x0101038a 112 | int attr backgroundTint 0x0101046b 113 | int attr backgroundTintMode 0x0101046c 114 | int attr backupAgent 0x0101027f 115 | int attr backupInForeground 0x0101051a 116 | int attr banner 0x010103f2 117 | int attr baseline 0x0101031c 118 | int attr baselineAlignBottom 0x01010122 119 | int attr baselineAligned 0x01010126 120 | int attr baselineAlignedChildIndex 0x01010127 121 | int attr bitmap 0x01010516 122 | int attr borderlessButtonStyle 0x0101032b 123 | int attr bottom 0x010101b0 124 | int attr bottomBright 0x010100cd 125 | int attr bottomDark 0x010100c9 126 | int attr bottomLeftRadius 0x010101ab 127 | int attr bottomMedium 0x010100ce 128 | int attr bottomOffset 0x01010257 129 | int attr bottomRightRadius 0x010101ac 130 | int attr breadCrumbShortTitle 0x01010304 131 | int attr breadCrumbTitle 0x01010303 132 | int attr breakStrategy 0x010104dd 133 | int attr bufferType 0x0101014e 134 | int attr button 0x01010107 135 | int attr buttonBarButtonStyle 0x0101032f 136 | int attr buttonBarNegativeButtonStyle 0x0101048b 137 | int attr buttonBarNeutralButtonStyle 0x0101048a 138 | int attr buttonBarPositiveButtonStyle 0x01010489 139 | int attr buttonBarStyle 0x0101032e 140 | int attr buttonCornerRadius 0x01010575 141 | int attr buttonGravity 0x010104fe 142 | int attr buttonStyle 0x01010048 143 | int attr buttonStyleInset 0x0101004a 144 | int attr buttonStyleSmall 0x01010049 145 | int attr buttonStyleToggle 0x0101004b 146 | int attr buttonTint 0x0101046f 147 | int attr buttonTintMode 0x01010470 148 | int attr cacheColorHint 0x01010101 149 | int attr calendarTextColor 0x0101049b 150 | int attr calendarViewShown 0x0101034c 151 | int attr calendarViewStyle 0x0101035d 152 | int attr canControlMagnification 0x01010507 153 | int attr canPerformGestures 0x0101050d 154 | int attr canRecord 0x0101051c 155 | int attr canRequestEnhancedWebAccessibility 0x010103d8 156 | int attr canRequestFilterKeyEvents 0x010103d9 157 | int attr canRequestFingerprintGestures 0x0101054d 158 | int attr canRequestTouchExplorationMode 0x010103d7 159 | int attr canRetrieveWindowContent 0x01010385 160 | int attr candidatesTextStyleSpans 0x01010230 161 | int attr cantSaveState 0x0101056e 162 | int attr capitalize 0x01010169 163 | int attr category 0x010103e8 164 | int attr centerBright 0x010100cc 165 | int attr centerColor 0x0101020b 166 | int attr centerDark 0x010100c8 167 | int attr centerMedium 0x010100cf 168 | int attr centerX 0x010101a2 169 | int attr centerY 0x010101a3 170 | int attr certDigest 0x01010548 171 | int attr checkBoxPreferenceStyle 0x0101008f 172 | int attr checkMark 0x01010108 173 | int attr checkMarkTint 0x010104a7 174 | int attr checkMarkTintMode 0x010104a8 175 | int attr checkable 0x010101e5 176 | int attr checkableBehavior 0x010101e0 177 | int attr checkboxStyle 0x0101006c 178 | int attr checked 0x01010106 179 | int attr checkedButton 0x01010148 180 | int attr checkedTextViewStyle 0x010103c8 181 | int attr childDivider 0x01010111 182 | int attr childIndicator 0x0101010c 183 | int attr childIndicatorEnd 0x010103d4 184 | int attr childIndicatorLeft 0x0101010f 185 | int attr childIndicatorRight 0x01010110 186 | int attr childIndicatorStart 0x010103d3 187 | int attr choiceMode 0x0101012b 188 | int attr classLoader 0x0101056b 189 | int attr clearTaskOnLaunch 0x01010015 190 | int attr clickable 0x010100e5 191 | int attr clipChildren 0x010100ea 192 | int attr clipOrientation 0x0101020a 193 | int attr clipToPadding 0x010100eb 194 | int attr closeIcon 0x01010481 195 | int attr codes 0x01010242 196 | int attr collapseColumns 0x0101014b 197 | int attr collapseContentDescription 0x010104d0 198 | int attr collapseIcon 0x010104ff 199 | int attr color 0x010101a5 200 | int attr colorAccent 0x01010435 201 | int attr colorActivatedHighlight 0x01010390 202 | int attr colorBackground 0x01010031 203 | int attr colorBackgroundCacheHint 0x010102ab 204 | int attr colorBackgroundFloating 0x010104e2 205 | int attr colorButtonNormal 0x0101042b 206 | int attr colorControlActivated 0x0101042a 207 | int attr colorControlHighlight 0x0101042c 208 | int attr colorControlNormal 0x01010429 209 | int attr colorEdgeEffect 0x010104ce 210 | int attr colorError 0x01010543 211 | int attr colorFocusedHighlight 0x0101038f 212 | int attr colorForeground 0x01010030 213 | int attr colorForegroundInverse 0x01010206 214 | int attr colorLongPressedHighlight 0x0101038e 215 | int attr colorMode 0x0101054a 216 | int attr colorMultiSelectHighlight 0x01010391 217 | int attr colorPressedHighlight 0x0101038d 218 | int attr colorPrimary 0x01010433 219 | int attr colorPrimaryDark 0x01010434 220 | int attr colorSecondary 0x01010530 221 | int attr columnCount 0x01010377 222 | int attr columnDelay 0x010101cf 223 | int attr columnOrderPreserved 0x01010378 224 | int attr columnWidth 0x01010117 225 | int attr commitIcon 0x01010485 226 | int attr compatibleWidthLimitDp 0x01010365 227 | int attr completionHint 0x01010172 228 | int attr completionHintView 0x01010173 229 | int attr completionThreshold 0x01010174 230 | int attr configChanges 0x0101001f 231 | int attr configure 0x0101025d 232 | int attr constantSize 0x01010196 233 | int attr content 0x0101025b 234 | int attr contentAgeHint 0x010104b9 235 | int attr contentAuthority 0x01010290 236 | int attr contentDescription 0x01010273 237 | int attr contentInsetEnd 0x01010454 238 | int attr contentInsetEndWithActions 0x01010523 239 | int attr contentInsetLeft 0x01010455 240 | int attr contentInsetRight 0x01010456 241 | int attr contentInsetStart 0x01010453 242 | int attr contentInsetStartWithNavigation 0x01010522 243 | int attr contextClickable 0x010104e7 244 | int attr contextDescription 0x0101052e 245 | int attr contextPopupMenuStyle 0x01010501 246 | int attr contextUri 0x0101052d 247 | int attr controlX1 0x010103fc 248 | int attr controlX2 0x010103fe 249 | int attr controlY1 0x010103fd 250 | int attr controlY2 0x010103ff 251 | int attr countDown 0x0101051b 252 | int attr country 0x010104ba 253 | int attr cropToPadding 0x01010123 254 | int attr cursorVisible 0x01010152 255 | int attr customNavigationLayout 0x010102d2 256 | int attr customTokens 0x0101033b 257 | int attr cycles 0x010101d4 258 | int attr dashGap 0x010101a7 259 | int attr dashWidth 0x010101a6 260 | int attr data 0x0101002e 261 | int attr datePickerDialogTheme 0x010104ac 262 | int attr datePickerMode 0x010104b3 263 | int attr datePickerStyle 0x0101035c 264 | int attr dateTextAppearance 0x01010349 265 | int attr dayOfWeekBackground 0x01010494 266 | int attr dayOfWeekTextAppearance 0x01010495 267 | int attr debuggable 0x0101000f 268 | int attr defaultFocusHighlightEnabled 0x01010562 269 | int attr defaultHeight 0x010104f5 270 | int attr defaultToDeviceProtectedStorage 0x01010504 271 | int attr defaultValue 0x010101ed 272 | int attr defaultWidth 0x010104f4 273 | int attr delay 0x010101cc 274 | int attr dependency 0x010101ec 275 | int attr descendantFocusability 0x010100f1 276 | int attr description 0x01010020 277 | int attr detachWallpaper 0x010102a6 278 | int attr detailColumn 0x010102a3 279 | int attr detailSocialSummary 0x010102a4 280 | int attr detailsElementBackground 0x0101034e 281 | int attr dial 0x01010102 282 | int attr dialogCornerRadius 0x01010571 283 | int attr dialogIcon 0x010101f4 284 | int attr dialogLayout 0x010101f7 285 | int attr dialogMessage 0x010101f3 286 | int attr dialogPreferenceStyle 0x01010091 287 | int attr dialogPreferredPadding 0x010104d3 288 | int attr dialogTheme 0x01010308 289 | int attr dialogTitle 0x010101f2 290 | int attr digits 0x01010166 291 | int attr directBootAware 0x01010505 292 | int attr direction 0x010101d1 293 | int attr directionDescriptions 0x010103a1 294 | int attr directionPriority 0x010101d2 295 | int attr disableDependentsState 0x010101f1 296 | int attr disabledAlpha 0x01010033 297 | int attr displayOptions 0x010102d0 298 | int attr dither 0x0101011c 299 | int attr divider 0x01010129 300 | int attr dividerHeight 0x0101012a 301 | int attr dividerHorizontal 0x0101032c 302 | int attr dividerPadding 0x0101032a 303 | int attr dividerVertical 0x0101030a 304 | int attr documentLaunchMode 0x01010445 305 | int attr drawSelectorOnTop 0x010100fc 306 | int attr drawable 0x01010199 307 | int attr drawableBottom 0x0101016e 308 | int attr drawableEnd 0x01010393 309 | int attr drawableLeft 0x0101016f 310 | int attr drawablePadding 0x01010171 311 | int attr drawableRight 0x01010170 312 | int attr drawableStart 0x01010392 313 | int attr drawableTint 0x010104d6 314 | int attr drawableTintMode 0x010104d7 315 | int attr drawableTop 0x0101016d 316 | int attr drawingCacheQuality 0x010100e8 317 | int attr dropDownAnchor 0x01010263 318 | int attr dropDownHeight 0x01010283 319 | int attr dropDownHintAppearance 0x01010088 320 | int attr dropDownHorizontalOffset 0x010102ac 321 | int attr dropDownItemStyle 0x01010086 322 | int attr dropDownListViewStyle 0x0101006d 323 | int attr dropDownSelector 0x01010175 324 | int attr dropDownSpinnerStyle 0x010102d6 325 | int attr dropDownVerticalOffset 0x010102ad 326 | int attr dropDownWidth 0x01010262 327 | int attr duplicateParentState 0x010100e9 328 | int attr duration 0x01010198 329 | int attr editTextBackground 0x01010352 330 | int attr editTextColor 0x01010351 331 | int attr editTextPreferenceStyle 0x01010092 332 | int attr editTextStyle 0x0101006e 333 | int attr editable 0x0101016b 334 | int attr editorExtras 0x01010224 335 | int attr elegantTextHeight 0x0101045d 336 | int attr elevation 0x01010440 337 | int attr ellipsize 0x010100ab 338 | int attr ems 0x01010158 339 | int attr enableVrMode 0x01010525 340 | int attr enabled 0x0101000e 341 | int attr end 0x010104dc 342 | int attr endColor 0x0101019e 343 | int attr endX 0x01010512 344 | int attr endY 0x01010513 345 | int attr endYear 0x0101017d 346 | int attr enterFadeDuration 0x0101030c 347 | int attr entries 0x010100b2 348 | int attr entryValues 0x010101f8 349 | int attr eventsInterceptionEnabled 0x0101027d 350 | int attr excludeClass 0x01010442 351 | int attr excludeFromRecents 0x01010017 352 | int attr excludeId 0x01010441 353 | int attr excludeName 0x0101044e 354 | int attr exitFadeDuration 0x0101030d 355 | int attr expandableListPreferredChildIndicatorLeft 0x01010052 356 | int attr expandableListPreferredChildIndicatorRight 0x01010053 357 | int attr expandableListPreferredChildPaddingLeft 0x0101004f 358 | int attr expandableListPreferredItemIndicatorLeft 0x01010050 359 | int attr expandableListPreferredItemIndicatorRight 0x01010051 360 | int attr expandableListPreferredItemPaddingLeft 0x0101004e 361 | int attr expandableListViewStyle 0x0101006f 362 | int attr expandableListViewWhiteStyle 0x010102b6 363 | int attr exported 0x01010010 364 | int attr externalService 0x0101050e 365 | int attr extraTension 0x0101026b 366 | int attr extractNativeLibs 0x010104ea 367 | int attr factor 0x010101d3 368 | int attr fadeDuration 0x01010278 369 | int attr fadeEnabled 0x0101027e 370 | int attr fadeOffset 0x01010277 371 | int attr fadeScrollbars 0x010102aa 372 | int attr fadingEdge 0x010100df 373 | int attr fadingEdgeLength 0x010100e0 374 | int attr fadingMode 0x010103e1 375 | int attr fallbackLineSpacing 0x0101057b 376 | int attr fastScrollAlwaysVisible 0x01010335 377 | int attr fastScrollEnabled 0x01010226 378 | int attr fastScrollOverlayPosition 0x0101033a 379 | int attr fastScrollPreviewBackgroundLeft 0x01010337 380 | int attr fastScrollPreviewBackgroundRight 0x01010338 381 | int attr fastScrollStyle 0x010103f7 382 | int attr fastScrollTextColor 0x01010359 383 | int attr fastScrollThumbDrawable 0x01010336 384 | int attr fastScrollTrackDrawable 0x01010339 385 | int attr fillAfter 0x010101bd 386 | int attr fillAlpha 0x010104cc 387 | int attr fillBefore 0x010101bc 388 | int attr fillColor 0x01010404 389 | int attr fillEnabled 0x0101024f 390 | int attr fillType 0x0101051e 391 | int attr fillViewport 0x0101017a 392 | int attr filter 0x0101011b 393 | int attr filterTouchesWhenObscured 0x010102c4 394 | int attr fingerprintAuthDrawable 0x010104e8 395 | int attr finishOnCloseSystemDialogs 0x010102a7 396 | int attr finishOnTaskLaunch 0x01010014 397 | int attr firstBaselineToTopHeight 0x0101057d 398 | int attr firstDayOfWeek 0x0101033d 399 | int attr fitsSystemWindows 0x010100dd 400 | int attr flipInterval 0x01010179 401 | int attr focusable 0x010100da 402 | int attr focusableInTouchMode 0x010100db 403 | int attr focusedByDefault 0x01010544 404 | int attr focusedMonthDateColor 0x01010343 405 | int attr font 0x01010532 406 | int attr fontFamily 0x010103ac 407 | int attr fontFeatureSettings 0x010104b7 408 | int attr fontProviderAuthority 0x01010550 409 | int attr fontProviderCerts 0x0101055d 410 | int attr fontProviderPackage 0x01010557 411 | int attr fontProviderQuery 0x01010551 412 | int attr fontStyle 0x0101053f 413 | int attr fontVariationSettings 0x01010570 414 | int attr fontWeight 0x01010533 415 | int attr footerDividersEnabled 0x0101022f 416 | int attr forceHasOverlappingRendering 0x01010521 417 | int attr foreground 0x01010109 418 | int attr foregroundGravity 0x01010200 419 | int attr foregroundTint 0x0101046d 420 | int attr foregroundTintMode 0x0101046e 421 | int attr format 0x01010105 422 | int attr format12Hour 0x010103ca 423 | int attr format24Hour 0x010103cb 424 | int attr fraction 0x010104d8 425 | int attr fragment 0x010102e3 426 | int attr fragmentAllowEnterTransitionOverlap 0x010104c8 427 | int attr fragmentAllowReturnTransitionOverlap 0x010104c9 428 | int attr fragmentCloseEnterAnimation 0x010102e7 429 | int attr fragmentCloseExitAnimation 0x010102e8 430 | int attr fragmentEnterTransition 0x010104c3 431 | int attr fragmentExitTransition 0x010104c2 432 | int attr fragmentFadeEnterAnimation 0x010102e9 433 | int attr fragmentFadeExitAnimation 0x010102ea 434 | int attr fragmentOpenEnterAnimation 0x010102e5 435 | int attr fragmentOpenExitAnimation 0x010102e6 436 | int attr fragmentReenterTransition 0x010104c7 437 | int attr fragmentReturnTransition 0x010104c5 438 | int attr fragmentSharedElementEnterTransition 0x010104c4 439 | int attr fragmentSharedElementReturnTransition 0x010104c6 440 | int attr freezesText 0x0101016c 441 | int attr fromAlpha 0x010101ca 442 | int attr fromDegrees 0x010101b3 443 | int attr fromId 0x0101044a 444 | int attr fromScene 0x010103dd 445 | int attr fromXDelta 0x010101c6 446 | int attr fromXScale 0x010101c2 447 | int attr fromYDelta 0x010101c8 448 | int attr fromYScale 0x010101c4 449 | int attr fullBackupContent 0x010104eb 450 | int attr fullBackupOnly 0x01010473 451 | int attr fullBright 0x010100ca 452 | int attr fullDark 0x010100c6 453 | int attr functionalTest 0x01010023 454 | int attr galleryItemBackground 0x0101004c 455 | int attr galleryStyle 0x01010070 456 | int attr gestureColor 0x01010275 457 | int attr gestureStrokeAngleThreshold 0x0101027c 458 | int attr gestureStrokeLengthThreshold 0x0101027a 459 | int attr gestureStrokeSquarenessThreshold 0x0101027b 460 | int attr gestureStrokeType 0x01010279 461 | int attr gestureStrokeWidth 0x01010274 462 | int attr glEsVersion 0x01010281 463 | int attr goIcon 0x01010482 464 | int attr gradientRadius 0x010101a4 465 | int attr grantUriPermissions 0x0101001b 466 | int attr gravity 0x010100af 467 | int attr gridViewStyle 0x01010071 468 | int attr groupIndicator 0x0101010b 469 | int attr hand_hour 0x01010103 470 | int attr hand_minute 0x01010104 471 | int attr handle 0x0101025a 472 | int attr handleProfiling 0x01010022 473 | int attr hapticFeedbackEnabled 0x0101025e 474 | int attr hardwareAccelerated 0x010102d3 475 | int attr hasCode 0x0101000c 476 | int attr headerAmPmTextAppearance 0x010104a0 477 | int attr headerBackground 0x0101012f 478 | int attr headerDayOfMonthTextAppearance 0x01010497 479 | int attr headerDividersEnabled 0x0101022e 480 | int attr headerMonthTextAppearance 0x01010496 481 | int attr headerTimeTextAppearance 0x0101049f 482 | int attr headerYearTextAppearance 0x01010498 483 | int attr height 0x01010155 484 | int attr hideOnContentScroll 0x01010443 485 | int attr hint 0x01010150 486 | int attr homeAsUpIndicator 0x0101030b 487 | int attr homeLayout 0x0101031d 488 | int attr horizontalDivider 0x0101012d 489 | int attr horizontalGap 0x0101023f 490 | int attr horizontalScrollViewStyle 0x01010353 491 | int attr horizontalSpacing 0x01010114 492 | int attr host 0x01010028 493 | int attr hotSpotX 0x01010517 494 | int attr hotSpotY 0x01010518 495 | int attr hyphenationFrequency 0x010104de 496 | int attr icon 0x01010002 497 | int attr iconPreview 0x01010249 498 | int attr iconSpaceReserved 0x01010561 499 | int attr iconTint 0x0101055e 500 | int attr iconTintMode 0x0101055f 501 | int attr iconifiedByDefault 0x010102fa 502 | int attr id 0x010100d0 503 | int attr ignoreGravity 0x010101ff 504 | int attr imageButtonStyle 0x01010072 505 | int attr imageWellStyle 0x01010073 506 | int attr imeActionId 0x01010266 507 | int attr imeActionLabel 0x01010265 508 | int attr imeExtractEnterAnimation 0x01010268 509 | int attr imeExtractExitAnimation 0x01010269 510 | int attr imeFullscreenBackground 0x0101022c 511 | int attr imeOptions 0x01010264 512 | int attr imeSubtypeExtraValue 0x010102ee 513 | int attr imeSubtypeLocale 0x010102ec 514 | int attr imeSubtypeMode 0x010102ed 515 | int attr immersive 0x010102c0 516 | int attr importantForAccessibility 0x010103aa 517 | int attr importantForAutofill 0x01010558 518 | int attr inAnimation 0x01010177 519 | int attr includeFontPadding 0x0101015f 520 | int attr includeInGlobalSearch 0x0101026e 521 | int attr indeterminate 0x01010139 522 | int attr indeterminateBehavior 0x0101013e 523 | int attr indeterminateDrawable 0x0101013b 524 | int attr indeterminateDuration 0x0101013d 525 | int attr indeterminateOnly 0x0101013a 526 | int attr indeterminateProgressStyle 0x01010318 527 | int attr indeterminateTint 0x01010469 528 | int attr indeterminateTintMode 0x0101046a 529 | int attr indicatorEnd 0x010103d2 530 | int attr indicatorLeft 0x0101010d 531 | int attr indicatorRight 0x0101010e 532 | int attr indicatorStart 0x010103d1 533 | int attr inflatedId 0x010100f3 534 | int attr initOrder 0x0101001a 535 | int attr initialKeyguardLayout 0x010103c2 536 | int attr initialLayout 0x01010251 537 | int attr innerRadius 0x0101025f 538 | int attr innerRadiusRatio 0x0101019b 539 | int attr inputMethod 0x01010168 540 | int attr inputType 0x01010220 541 | int attr inset 0x010104b5 542 | int attr insetBottom 0x010101ba 543 | int attr insetLeft 0x010101b7 544 | int attr insetRight 0x010101b8 545 | int attr insetTop 0x010101b9 546 | int attr installLocation 0x010102b7 547 | int attr interpolator 0x01010141 548 | int attr isAlwaysSyncable 0x01010333 549 | int attr isAsciiCapable 0x010103e9 550 | int attr isAuxiliary 0x0101037f 551 | int attr isDefault 0x01010221 552 | int attr isFeatureSplit 0x0101055b 553 | int attr isGame 0x010103f4 554 | int attr isIndicator 0x01010147 555 | int attr isModifier 0x01010246 556 | int attr isRepeatable 0x01010248 557 | int attr isScrollContainer 0x0101024e 558 | int attr isStatic 0x0101055a 559 | int attr isSticky 0x01010247 560 | int attr isolatedProcess 0x010103a9 561 | int attr isolatedSplits 0x0101054b 562 | int attr itemBackground 0x01010130 563 | int attr itemIconDisabledAlpha 0x01010131 564 | int attr itemPadding 0x0101032d 565 | int attr itemTextAppearance 0x0101012c 566 | int attr justificationMode 0x01010567 567 | int attr keepScreenOn 0x01010216 568 | int attr key 0x010101e8 569 | int attr keyBackground 0x01010233 570 | int attr keyEdgeFlags 0x01010245 571 | int attr keyHeight 0x0101023e 572 | int attr keyIcon 0x0101024c 573 | int attr keyLabel 0x0101024b 574 | int attr keyOutputText 0x0101024a 575 | int attr keyPreviewHeight 0x01010239 576 | int attr keyPreviewLayout 0x01010237 577 | int attr keyPreviewOffset 0x01010238 578 | int attr keySet 0x010103db 579 | int attr keyTextColor 0x01010236 580 | int attr keyTextSize 0x01010234 581 | int attr keyWidth 0x0101023d 582 | int attr keyboardLayout 0x010103ab 583 | int attr keyboardMode 0x0101024d 584 | int attr keyboardNavigationCluster 0x01010540 585 | int attr keycode 0x010100c5 586 | int attr killAfterRestore 0x0101029c 587 | int attr label 0x01010001 588 | int attr labelFor 0x010103c6 589 | int attr labelTextSize 0x01010235 590 | int attr languageTag 0x01010508 591 | int attr largeHeap 0x0101035a 592 | int attr largeScreens 0x01010286 593 | int attr largestWidthLimitDp 0x01010366 594 | int attr lastBaselineToBottomHeight 0x0101057e 595 | int attr launchMode 0x0101001d 596 | int attr launchTaskBehindSourceAnimation 0x01010492 597 | int attr launchTaskBehindTargetAnimation 0x01010491 598 | int attr layerType 0x01010354 599 | int attr layout 0x010100f2 600 | int attr layoutAnimation 0x010100ec 601 | int attr layoutDirection 0x010103b2 602 | int attr layoutMode 0x010103da 603 | int attr layout_above 0x01010184 604 | int attr layout_alignBaseline 0x01010186 605 | int attr layout_alignBottom 0x0101018a 606 | int attr layout_alignEnd 0x010103ba 607 | int attr layout_alignLeft 0x01010187 608 | int attr layout_alignParentBottom 0x0101018e 609 | int attr layout_alignParentEnd 0x010103bc 610 | int attr layout_alignParentLeft 0x0101018b 611 | int attr layout_alignParentRight 0x0101018d 612 | int attr layout_alignParentStart 0x010103bb 613 | int attr layout_alignParentTop 0x0101018c 614 | int attr layout_alignRight 0x01010189 615 | int attr layout_alignStart 0x010103b9 616 | int attr layout_alignTop 0x01010188 617 | int attr layout_alignWithParentIfMissing 0x01010192 618 | int attr layout_below 0x01010185 619 | int attr layout_centerHorizontal 0x01010190 620 | int attr layout_centerInParent 0x0101018f 621 | int attr layout_centerVertical 0x01010191 622 | int attr layout_column 0x0101014c 623 | int attr layout_columnSpan 0x0101037d 624 | int attr layout_columnWeight 0x01010459 625 | int attr layout_gravity 0x010100b3 626 | int attr layout_height 0x010100f5 627 | int attr layout_margin 0x010100f6 628 | int attr layout_marginBottom 0x010100fa 629 | int attr layout_marginEnd 0x010103b6 630 | int attr layout_marginHorizontal 0x0101053b 631 | int attr layout_marginLeft 0x010100f7 632 | int attr layout_marginRight 0x010100f9 633 | int attr layout_marginStart 0x010103b5 634 | int attr layout_marginTop 0x010100f8 635 | int attr layout_marginVertical 0x0101053c 636 | int attr layout_row 0x0101037b 637 | int attr layout_rowSpan 0x0101037c 638 | int attr layout_rowWeight 0x01010458 639 | int attr layout_scale 0x01010193 640 | int attr layout_span 0x0101014d 641 | int attr layout_toEndOf 0x010103b8 642 | int attr layout_toLeftOf 0x01010182 643 | int attr layout_toRightOf 0x01010183 644 | int attr layout_toStartOf 0x010103b7 645 | int attr layout_weight 0x01010181 646 | int attr layout_width 0x010100f4 647 | int attr layout_x 0x0101017f 648 | int attr layout_y 0x01010180 649 | int attr left 0x010101ad 650 | int attr letterSpacing 0x010104b6 651 | int attr level 0x01010500 652 | int attr lineHeight 0x0101057f 653 | int attr lineSpacingExtra 0x01010217 654 | int attr lineSpacingMultiplier 0x01010218 655 | int attr lines 0x01010154 656 | int attr linksClickable 0x010100b1 657 | int attr listChoiceBackgroundIndicator 0x010102f0 658 | int attr listChoiceIndicatorMultiple 0x0101021a 659 | int attr listChoiceIndicatorSingle 0x01010219 660 | int attr listDivider 0x01010214 661 | int attr listDividerAlertDialog 0x01010305 662 | int attr listMenuViewStyle 0x010104f2 663 | int attr listPopupWindowStyle 0x010102ff 664 | int attr listPreferredItemHeight 0x0101004d 665 | int attr listPreferredItemHeightLarge 0x01010386 666 | int attr listPreferredItemHeightSmall 0x01010387 667 | int attr listPreferredItemPaddingEnd 0x010103be 668 | int attr listPreferredItemPaddingLeft 0x010103a3 669 | int attr listPreferredItemPaddingRight 0x010103a4 670 | int attr listPreferredItemPaddingStart 0x010103bd 671 | int attr listSelector 0x010100fb 672 | int attr listSeparatorTextViewStyle 0x01010208 673 | int attr listViewStyle 0x01010074 674 | int attr listViewWhiteStyle 0x01010075 675 | int attr lockTaskMode 0x010104ed 676 | int attr logo 0x010102be 677 | int attr logoDescription 0x010104e9 678 | int attr longClickable 0x010100e6 679 | int attr loopViews 0x01010307 680 | int attr manageSpaceActivity 0x01010004 681 | int attr mapViewStyle 0x0101008a 682 | int attr marqueeRepeatLimit 0x0101021d 683 | int attr matchOrder 0x0101044f 684 | int attr max 0x01010136 685 | int attr maxAspectRatio 0x01010560 686 | int attr maxButtonHeight 0x010104fd 687 | int attr maxDate 0x01010340 688 | int attr maxEms 0x01010157 689 | int attr maxHeight 0x01010120 690 | int attr maxItemsPerRow 0x01010134 691 | int attr maxLength 0x01010160 692 | int attr maxLevel 0x010101b2 693 | int attr maxLines 0x01010153 694 | int attr maxLongVersionCode 0x01010583 695 | int attr maxRecents 0x01010446 696 | int attr maxRows 0x01010133 697 | int attr maxSdkVersion 0x01010271 698 | int attr maxWidth 0x0101011f 699 | int attr maximumAngle 0x0101047f 700 | int attr measureAllChildren 0x0101010a 701 | int attr measureWithLargestChild 0x010102d4 702 | int attr mediaRouteButtonStyle 0x010103ad 703 | int attr mediaRouteTypes 0x010103ae 704 | int attr menuCategory 0x010101de 705 | int attr mimeType 0x01010026 706 | int attr min 0x01010539 707 | int attr minDate 0x0101033f 708 | int attr minEms 0x0101015a 709 | int attr minHeight 0x01010140 710 | int attr minLevel 0x010101b1 711 | int attr minLines 0x01010156 712 | int attr minResizeHeight 0x01010396 713 | int attr minResizeWidth 0x01010395 714 | int attr minSdkVersion 0x0101020c 715 | int attr minWidth 0x0101013f 716 | int attr minimumHorizontalAngle 0x0101047d 717 | int attr minimumVerticalAngle 0x0101047e 718 | int attr mipMap 0x010103cd 719 | int attr mirrorForRtl 0x010103ce 720 | int attr mode 0x0101017e 721 | int attr moreIcon 0x01010135 722 | int attr multiArch 0x0101048e 723 | int attr multiprocess 0x01010013 724 | int attr name 0x01010003 725 | int attr navigationBarColor 0x01010452 726 | int attr navigationBarDividerColor 0x0101056d 727 | int attr navigationContentDescription 0x010104c1 728 | int attr navigationIcon 0x010104c0 729 | int attr navigationMode 0x010102cf 730 | int attr negativeButtonText 0x010101f6 731 | int attr nestedScrollingEnabled 0x01010436 732 | int attr networkSecurityConfig 0x01010527 733 | int attr nextClusterForward 0x01010542 734 | int attr nextFocusDown 0x010100e4 735 | int attr nextFocusForward 0x0101033c 736 | int attr nextFocusLeft 0x010100e1 737 | int attr nextFocusRight 0x010100e2 738 | int attr nextFocusUp 0x010100e3 739 | int attr noHistory 0x0101022d 740 | int attr normalScreens 0x01010285 741 | int attr notificationTimeout 0x01010383 742 | int attr numColumns 0x01010118 743 | int attr numStars 0x01010144 744 | int attr numberPickerStyle 0x01010524 745 | int attr numbersBackgroundColor 0x010104a2 746 | int attr numbersInnerTextColor 0x010104e1 747 | int attr numbersSelectorColor 0x010104a3 748 | int attr numbersTextColor 0x010104a1 749 | int attr numeric 0x01010165 750 | int attr numericModifiers 0x0101054f 751 | int attr numericShortcut 0x010101e4 752 | int attr offset 0x01010514 753 | int attr onClick 0x0101026f 754 | int attr oneshot 0x01010197 755 | int attr opacity 0x0101031e 756 | int attr order 0x010101ea 757 | int attr orderInCategory 0x010101df 758 | int attr ordering 0x010102e2 759 | int attr orderingFromXml 0x010101e7 760 | int attr orientation 0x010100c4 761 | int attr outAnimation 0x01010178 762 | int attr outlineAmbientShadowColor 0x01010582 763 | int attr outlineProvider 0x010104b8 764 | int attr outlineSpotShadowColor 0x01010581 765 | int attr overScrollFooter 0x010102c3 766 | int attr overScrollHeader 0x010102c2 767 | int attr overScrollMode 0x010102c1 768 | int attr overlapAnchor 0x01010462 769 | int attr overridesImplicitlyEnabledSubtype 0x010103a2 770 | int attr packageNames 0x01010381 771 | int attr padding 0x010100d5 772 | int attr paddingBottom 0x010100d9 773 | int attr paddingEnd 0x010103b4 774 | int attr paddingHorizontal 0x0101053d 775 | int attr paddingLeft 0x010100d6 776 | int attr paddingMode 0x01010457 777 | int attr paddingRight 0x010100d8 778 | int attr paddingStart 0x010103b3 779 | int attr paddingTop 0x010100d7 780 | int attr paddingVertical 0x0101053e 781 | int attr panelBackground 0x0101005e 782 | int attr panelColorBackground 0x01010061 783 | int attr panelColorForeground 0x01010060 784 | int attr panelFullBackground 0x0101005f 785 | int attr panelTextAppearance 0x01010062 786 | int attr parentActivityName 0x010103a7 787 | int attr password 0x0101015c 788 | int attr path 0x0101002a 789 | int attr pathData 0x01010405 790 | int attr pathPattern 0x0101002c 791 | int attr pathPrefix 0x0101002b 792 | int attr patternPathData 0x010104ca 793 | int attr permission 0x01010006 794 | int attr permissionFlags 0x010103c7 795 | int attr permissionGroup 0x0101000a 796 | int attr permissionGroupFlags 0x010103c5 797 | int attr persistableMode 0x0101042d 798 | int attr persistent 0x0101000d 799 | int attr persistentDrawingCache 0x010100ee 800 | int attr persistentWhenFeatureAvailable 0x01010563 801 | int attr phoneNumber 0x01010167 802 | int attr pivotX 0x010101b5 803 | int attr pivotY 0x010101b6 804 | int attr pointerIcon 0x01010509 805 | int attr popupAnimationStyle 0x010102c9 806 | int attr popupBackground 0x01010176 807 | int attr popupCharacters 0x01010244 808 | int attr popupElevation 0x0101048c 809 | int attr popupEnterTransition 0x0101051f 810 | int attr popupExitTransition 0x01010520 811 | int attr popupKeyboard 0x01010243 812 | int attr popupLayout 0x0101023b 813 | int attr popupMenuStyle 0x01010300 814 | int attr popupTheme 0x010104a9 815 | int attr popupWindowStyle 0x01010076 816 | int attr port 0x01010029 817 | int attr positiveButtonText 0x010101f5 818 | int attr preferenceCategoryStyle 0x0101008c 819 | int attr preferenceFragmentStyle 0x01010506 820 | int attr preferenceInformationStyle 0x0101008d 821 | int attr preferenceLayoutChild 0x01010094 822 | int attr preferenceScreenStyle 0x0101008b 823 | int attr preferenceStyle 0x0101008e 824 | int attr presentationTheme 0x010103c0 825 | int attr previewImage 0x010102da 826 | int attr primaryContentAlpha 0x01010552 827 | int attr priority 0x0101001c 828 | int attr privateImeOptions 0x01010223 829 | int attr process 0x01010011 830 | int attr progress 0x01010137 831 | int attr progressBackgroundTint 0x01010465 832 | int attr progressBackgroundTintMode 0x01010466 833 | int attr progressBarPadding 0x01010319 834 | int attr progressBarStyle 0x01010077 835 | int attr progressBarStyleHorizontal 0x01010078 836 | int attr progressBarStyleInverse 0x01010287 837 | int attr progressBarStyleLarge 0x0101007a 838 | int attr progressBarStyleLargeInverse 0x01010289 839 | int attr progressBarStyleSmall 0x01010079 840 | int attr progressBarStyleSmallInverse 0x01010288 841 | int attr progressBarStyleSmallTitle 0x0101020f 842 | int attr progressDrawable 0x0101013c 843 | int attr progressTint 0x01010463 844 | int attr progressTintMode 0x01010464 845 | int attr prompt 0x0101017b 846 | int attr propertyName 0x010102e1 847 | int attr propertyXName 0x01010474 848 | int attr propertyYName 0x01010475 849 | int attr protectionLevel 0x01010009 850 | int attr publicKey 0x010103a6 851 | int attr queryActionMsg 0x010101db 852 | int attr queryAfterZeroResults 0x01010282 853 | int attr queryBackground 0x01010487 854 | int attr queryHint 0x01010358 855 | int attr quickContactBadgeStyleSmallWindowLarge 0x010102b3 856 | int attr quickContactBadgeStyleSmallWindowMedium 0x010102b2 857 | int attr quickContactBadgeStyleSmallWindowSmall 0x010102b1 858 | int attr quickContactBadgeStyleWindowLarge 0x010102b0 859 | int attr quickContactBadgeStyleWindowMedium 0x010102af 860 | int attr quickContactBadgeStyleWindowSmall 0x010102ae 861 | int attr radioButtonStyle 0x0101007e 862 | int attr radius 0x010101a8 863 | int attr rating 0x01010145 864 | int attr ratingBarStyle 0x0101007c 865 | int attr ratingBarStyleIndicator 0x01010210 866 | int attr ratingBarStyleSmall 0x0101007d 867 | int attr readPermission 0x01010007 868 | int attr recognitionService 0x0101049c 869 | int attr recreateOnConfigChanges 0x01010547 870 | int attr recycleEnabled 0x01010559 871 | int attr relinquishTaskIdentity 0x01010476 872 | int attr reparent 0x010104bc 873 | int attr reparentWithOverlay 0x010104bd 874 | int attr repeatCount 0x010101bf 875 | int attr repeatMode 0x010101c0 876 | int attr reqFiveWayNav 0x01010232 877 | int attr reqHardKeyboard 0x01010229 878 | int attr reqKeyboardType 0x01010228 879 | int attr reqNavigation 0x0101022a 880 | int attr reqTouchScreen 0x01010227 881 | int attr requireDeviceUnlock 0x010103ec 882 | int attr required 0x0101028e 883 | int attr requiredAccountType 0x010103d6 884 | int attr requiredFeature 0x01010554 885 | int attr requiredForAllUsers 0x010103d0 886 | int attr requiredNotFeature 0x01010555 887 | int attr requiresFadingEdge 0x010103a5 888 | int attr requiresSmallestWidthDp 0x01010364 889 | int attr resizeClip 0x010104cf 890 | int attr resizeMode 0x01010363 891 | int attr resizeable 0x0101028d 892 | int attr resizeableActivity 0x010104f6 893 | int attr resource 0x01010025 894 | int attr restoreAnyVersion 0x010102ba 895 | int attr restoreNeedsApplication 0x0101029d 896 | int attr restrictedAccountType 0x010103d5 897 | int attr restrictionType 0x01010493 898 | int attr resumeWhilePausing 0x010104b2 899 | int attr reversible 0x0101044b 900 | int attr revisionCode 0x010104d5 901 | int attr right 0x010101af 902 | int attr ringtonePreferenceStyle 0x01010093 903 | int attr ringtoneType 0x010101f9 904 | int attr rotation 0x01010326 905 | int attr rotationAnimation 0x0101053a 906 | int attr rotationX 0x01010327 907 | int attr rotationY 0x01010328 908 | int attr roundIcon 0x0101052c 909 | int attr rowCount 0x01010375 910 | int attr rowDelay 0x010101d0 911 | int attr rowEdgeFlags 0x01010241 912 | int attr rowHeight 0x01010132 913 | int attr rowOrderPreserved 0x01010376 914 | int attr saveEnabled 0x010100e7 915 | int attr scaleGravity 0x010101fe 916 | int attr scaleHeight 0x010101fd 917 | int attr scaleType 0x0101011d 918 | int attr scaleWidth 0x010101fc 919 | int attr scaleX 0x01010324 920 | int attr scaleY 0x01010325 921 | int attr scheme 0x01010027 922 | int attr screenDensity 0x010102cb 923 | int attr screenOrientation 0x0101001e 924 | int attr screenReaderFocusable 0x01010574 925 | int attr screenSize 0x010102ca 926 | int attr scrollHorizontally 0x0101015b 927 | int attr scrollIndicators 0x010104e6 928 | int attr scrollViewStyle 0x01010080 929 | int attr scrollX 0x010100d2 930 | int attr scrollY 0x010100d3 931 | int attr scrollbarAlwaysDrawHorizontalTrack 0x01010068 932 | int attr scrollbarAlwaysDrawVerticalTrack 0x01010069 933 | int attr scrollbarDefaultDelayBeforeFade 0x010102a9 934 | int attr scrollbarFadeDuration 0x010102a8 935 | int attr scrollbarSize 0x01010063 936 | int attr scrollbarStyle 0x0101007f 937 | int attr scrollbarThumbHorizontal 0x01010064 938 | int attr scrollbarThumbVertical 0x01010065 939 | int attr scrollbarTrackHorizontal 0x01010066 940 | int attr scrollbarTrackVertical 0x01010067 941 | int attr scrollbars 0x010100de 942 | int attr scrollingCache 0x010100fe 943 | int attr searchButtonText 0x01010205 944 | int attr searchHintIcon 0x010104d4 945 | int attr searchIcon 0x01010483 946 | int attr searchMode 0x010101d5 947 | int attr searchSettingsDescription 0x0101028a 948 | int attr searchSuggestAuthority 0x010101d6 949 | int attr searchSuggestIntentAction 0x010101d9 950 | int attr searchSuggestIntentData 0x010101da 951 | int attr searchSuggestPath 0x010101d7 952 | int attr searchSuggestSelection 0x010101d8 953 | int attr searchSuggestThreshold 0x0101026d 954 | int attr searchViewStyle 0x01010480 955 | int attr secondaryContentAlpha 0x01010553 956 | int attr secondaryProgress 0x01010138 957 | int attr secondaryProgressTint 0x01010467 958 | int attr secondaryProgressTintMode 0x01010468 959 | int attr seekBarStyle 0x0101007b 960 | int attr segmentedButtonStyle 0x01010330 961 | int attr selectAllOnFocus 0x0101015e 962 | int attr selectable 0x010101e6 963 | int attr selectableItemBackground 0x0101030e 964 | int attr selectableItemBackgroundBorderless 0x0101045c 965 | int attr selectedDateVerticalBar 0x01010347 966 | int attr selectedWeekBackgroundColor 0x01010342 967 | int attr sessionService 0x0101043d 968 | int attr settingsActivity 0x01010225 969 | int attr setupActivity 0x010103f6 970 | int attr shadowColor 0x01010161 971 | int attr shadowDx 0x01010162 972 | int attr shadowDy 0x01010163 973 | int attr shadowRadius 0x01010164 974 | int attr shape 0x0101019a 975 | int attr shareInterpolator 0x010101bb 976 | int attr sharedUserId 0x0101000b 977 | int attr sharedUserLabel 0x01010261 978 | int attr shortcutDisabledMessage 0x0101052b 979 | int attr shortcutId 0x01010528 980 | int attr shortcutLongLabel 0x0101052a 981 | int attr shortcutShortLabel 0x01010529 982 | int attr shouldDisableView 0x010101ee 983 | int attr showAsAction 0x010102d9 984 | int attr showDefault 0x010101fa 985 | int attr showDividers 0x01010329 986 | int attr showForAllUsers 0x010104ef 987 | int attr showMetadataInPreview 0x0101052f 988 | int attr showOnLockScreen 0x010103c9 989 | int attr showSilent 0x010101fb 990 | int attr showText 0x010104ad 991 | int attr showWeekNumber 0x0101033e 992 | int attr showWhenLocked 0x01010569 993 | int attr shownWeekCount 0x01010341 994 | int attr shrinkColumns 0x0101014a 995 | int attr singleLine 0x0101015d 996 | int attr singleLineTitle 0x0101055c 997 | int attr singleUser 0x010103bf 998 | int attr slideEdge 0x01010430 999 | int attr smallIcon 0x0101029e 1000 | int attr smallScreens 0x01010284 1001 | int attr smoothScrollbar 0x01010231 1002 | int attr soundEffectsEnabled 0x01010215 1003 | int attr spacing 0x01010113 1004 | int attr spinnerDropDownItemStyle 0x01010087 1005 | int attr spinnerItemStyle 0x01010089 1006 | int attr spinnerMode 0x010102f1 1007 | int attr spinnerStyle 0x01010081 1008 | int attr spinnersShown 0x0101034b 1009 | int attr splitMotionEvents 0x010102ef 1010 | int attr splitName 0x01010549 1011 | int attr splitTrack 0x0101044c 1012 | int attr spotShadowAlpha 0x010104bf 1013 | int attr src 0x01010119 1014 | int attr ssp 0x010103e3 1015 | int attr sspPattern 0x010103e5 1016 | int attr sspPrefix 0x010103e4 1017 | int attr stackFromBottom 0x010100fd 1018 | int attr stackViewStyle 0x0101043e 1019 | int attr starStyle 0x01010082 1020 | int attr start 0x010104db 1021 | int attr startColor 0x0101019d 1022 | int attr startDelay 0x010103e2 1023 | int attr startOffset 0x010101be 1024 | int attr startX 0x01010510 1025 | int attr startY 0x01010511 1026 | int attr startYear 0x0101017c 1027 | int attr stateListAnimator 0x01010448 1028 | int attr stateNotNeeded 0x01010016 1029 | int attr state_above_anchor 0x010100aa 1030 | int attr state_accelerated 0x0101031b 1031 | int attr state_activated 0x010102fe 1032 | int attr state_active 0x010100a2 1033 | int attr state_checkable 0x0101009f 1034 | int attr state_checked 0x010100a0 1035 | int attr state_drag_can_accept 0x01010368 1036 | int attr state_drag_hovered 0x01010369 1037 | int attr state_empty 0x010100a9 1038 | int attr state_enabled 0x0101009e 1039 | int attr state_expanded 0x010100a8 1040 | int attr state_first 0x010100a4 1041 | int attr state_focused 0x0101009c 1042 | int attr state_hovered 0x01010367 1043 | int attr state_last 0x010100a6 1044 | int attr state_long_pressable 0x0101023c 1045 | int attr state_middle 0x010100a5 1046 | int attr state_multiline 0x0101034d 1047 | int attr state_pressed 0x010100a7 1048 | int attr state_selected 0x010100a1 1049 | int attr state_single 0x010100a3 1050 | int attr state_window_focused 0x0101009d 1051 | int attr staticWallpaperPreview 0x01010331 1052 | int attr statusBarColor 0x01010451 1053 | int attr stepSize 0x01010146 1054 | int attr stopWithTask 0x0101036a 1055 | int attr streamType 0x01010209 1056 | int attr stretchColumns 0x01010149 1057 | int attr stretchMode 0x01010116 1058 | int attr strokeAlpha 0x010104cb 1059 | int attr strokeColor 0x01010406 1060 | int attr strokeLineCap 0x0101040b 1061 | int attr strokeLineJoin 0x0101040c 1062 | int attr strokeMiterLimit 0x0101040d 1063 | int attr strokeWidth 0x01010407 1064 | int attr subMenuArrow 0x010104f3 1065 | int attr submitBackground 0x01010488 1066 | int attr subtitle 0x010102d1 1067 | int attr subtitleTextAppearance 0x0101042f 1068 | int attr subtitleTextColor 0x010104e4 1069 | int attr subtitleTextStyle 0x010102f9 1070 | int attr subtypeExtraValue 0x0101039a 1071 | int attr subtypeId 0x010103c1 1072 | int attr subtypeLocale 0x01010399 1073 | int attr suggestActionMsg 0x010101dc 1074 | int attr suggestActionMsgColumn 0x010101dd 1075 | int attr suggestionRowLayout 0x01010486 1076 | int attr summary 0x010101e9 1077 | int attr summaryColumn 0x010102a2 1078 | int attr summaryOff 0x010101f0 1079 | int attr summaryOn 0x010101ef 1080 | int attr supportsAssist 0x010104f0 1081 | int attr supportsLaunchVoiceAssistFromKeyguard 0x010104f1 1082 | int attr supportsLocalInteraction 0x0101050f 1083 | int attr supportsPictureInPicture 0x010104f7 1084 | int attr supportsRtl 0x010103af 1085 | int attr supportsSwitchingToNextInputMethod 0x010103eb 1086 | int attr supportsUploading 0x0101029b 1087 | int attr switchMinWidth 0x01010370 1088 | int attr switchPadding 0x01010371 1089 | int attr switchPreferenceStyle 0x0101036d 1090 | int attr switchStyle 0x0101043f 1091 | int attr switchTextAppearance 0x0101036e 1092 | int attr switchTextOff 0x0101036c 1093 | int attr switchTextOn 0x0101036b 1094 | int attr syncable 0x01010019 1095 | int attr tabStripEnabled 0x010102bd 1096 | int attr tabStripLeft 0x010102bb 1097 | int attr tabStripRight 0x010102bc 1098 | int attr tabWidgetStyle 0x01010083 1099 | int attr tag 0x010100d1 1100 | int attr targetActivity 0x01010202 1101 | int attr targetClass 0x0101002f 1102 | int attr targetDescriptions 0x010103a0 1103 | int attr targetId 0x010103dc 1104 | int attr targetName 0x0101044d 1105 | int attr targetPackage 0x01010021 1106 | int attr targetProcesses 0x01010541 1107 | int attr targetSandboxVersion 0x0101054c 1108 | int attr targetSdkVersion 0x01010270 1109 | int attr taskAffinity 0x01010012 1110 | int attr taskCloseEnterAnimation 0x010100be 1111 | int attr taskCloseExitAnimation 0x010100bf 1112 | int attr taskOpenEnterAnimation 0x010100bc 1113 | int attr taskOpenExitAnimation 0x010100bd 1114 | int attr taskToBackEnterAnimation 0x010100c2 1115 | int attr taskToBackExitAnimation 0x010100c3 1116 | int attr taskToFrontEnterAnimation 0x010100c0 1117 | int attr taskToFrontExitAnimation 0x010100c1 1118 | int attr tension 0x0101026a 1119 | int attr testOnly 0x01010272 1120 | int attr text 0x0101014f 1121 | int attr textAlignment 0x010103b1 1122 | int attr textAllCaps 0x0101038c 1123 | int attr textAppearance 0x01010034 1124 | int attr textAppearanceButton 0x01010207 1125 | int attr textAppearanceInverse 0x01010035 1126 | int attr textAppearanceLarge 0x01010040 1127 | int attr textAppearanceLargeInverse 0x01010043 1128 | int attr textAppearanceLargePopupMenu 0x01010301 1129 | int attr textAppearanceListItem 0x0101039e 1130 | int attr textAppearanceListItemSecondary 0x01010432 1131 | int attr textAppearanceListItemSmall 0x0101039f 1132 | int attr textAppearanceMedium 0x01010041 1133 | int attr textAppearanceMediumInverse 0x01010044 1134 | int attr textAppearancePopupMenuHeader 0x01010502 1135 | int attr textAppearanceSearchResultSubtitle 0x010102a0 1136 | int attr textAppearanceSearchResultTitle 0x010102a1 1137 | int attr textAppearanceSmall 0x01010042 1138 | int attr textAppearanceSmallInverse 0x01010045 1139 | int attr textAppearanceSmallPopupMenu 0x01010302 1140 | int attr textCheckMark 0x01010046 1141 | int attr textCheckMarkInverse 0x01010047 1142 | int attr textColor 0x01010098 1143 | int attr textColorAlertDialogListItem 0x01010306 1144 | int attr textColorHighlight 0x01010099 1145 | int attr textColorHighlightInverse 0x0101034f 1146 | int attr textColorHint 0x0101009a 1147 | int attr textColorHintInverse 0x0101003f 1148 | int attr textColorLink 0x0101009b 1149 | int attr textColorLinkInverse 0x01010350 1150 | int attr textColorPrimary 0x01010036 1151 | int attr textColorPrimaryDisableOnly 0x01010037 1152 | int attr textColorPrimaryInverse 0x01010039 1153 | int attr textColorPrimaryInverseDisableOnly 0x0101028b 1154 | int attr textColorPrimaryInverseNoDisable 0x0101003d 1155 | int attr textColorPrimaryNoDisable 0x0101003b 1156 | int attr textColorSecondary 0x01010038 1157 | int attr textColorSecondaryInverse 0x0101003a 1158 | int attr textColorSecondaryInverseNoDisable 0x0101003e 1159 | int attr textColorSecondaryNoDisable 0x0101003c 1160 | int attr textColorTertiary 0x01010212 1161 | int attr textColorTertiaryInverse 0x01010213 1162 | int attr textCursorDrawable 0x01010362 1163 | int attr textDirection 0x010103b0 1164 | int attr textEditNoPasteWindowLayout 0x01010315 1165 | int attr textEditPasteWindowLayout 0x01010314 1166 | int attr textEditSideNoPasteWindowLayout 0x0101035f 1167 | int attr textEditSidePasteWindowLayout 0x0101035e 1168 | int attr textEditSuggestionItemLayout 0x01010374 1169 | int attr textFilterEnabled 0x010100ff 1170 | int attr textFontWeight 0x01010585 1171 | int attr textIsSelectable 0x01010316 1172 | int attr textOff 0x01010125 1173 | int attr textOn 0x01010124 1174 | int attr textScaleX 0x01010151 1175 | int attr textSelectHandle 0x010102c7 1176 | int attr textSelectHandleLeft 0x010102c5 1177 | int attr textSelectHandleRight 0x010102c6 1178 | int attr textSelectHandleWindowStyle 0x010102c8 1179 | int attr textSize 0x01010095 1180 | int attr textStyle 0x01010097 1181 | int attr textSuggestionsWindowStyle 0x01010373 1182 | int attr textViewStyle 0x01010084 1183 | int attr theme 0x01010000 1184 | int attr thickness 0x01010260 1185 | int attr thicknessRatio 0x0101019c 1186 | int attr thumb 0x01010142 1187 | int attr thumbOffset 0x01010143 1188 | int attr thumbPosition 0x010104e5 1189 | int attr thumbTextPadding 0x01010372 1190 | int attr thumbTint 0x01010471 1191 | int attr thumbTintMode 0x01010472 1192 | int attr thumbnail 0x010102a5 1193 | int attr tickMark 0x0101050a 1194 | int attr tickMarkTint 0x0101050b 1195 | int attr tickMarkTintMode 0x0101050c 1196 | int attr tileMode 0x01010201 1197 | int attr tileModeX 0x01010477 1198 | int attr tileModeY 0x01010478 1199 | int attr timePickerDialogTheme 0x0101049e 1200 | int attr timePickerMode 0x010104b4 1201 | int attr timePickerStyle 0x0101049d 1202 | int attr timeZone 0x010103cc 1203 | int attr tint 0x01010121 1204 | int attr tintMode 0x010103fb 1205 | int attr title 0x010101e1 1206 | int attr titleCondensed 0x010101e2 1207 | int attr titleMargin 0x010104f8 1208 | int attr titleMarginBottom 0x010104fc 1209 | int attr titleMarginEnd 0x010104fa 1210 | int attr titleMarginStart 0x010104f9 1211 | int attr titleMarginTop 0x010104fb 1212 | int attr titleTextAppearance 0x0101042e 1213 | int attr titleTextColor 0x010104e3 1214 | int attr titleTextStyle 0x010102f8 1215 | int attr toAlpha 0x010101cb 1216 | int attr toDegrees 0x010101b4 1217 | int attr toId 0x01010449 1218 | int attr toScene 0x010103de 1219 | int attr toXDelta 0x010101c7 1220 | int attr toXScale 0x010101c3 1221 | int attr toYDelta 0x010101c9 1222 | int attr toYScale 0x010101c5 1223 | int attr toolbarStyle 0x010104aa 1224 | int attr tooltipText 0x01010534 1225 | int attr top 0x010101ae 1226 | int attr topBright 0x010100cb 1227 | int attr topDark 0x010100c7 1228 | int attr topLeftRadius 0x010101a9 1229 | int attr topOffset 0x01010258 1230 | int attr topRightRadius 0x010101aa 1231 | int attr touchscreenBlocksFocus 0x0101048f 1232 | int attr track 0x0101036f 1233 | int attr trackTint 0x010104d9 1234 | int attr trackTintMode 0x010104da 1235 | int attr transcriptMode 0x01010100 1236 | int attr transformPivotX 0x01010320 1237 | int attr transformPivotY 0x01010321 1238 | int attr transition 0x010103df 1239 | int attr transitionGroup 0x01010401 1240 | int attr transitionName 0x01010400 1241 | int attr transitionOrdering 0x010103e0 1242 | int attr transitionVisibilityMode 0x0101047c 1243 | int attr translateX 0x0101045a 1244 | int attr translateY 0x0101045b 1245 | int attr translationX 0x01010322 1246 | int attr translationY 0x01010323 1247 | int attr translationZ 0x010103fa 1248 | int attr trimPathEnd 0x01010409 1249 | int attr trimPathOffset 0x0101040a 1250 | int attr trimPathStart 0x01010408 1251 | int attr ttcIndex 0x0101056f 1252 | int attr tunerCount 0x0101051d 1253 | int attr turnScreenOn 0x0101056a 1254 | int attr type 0x010101a1 1255 | int attr typeface 0x01010096 1256 | int attr uiOptions 0x01010398 1257 | int attr uncertainGestureColor 0x01010276 1258 | int attr unfocusedMonthDateColor 0x01010344 1259 | int attr unselectedAlpha 0x0101020e 1260 | int attr updatePeriodMillis 0x01010250 1261 | int attr use32bitAbi 0x01010515 1262 | int attr useDefaultMargins 0x01010379 1263 | int attr useIntrinsicSizeAsMinimum 0x01010310 1264 | int attr useLevel 0x0101019f 1265 | int attr userVisible 0x01010291 1266 | int attr usesCleartextTraffic 0x010104ec 1267 | int attr value 0x01010024 1268 | int attr valueFrom 0x010102de 1269 | int attr valueTo 0x010102df 1270 | int attr valueType 0x010102e0 1271 | int attr variablePadding 0x01010195 1272 | int attr vendor 0x010103e7 1273 | int attr version 0x01010519 1274 | int attr versionCode 0x0101021b 1275 | int attr versionCodeMajor 0x01010576 1276 | int attr versionMajor 0x01010577 1277 | int attr versionName 0x0101021c 1278 | int attr verticalCorrection 0x0101023a 1279 | int attr verticalDivider 0x0101012e 1280 | int attr verticalGap 0x01010240 1281 | int attr verticalScrollbarPosition 0x01010334 1282 | int attr verticalSpacing 0x01010115 1283 | int attr viewportHeight 0x01010403 1284 | int attr viewportWidth 0x01010402 1285 | int attr visibility 0x010100dc 1286 | int attr visible 0x01010194 1287 | int attr visibleToInstantApps 0x01010531 1288 | int attr vmSafeMode 0x010102b8 1289 | int attr voiceIcon 0x01010484 1290 | int attr voiceLanguage 0x01010255 1291 | int attr voiceLanguageModel 0x01010253 1292 | int attr voiceMaxResults 0x01010256 1293 | int attr voicePromptText 0x01010254 1294 | int attr voiceSearchMode 0x01010252 1295 | int attr wallpaperCloseEnterAnimation 0x01010295 1296 | int attr wallpaperCloseExitAnimation 0x01010296 1297 | int attr wallpaperIntraCloseEnterAnimation 0x01010299 1298 | int attr wallpaperIntraCloseExitAnimation 0x0101029a 1299 | int attr wallpaperIntraOpenEnterAnimation 0x01010297 1300 | int attr wallpaperIntraOpenExitAnimation 0x01010298 1301 | int attr wallpaperOpenEnterAnimation 0x01010293 1302 | int attr wallpaperOpenExitAnimation 0x01010294 1303 | int attr webTextViewStyle 0x010102b9 1304 | int attr webViewStyle 0x01010085 1305 | int attr weekDayTextAppearance 0x01010348 1306 | int attr weekNumberColor 0x01010345 1307 | int attr weekSeparatorLineColor 0x01010346 1308 | int attr weightSum 0x01010128 1309 | int attr widgetCategory 0x010103c4 1310 | int attr widgetFeatures 0x01010579 1311 | int attr widgetLayout 0x010101eb 1312 | int attr width 0x01010159 1313 | int attr windowActionBar 0x010102cd 1314 | int attr windowActionBarOverlay 0x010102e4 1315 | int attr windowActionModeOverlay 0x010102dd 1316 | int attr windowActivityTransitions 0x010104cd 1317 | int attr windowAllowEnterTransitionOverlap 0x0101043c 1318 | int attr windowAllowReturnTransitionOverlap 0x0101043b 1319 | int attr windowAnimationStyle 0x010100ae 1320 | int attr windowBackground 0x01010054 1321 | int attr windowBackgroundFallback 0x01010503 1322 | int attr windowClipToOutline 0x010104ab 1323 | int attr windowCloseOnTouchOutside 0x0101035b 1324 | int attr windowContentOverlay 0x01010059 1325 | int attr windowContentTransitionManager 0x010103f9 1326 | int attr windowContentTransitions 0x010103f8 1327 | int attr windowDisablePreview 0x01010222 1328 | int attr windowDrawsSystemBarBackgrounds 0x01010450 1329 | int attr windowElevation 0x01010490 1330 | int attr windowEnableSplitTouch 0x01010317 1331 | int attr windowEnterAnimation 0x010100b4 1332 | int attr windowEnterTransition 0x01010437 1333 | int attr windowExitAnimation 0x010100b5 1334 | int attr windowExitTransition 0x01010438 1335 | int attr windowFrame 0x01010055 1336 | int attr windowFullscreen 0x0101020d 1337 | int attr windowHideAnimation 0x010100b7 1338 | int attr windowIsFloating 0x01010057 1339 | int attr windowIsTranslucent 0x01010058 1340 | int attr windowLayoutInDisplayCutoutMode 0x01010586 1341 | int attr windowLightNavigationBar 0x0101056c 1342 | int attr windowLightStatusBar 0x010104e0 1343 | int attr windowMinWidthMajor 0x01010356 1344 | int attr windowMinWidthMinor 0x01010357 1345 | int attr windowNoDisplay 0x0101021e 1346 | int attr windowNoTitle 0x01010056 1347 | int attr windowOverscan 0x010103cf 1348 | int attr windowReenterTransition 0x010104af 1349 | int attr windowReturnTransition 0x010104ae 1350 | int attr windowSharedElementEnterTransition 0x01010439 1351 | int attr windowSharedElementExitTransition 0x0101043a 1352 | int attr windowSharedElementReenterTransition 0x010104b1 1353 | int attr windowSharedElementReturnTransition 0x010104b0 1354 | int attr windowSharedElementsUseOverlay 0x010104bb 1355 | int attr windowShowAnimation 0x010100b6 1356 | int attr windowShowWallpaper 0x01010292 1357 | int attr windowSoftInputMode 0x0101022b 1358 | int attr windowSplashscreenContent 0x01010564 1359 | int attr windowSwipeToDismiss 0x010103f3 1360 | int attr windowTitleBackgroundStyle 0x0101005c 1361 | int attr windowTitleSize 0x0101005a 1362 | int attr windowTitleStyle 0x0101005b 1363 | int attr windowTransitionBackgroundFadeDuration 0x01010461 1364 | int attr windowTranslucentNavigation 0x010103f0 1365 | int attr windowTranslucentStatus 0x010103ef 1366 | int attr writePermission 0x01010008 1367 | int attr x 0x010100ac 1368 | int attr xlargeScreens 0x010102bf 1369 | int attr y 0x010100ad 1370 | int attr yearListItemTextAppearance 0x01010499 1371 | int attr yearListSelectorColor 0x0101049a 1372 | int attr yesNoPreferenceStyle 0x01010090 1373 | int attr zAdjustment 0x010101c1 1374 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/compileDebugAidl/dependency.store: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /app/build/intermediates/incremental/packageDebugResources/compile-file-map.properties: -------------------------------------------------------------------------------- 1 | #Mon Nov 19 21:39:15 IST 2018 2 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/packageDebugResources/merged.dir/values/values.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LibraryDataStorage 4 | -------------------------------------------------------------------------------- /app/build/intermediates/incremental/packageDebugResources/merger.xml: -------------------------------------------------------------------------------- 1 | 2 | LibraryDataStorage -------------------------------------------------------------------------------- /app/build/intermediates/manifests/aapt/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/build/intermediates/manifests/aapt/debug/output.json: -------------------------------------------------------------------------------- 1 | [{"outputType":{"type":"AAPT_FRIENDLY_MERGED_MANIFESTS"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"app-debug.aar","fullName":"debug","baseName":"debug"},"path":"AndroidManifest.xml","properties":{"packageId":"com.neeloy.lib.data.storage","split":""}}] -------------------------------------------------------------------------------- /app/build/intermediates/manifests/full/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /app/build/intermediates/manifests/full/debug/output.json: -------------------------------------------------------------------------------- 1 | [{"outputType":{"type":"MERGED_MANIFESTS"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0","enabled":true,"outputFile":"app-debug.aar","fullName":"debug","baseName":"debug"},"path":"AndroidManifest.xml","properties":{"packageId":"com.neeloy.lib.data.storage","split":""}}] -------------------------------------------------------------------------------- /app/build/intermediates/packaged_res/debug/values/values.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | LibraryDataStorage 4 | -------------------------------------------------------------------------------- /app/build/intermediates/res/symbol-table-with-package/debug/package-aware-r.txt: -------------------------------------------------------------------------------- 1 | com.neeloy.lib.data.storage 2 | int string app_name 0x7f150001 3 | -------------------------------------------------------------------------------- /app/build/intermediates/symbols/debug/R.txt: -------------------------------------------------------------------------------- 1 | int string app_name 0x7f150001 2 | -------------------------------------------------------------------------------- /app/build/outputs/logs/manifest-merger-debug-report.txt: -------------------------------------------------------------------------------- 1 | -- Merging decision tree log --- 2 | manifest 3 | ADDED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 4 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 5 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 6 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 7 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 8 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 9 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 10 | package 11 | ADDED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:3:5-42 12 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 13 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 14 | android:versionName 15 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 16 | ADDED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 17 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 18 | android:versionCode 19 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 20 | ADDED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:1-5:12 21 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 22 | xmlns:android 23 | ADDED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml:2:11-69 24 | uses-sdk 25 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml reason: use-sdk injection requested 26 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 27 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 28 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 29 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 30 | android:targetSdkVersion 31 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 32 | ADDED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 33 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 34 | android:minSdkVersion 35 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 36 | ADDED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 37 | INJECTED from /home/neeloy/Downloads/aws-sdk-android-samples-master/LibraryDataStorage/app/src/main/AndroidManifest.xml 38 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/neeloy/lib/data/storage/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.neeloy.lib.data.storage; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.neeloy.lib.data.storage", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/com/neeloy/lib/data/storage/StorageUtility.java: -------------------------------------------------------------------------------- 1 | package com.neeloy.lib.data.storage; 2 | 3 | import android.content.Context; 4 | import android.graphics.Bitmap; 5 | 6 | import com.neeloy.lib.data.storage.utils.Prefs; 7 | import com.neeloy.lib.data.storage.utils.TinyDB; 8 | 9 | import java.util.ArrayList; 10 | /* 11 | * Copyright 2018 @Neeloy Ghosh 12 | * 13 | */ 14 | 15 | public class StorageUtility { 16 | private static Prefs mPrefs; 17 | private static TinyDB tinydb; 18 | 19 | /** 20 | * @param Context mContext 21 | */ 22 | public static void initLibrary(Context mContext) { 23 | mPrefs = new Prefs(mContext); 24 | tinydb = new TinyDB(mContext); 25 | } 26 | 27 | /** 28 | * @param String key 29 | * @param String value 30 | */ 31 | public static void setStringData(String key, String value) { 32 | mPrefs.setStringData(key, value); 33 | } 34 | 35 | /** 36 | * @param String key 37 | * @return String 38 | */ 39 | public static String getStringData(String key) { 40 | return mPrefs.getStringData(key); 41 | } 42 | 43 | /** 44 | * @param String key 45 | * @param int value 46 | */ 47 | public static void setIntData(String key, int value) { 48 | mPrefs.setIntData(key, value); 49 | } 50 | 51 | /** 52 | * @param String key 53 | * @return int 54 | */ 55 | public static int getIntData(String key) { 56 | return mPrefs.getIntData(key); 57 | } 58 | 59 | /** 60 | * @param String key 61 | * @param double value 62 | */ 63 | public static void setDoubleData(String key, double value) { 64 | mPrefs.setDoubleData(key, value); 65 | } 66 | 67 | /** 68 | * @param String key 69 | * @return double 70 | */ 71 | public static double getDoubleData(String key) { 72 | return mPrefs.getDoubleData(key); 73 | } 74 | 75 | /** 76 | * @param String key 77 | * @param long value 78 | */ 79 | public static void setLongData(String key, long value) { 80 | mPrefs.setLongData(key, value); 81 | } 82 | 83 | /** 84 | * @param String key 85 | * @return long 86 | */ 87 | public static long getLongData(String key) { 88 | return mPrefs.getLongData(key); 89 | } 90 | 91 | /** 92 | * @param String key 93 | * @param long value 94 | */ 95 | public static void setBooleanData(String key, boolean value) { 96 | mPrefs.setBooleanData(key, value); 97 | } 98 | 99 | /** 100 | * @param String key 101 | * @return boolean 102 | */ 103 | public static boolean getBooleanData(String key) { 104 | return mPrefs.getBooleanData(key); 105 | } 106 | 107 | /** 108 | * @param String key 109 | * @param Object obj 110 | */ 111 | public static void setObject(String key, Object obj) { 112 | tinydb.putObject(key, obj); 113 | } 114 | 115 | /** 116 | * @param String key 117 | * @param Class classOfT 118 | * @return T 119 | */ 120 | public static T getObject(String key, Class classOfT) { 121 | return tinydb.getObject(key, classOfT); 122 | } 123 | 124 | /** 125 | * @param String key 126 | * @param ArrayList obj 127 | */ 128 | public static void setListObject(String key, ArrayList obj) { 129 | tinydb.putListObject(key, obj); 130 | } 131 | 132 | /** 133 | * @param String key 134 | * @param Class mClass 135 | * @return ArrayList 136 | */ 137 | public static ArrayList getListObject(String key, Class mClass) { 138 | return tinydb.getListObject(key, mClass); 139 | } 140 | 141 | /** 142 | * @param String theFolder 143 | * @param String theImageName 144 | * @param String theImageName 145 | * @return String savedImagePath 146 | */ 147 | public static String saveImage(String theFolder, String theImageName, Bitmap theBitmap) { 148 | return tinydb.putImage(theFolder, theImageName, theBitmap); 149 | } 150 | 151 | /** 152 | * @param String imagePath 153 | * @return Bitmap 154 | */ 155 | public static Bitmap getSavedImage(String imagePath) { 156 | return tinydb.getImage(imagePath); 157 | } 158 | 159 | /** 160 | * Clear all Data 161 | */ 162 | public static void clearAllData() { 163 | if (mPrefs != null) 164 | mPrefs.clearPreferences(); 165 | 166 | } 167 | } 168 | -------------------------------------------------------------------------------- /app/src/main/java/com/neeloy/lib/data/storage/utils/AbsPrefs.java: -------------------------------------------------------------------------------- 1 | package com.neeloy.lib.data.storage.utils; 2 | 3 | import android.content.Context; 4 | import android.content.SharedPreferences; 5 | import android.preference.PreferenceManager; 6 | 7 | /* 8 | * Copyright 2018 @Neeloy Ghosh 9 | * 10 | */ 11 | public class AbsPrefs { 12 | 13 | protected Context mContext; 14 | 15 | protected AbsPrefs(Context context) { 16 | this.mContext = context; 17 | } 18 | 19 | /** 20 | * Store some string in SharedPreferences using a key value and the data 21 | * 22 | * @param key 23 | * @param value 24 | */ 25 | 26 | protected void setString(String key, String value) { 27 | SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 28 | sp.edit().putString(key, value).commit(); 29 | } 30 | 31 | /** 32 | * Get string value from SharedPreferences using key value 33 | * 34 | * @param key 35 | * @param def 36 | * @return a string 37 | */ 38 | 39 | protected String getString(String key, String def) { 40 | SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 41 | return prefs.getString(key, def); 42 | } 43 | 44 | /** 45 | * Store some boolean value in SharedPreferences using a key value and the 46 | * data 47 | * 48 | * @param key 49 | * @param value 50 | */ 51 | 52 | protected void setBoolean(String key, boolean value) { 53 | SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 54 | sp.edit().putBoolean(key, value).commit(); 55 | } 56 | 57 | /** 58 | * Get boolean value from SharedPreferences using key value 59 | * 60 | * @param key 61 | * @param def 62 | * @return a boolean value 63 | */ 64 | 65 | protected boolean getBoolean(String key, boolean def) { 66 | SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 67 | return prefs.getBoolean(key, def); 68 | } 69 | 70 | /** 71 | * Store some integer value in SharedPreferences using a key value and the 72 | * data 73 | * 74 | * @param key 75 | * @param value 76 | */ 77 | 78 | protected void setInt(String key, int value) { 79 | SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 80 | sp.edit().putString(key, Integer.toString(value)).commit(); 81 | } 82 | 83 | /** 84 | * Get integer value from SharedPreferences using key value 85 | * 86 | * @param key 87 | * @param def 88 | * @return a integer value 89 | */ 90 | 91 | protected int getInt(String key, int def) { 92 | SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 93 | return Integer.parseInt(prefs.getString(key, Integer.toString(def))); 94 | } 95 | 96 | /** 97 | * Store some Long value in SharedPreferences using a key value and the data 98 | * 99 | * @param key 100 | * @param value 101 | */ 102 | 103 | protected void setLong(String key, long value) { 104 | SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 105 | sp.edit().putString(key, Long.toString(value)).commit(); 106 | } 107 | 108 | /** 109 | * Get Long value from SharedPreferences using key value 110 | * 111 | * @param key 112 | * @param def 113 | * @return a Long value 114 | */ 115 | 116 | protected long getLong(String key, long def) { 117 | SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 118 | return Long.parseLong(prefs.getString(key, Long.toString(def))); 119 | } 120 | 121 | /** 122 | * Store some Double value in SharedPreferences using a key value and the 123 | * data 124 | * 125 | * @param key 126 | * @param value 127 | */ 128 | 129 | protected void setDouble(String key, double value) { 130 | SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 131 | sp.edit().putString(key, Double.toString(value)).commit(); 132 | } 133 | 134 | /** 135 | * Get Double value from SharedPreferences using key value 136 | * 137 | * @param key 138 | * @param def 139 | * @return a Double value 140 | */ 141 | 142 | protected double getDouble(String key, double def) { 143 | SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 144 | return Double.parseDouble(prefs.getString(key, Double.toString(def))); 145 | } 146 | 147 | public void clearPreferences() { 148 | SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mContext.getApplicationContext()); 149 | SharedPreferences.Editor editor = sp.edit(); 150 | editor.clear(); 151 | editor.commit(); 152 | } 153 | 154 | 155 | } 156 | -------------------------------------------------------------------------------- /app/src/main/java/com/neeloy/lib/data/storage/utils/Prefs.java: -------------------------------------------------------------------------------- 1 | package com.neeloy.lib.data.storage.utils; 2 | 3 | import android.content.Context; 4 | 5 | /* 6 | * Copyright 2018 @Neeloy Ghosh 7 | * 8 | */ 9 | public class Prefs extends AbsPrefs { 10 | 11 | public Prefs(Context context) { 12 | super(context); 13 | } 14 | 15 | public void setStringData(String key, String value) { 16 | setString(key, value); 17 | } 18 | 19 | public String getStringData(String key) { 20 | return getString(key, ""); 21 | } 22 | 23 | public void setIntData(String key, int value) { 24 | setInt(key, value); 25 | } 26 | 27 | public int getIntData(String key) { 28 | return getInt(key, 0); 29 | } 30 | 31 | public void setBooleanData(String key, boolean value) { 32 | setBoolean(key, value); 33 | } 34 | 35 | public boolean getBooleanData(String key) { 36 | return getBoolean(key, true); 37 | } 38 | 39 | public void setDoubleData(String key, double value) { 40 | setDouble(key, value); 41 | } 42 | 43 | public double getDoubleData(String key) { 44 | return getDouble(key, 0); 45 | } 46 | 47 | 48 | public void setLongData(String key, long value) { 49 | setLong(key, value); 50 | } 51 | 52 | public long getLongData(String key) { 53 | return getLong(key, 0); 54 | } 55 | 56 | 57 | 58 | } -------------------------------------------------------------------------------- /app/src/main/java/com/neeloy/lib/data/storage/utils/TinyDB.java: -------------------------------------------------------------------------------- 1 | package com.neeloy.lib.data.storage.utils; 2 | 3 | import android.content.Context; 4 | import android.content.SharedPreferences; 5 | import android.graphics.Bitmap; 6 | import android.graphics.Bitmap.CompressFormat; 7 | import android.graphics.BitmapFactory; 8 | import android.os.Environment; 9 | import android.preference.PreferenceManager; 10 | import android.text.TextUtils; 11 | import android.util.Log; 12 | 13 | import com.google.gson.Gson; 14 | 15 | import java.io.File; 16 | import java.io.FileOutputStream; 17 | import java.io.IOException; 18 | import java.util.ArrayList; 19 | import java.util.Arrays; 20 | import java.util.Map; 21 | 22 | //import com.google.gson.Gson; 23 | 24 | /* 25 | * Copyright 2018 @Neeloy Ghosh 26 | * 27 | */ 28 | 29 | public class TinyDB { 30 | 31 | private SharedPreferences preferences; 32 | private String DEFAULT_APP_IMAGEDATA_DIRECTORY; 33 | private String lastImagePath = ""; 34 | 35 | public TinyDB(Context appContext) { 36 | preferences = PreferenceManager.getDefaultSharedPreferences(appContext); 37 | } 38 | 39 | 40 | /** 41 | * Decodes the Bitmap from 'path' and returns it 42 | * @param path image path 43 | * @return the Bitmap from 'path' 44 | */ 45 | public Bitmap getImage(String path) { 46 | Bitmap bitmapFromPath = null; 47 | try { 48 | bitmapFromPath = BitmapFactory.decodeFile(path); 49 | 50 | } catch (Exception e) { 51 | // TODO: handle exception 52 | e.printStackTrace(); 53 | } 54 | 55 | return bitmapFromPath; 56 | } 57 | 58 | 59 | /** 60 | * Returns the String path of the last saved image 61 | * @return string path of the last saved image 62 | */ 63 | public String getSavedImagePath() { 64 | return lastImagePath; 65 | } 66 | 67 | 68 | /** 69 | * Saves 'theBitmap' into folder 'theFolder' with the name 'theImageName' 70 | * @param theFolder the folder path dir you want to save it to e.g "DropBox/WorkImages" 71 | * @param theImageName the name you want to assign to the image file e.g "MeAtLunch.png" 72 | * @param theBitmap the image you want to save as a Bitmap 73 | * @return returns the full path(file system address) of the saved image 74 | */ 75 | public String putImage(String theFolder, String theImageName, Bitmap theBitmap) { 76 | if (theFolder == null || theImageName == null || theBitmap == null) 77 | return null; 78 | 79 | this.DEFAULT_APP_IMAGEDATA_DIRECTORY = theFolder; 80 | String mFullPath = setupFullPath(theImageName); 81 | 82 | if (!mFullPath.equals("")) { 83 | lastImagePath = mFullPath; 84 | saveBitmap(mFullPath, theBitmap); 85 | } 86 | 87 | return mFullPath; 88 | } 89 | 90 | 91 | /** 92 | * Saves 'theBitmap' into 'fullPath' 93 | * @param fullPath full path of the image file e.g. "Images/MeAtLunch.png" 94 | * @param theBitmap the image you want to save as a Bitmap 95 | * @return true if image was saved, false otherwise 96 | */ 97 | public boolean putImageWithFullPath(String fullPath, Bitmap theBitmap) { 98 | return !(fullPath == null || theBitmap == null) && saveBitmap(fullPath, theBitmap); 99 | } 100 | 101 | /** 102 | * Creates the path for the image with name 'imageName' in DEFAULT_APP.. directory 103 | * @param imageName name of the image 104 | * @return the full path of the image. If it failed to create directory, return empty string 105 | */ 106 | private String setupFullPath(String imageName) { 107 | File mFolder = new File(Environment.getExternalStorageDirectory(), DEFAULT_APP_IMAGEDATA_DIRECTORY); 108 | 109 | if (isExternalStorageReadable() && isExternalStorageWritable() && !mFolder.exists()) { 110 | if (!mFolder.mkdirs()) { 111 | Log.e("ERROR", "Failed to setup folder"); 112 | return ""; 113 | } 114 | } 115 | 116 | return mFolder.getPath() + '/' + imageName; 117 | } 118 | 119 | /** 120 | * Saves the Bitmap as a PNG file at path 'fullPath' 121 | * @param fullPath path of the image file 122 | * @param bitmap the image as a Bitmap 123 | * @return true if it successfully saved, false otherwise 124 | */ 125 | private boolean saveBitmap(String fullPath, Bitmap bitmap) { 126 | if (fullPath == null || bitmap == null) 127 | return false; 128 | 129 | boolean fileCreated = false; 130 | boolean bitmapCompressed = false; 131 | boolean streamClosed = false; 132 | 133 | File imageFile = new File(fullPath); 134 | 135 | if (imageFile.exists()) 136 | if (!imageFile.delete()) 137 | return false; 138 | 139 | try { 140 | fileCreated = imageFile.createNewFile(); 141 | 142 | } catch (IOException e) { 143 | e.printStackTrace(); 144 | } 145 | 146 | FileOutputStream out = null; 147 | try { 148 | out = new FileOutputStream(imageFile); 149 | bitmapCompressed = bitmap.compress(CompressFormat.PNG, 100, out); 150 | 151 | } catch (Exception e) { 152 | e.printStackTrace(); 153 | bitmapCompressed = false; 154 | 155 | } finally { 156 | if (out != null) { 157 | try { 158 | out.flush(); 159 | out.close(); 160 | streamClosed = true; 161 | 162 | } catch (IOException e) { 163 | e.printStackTrace(); 164 | streamClosed = false; 165 | } 166 | } 167 | } 168 | 169 | return (fileCreated && bitmapCompressed && streamClosed); 170 | } 171 | 172 | // Getters 173 | 174 | /** 175 | * Get int value from SharedPreferences at 'key'. If key not found, return 'defaultValue' 176 | * @param key SharedPreferences key 177 | * @param defaultValue int value returned if key was not found 178 | * @return int value at 'key' or 'defaultValue' if key not found 179 | */ 180 | public int getInt(String key) { 181 | return preferences.getInt(key, 0); 182 | } 183 | 184 | /** 185 | * Get parsed ArrayList of Integers from SharedPreferences at 'key' 186 | * @param key SharedPreferences key 187 | * @return ArrayList of Integers 188 | */ 189 | public ArrayList getListInt(String key) { 190 | String[] myList = TextUtils.split(preferences.getString(key, ""), "‚‗‚"); 191 | ArrayList arrayToList = new ArrayList(Arrays.asList(myList)); 192 | ArrayList newList = new ArrayList(); 193 | 194 | for (String item : arrayToList) 195 | newList.add(Integer.parseInt(item)); 196 | 197 | return newList; 198 | } 199 | 200 | /** 201 | * Get long value from SharedPreferences at 'key'. If key not found, return 'defaultValue' 202 | * @param key SharedPreferences key 203 | * @param defaultValue long value returned if key was not found 204 | * @return long value at 'key' or 'defaultValue' if key not found 205 | */ 206 | public long getLong(String key, long defaultValue) { 207 | return preferences.getLong(key, defaultValue); 208 | } 209 | 210 | /** 211 | * Get float value from SharedPreferences at 'key'. If key not found, return 'defaultValue' 212 | * @param key SharedPreferences key 213 | * @param defaultValue float value returned if key was not found 214 | * @return float value at 'key' or 'defaultValue' if key not found 215 | */ 216 | public float getFloat(String key) { 217 | return preferences.getFloat(key, 0); 218 | } 219 | 220 | /** 221 | * Get double value from SharedPreferences at 'key'. If exception thrown, return 'defaultValue' 222 | * @param key SharedPreferences key 223 | * @param defaultValue double value returned if exception is thrown 224 | * @return double value at 'key' or 'defaultValue' if exception is thrown 225 | */ 226 | public double getDouble(String key, double defaultValue) { 227 | String number = getString(key); 228 | 229 | try { 230 | return Double.parseDouble(number); 231 | 232 | } catch (NumberFormatException e) { 233 | return defaultValue; 234 | } 235 | } 236 | 237 | /** 238 | * Get parsed ArrayList of Double from SharedPreferences at 'key' 239 | * @param key SharedPreferences key 240 | * @return ArrayList of Double 241 | */ 242 | public ArrayList getListDouble(String key) { 243 | String[] myList = TextUtils.split(preferences.getString(key, ""), "‚‗‚"); 244 | ArrayList arrayToList = new ArrayList(Arrays.asList(myList)); 245 | ArrayList newList = new ArrayList(); 246 | 247 | for (String item : arrayToList) 248 | newList.add(Double.parseDouble(item)); 249 | 250 | return newList; 251 | } 252 | 253 | /** 254 | * Get parsed ArrayList of Integers from SharedPreferences at 'key' 255 | * @param key SharedPreferences key 256 | * @return ArrayList of Longs 257 | */ 258 | public ArrayList getListLong(String key) { 259 | String[] myList = TextUtils.split(preferences.getString(key, ""), "‚‗‚"); 260 | ArrayList arrayToList = new ArrayList(Arrays.asList(myList)); 261 | ArrayList newList = new ArrayList(); 262 | 263 | for (String item : arrayToList) 264 | newList.add(Long.parseLong(item)); 265 | 266 | return newList; 267 | } 268 | 269 | /** 270 | * Get String value from SharedPreferences at 'key'. If key not found, return "" 271 | * @param key SharedPreferences key 272 | * @return String value at 'key' or "" (empty String) if key not found 273 | */ 274 | public String getString(String key) { 275 | return preferences.getString(key, ""); 276 | } 277 | 278 | /** 279 | * Get parsed ArrayList of String from SharedPreferences at 'key' 280 | * @param key SharedPreferences key 281 | * @return ArrayList of String 282 | */ 283 | public ArrayList getListString(String key) { 284 | return new ArrayList(Arrays.asList(TextUtils.split(preferences.getString(key, ""), "‚‗‚"))); 285 | } 286 | 287 | /** 288 | * Get boolean value from SharedPreferences at 'key'. If key not found, return 'defaultValue' 289 | * @param key SharedPreferences key 290 | * @param defaultValue boolean value returned if key was not found 291 | * @return boolean value at 'key' or 'defaultValue' if key not found 292 | */ 293 | public boolean getBoolean(String key) { 294 | return preferences.getBoolean(key, false); 295 | } 296 | 297 | /** 298 | * Get parsed ArrayList of Boolean from SharedPreferences at 'key' 299 | * @param key SharedPreferences key 300 | * @return ArrayList of Boolean 301 | */ 302 | public ArrayList getListBoolean(String key) { 303 | ArrayList myList = getListString(key); 304 | ArrayList newList = new ArrayList(); 305 | 306 | for (String item : myList) { 307 | if (item.equals("true")) { 308 | newList.add(true); 309 | } else { 310 | newList.add(false); 311 | } 312 | } 313 | 314 | return newList; 315 | } 316 | 317 | 318 | public ArrayList getListObject(String key, Class mClass){ 319 | Gson gson = new Gson(); 320 | 321 | ArrayList objStrings = getListString(key); 322 | ArrayList objects = new ArrayList(); 323 | 324 | for(String jObjString : objStrings){ 325 | Object value = gson.fromJson(jObjString, mClass); 326 | objects.add(value); 327 | } 328 | return objects; 329 | } 330 | 331 | 332 | 333 | public T getObject(String key, Class classOfT){ 334 | 335 | String json = getString(key); 336 | Object value = new Gson().fromJson(json, classOfT); 337 | if (value == null) 338 | throw new NullPointerException(); 339 | return (T)value; 340 | } 341 | 342 | 343 | // Put methods 344 | 345 | /** 346 | * Put int value into SharedPreferences with 'key' and save 347 | * @param key SharedPreferences key 348 | * @param value int value to be added 349 | */ 350 | public void putInt(String key, int value) { 351 | checkForNullKey(key); 352 | preferences.edit().putInt(key, value).apply(); 353 | } 354 | 355 | /** 356 | * Put ArrayList of Integer into SharedPreferences with 'key' and save 357 | * @param key SharedPreferences key 358 | * @param intList ArrayList of Integer to be added 359 | */ 360 | public void putListInt(String key, ArrayList intList) { 361 | checkForNullKey(key); 362 | Integer[] myIntList = intList.toArray(new Integer[intList.size()]); 363 | preferences.edit().putString(key, TextUtils.join("‚‗‚", myIntList)).apply(); 364 | } 365 | 366 | /** 367 | * Put long value into SharedPreferences with 'key' and save 368 | * @param key SharedPreferences key 369 | * @param value long value to be added 370 | */ 371 | public void putLong(String key, long value) { 372 | checkForNullKey(key); 373 | preferences.edit().putLong(key, value).apply(); 374 | } 375 | 376 | /** 377 | * Put ArrayList of Long into SharedPreferences with 'key' and save 378 | * @param key SharedPreferences key 379 | * @param longList ArrayList of Long to be added 380 | */ 381 | public void putListLong(String key, ArrayList longList) { 382 | checkForNullKey(key); 383 | Long[] myLongList = longList.toArray(new Long[longList.size()]); 384 | preferences.edit().putString(key, TextUtils.join("‚‗‚", myLongList)).apply(); 385 | } 386 | 387 | /** 388 | * Put float value into SharedPreferences with 'key' and save 389 | * @param key SharedPreferences key 390 | * @param value float value to be added 391 | */ 392 | public void putFloat(String key, float value) { 393 | checkForNullKey(key); 394 | preferences.edit().putFloat(key, value).apply(); 395 | } 396 | 397 | /** 398 | * Put double value into SharedPreferences with 'key' and save 399 | * @param key SharedPreferences key 400 | * @param value double value to be added 401 | */ 402 | public void putDouble(String key, double value) { 403 | checkForNullKey(key); 404 | putString(key, String.valueOf(value)); 405 | } 406 | 407 | /** 408 | * Put ArrayList of Double into SharedPreferences with 'key' and save 409 | * @param key SharedPreferences key 410 | * @param doubleList ArrayList of Double to be added 411 | */ 412 | public void putListDouble(String key, ArrayList doubleList) { 413 | checkForNullKey(key); 414 | Double[] myDoubleList = doubleList.toArray(new Double[doubleList.size()]); 415 | preferences.edit().putString(key, TextUtils.join("‚‗‚", myDoubleList)).apply(); 416 | } 417 | 418 | /** 419 | * Put String value into SharedPreferences with 'key' and save 420 | * @param key SharedPreferences key 421 | * @param value String value to be added 422 | */ 423 | public void putString(String key, String value) { 424 | checkForNullKey(key); checkForNullValue(value); 425 | preferences.edit().putString(key, value).apply(); 426 | } 427 | 428 | /** 429 | * Put ArrayList of String into SharedPreferences with 'key' and save 430 | * @param key SharedPreferences key 431 | * @param stringList ArrayList of String to be added 432 | */ 433 | public void putListString(String key, ArrayList stringList) { 434 | checkForNullKey(key); 435 | String[] myStringList = stringList.toArray(new String[stringList.size()]); 436 | preferences.edit().putString(key, TextUtils.join("‚‗‚", myStringList)).apply(); 437 | } 438 | 439 | /** 440 | * Put boolean value into SharedPreferences with 'key' and save 441 | * @param key SharedPreferences key 442 | * @param value boolean value to be added 443 | */ 444 | public void putBoolean(String key, boolean value) { 445 | checkForNullKey(key); 446 | preferences.edit().putBoolean(key, value).apply(); 447 | } 448 | 449 | /** 450 | * Put ArrayList of Boolean into SharedPreferences with 'key' and save 451 | * @param key SharedPreferences key 452 | * @param boolList ArrayList of Boolean to be added 453 | */ 454 | public void putListBoolean(String key, ArrayList boolList) { 455 | checkForNullKey(key); 456 | ArrayList newList = new ArrayList(); 457 | 458 | for (Boolean item : boolList) { 459 | if (item) { 460 | newList.add("true"); 461 | } else { 462 | newList.add("false"); 463 | } 464 | } 465 | 466 | putListString(key, newList); 467 | } 468 | 469 | /** 470 | * Put ObJect any type into SharedPrefrences with 'key' and save 471 | * @param key SharedPreferences key 472 | * @param obj is the Object you want to put 473 | */ 474 | public void putObject(String key, Object obj){ 475 | checkForNullKey(key); 476 | Gson gson = new Gson(); 477 | putString(key, gson.toJson(obj)); 478 | } 479 | 480 | public void putListObject(String key, ArrayList objArray){ 481 | checkForNullKey(key); 482 | Gson gson = new Gson(); 483 | ArrayList objStrings = new ArrayList(); 484 | for(Object obj : objArray){ 485 | objStrings.add(gson.toJson(obj)); 486 | } 487 | putListString(key, objStrings); 488 | } 489 | 490 | /** 491 | * Remove SharedPreferences item with 'key' 492 | * @param key SharedPreferences key 493 | */ 494 | public void remove(String key) { 495 | preferences.edit().remove(key).apply(); 496 | } 497 | 498 | /** 499 | * Delete image file at 'path' 500 | * @param path path of image file 501 | * @return true if it successfully deleted, false otherwise 502 | */ 503 | public boolean deleteImage(String path) { 504 | return new File(path).delete(); 505 | } 506 | 507 | 508 | /** 509 | * Clear SharedPreferences (remove everything) 510 | */ 511 | public void clear() { 512 | preferences.edit().clear().commit(); 513 | } 514 | 515 | /** 516 | * Retrieve all values from SharedPreferences. Do not modify collection return by method 517 | * @return a Map representing a list of key/value pairs from SharedPreferences 518 | */ 519 | public Map getAll() { 520 | return preferences.getAll(); 521 | } 522 | 523 | 524 | /** 525 | * Register SharedPreferences change listener 526 | * @param listener listener object of OnSharedPreferenceChangeListener 527 | */ 528 | public void registerOnSharedPreferenceChangeListener( 529 | SharedPreferences.OnSharedPreferenceChangeListener listener) { 530 | 531 | preferences.registerOnSharedPreferenceChangeListener(listener); 532 | } 533 | 534 | /** 535 | * Unregister SharedPreferences change listener 536 | * @param listener listener object of OnSharedPreferenceChangeListener to be unregistered 537 | */ 538 | public void unregisterOnSharedPreferenceChangeListener( 539 | SharedPreferences.OnSharedPreferenceChangeListener listener) { 540 | 541 | preferences.unregisterOnSharedPreferenceChangeListener(listener); 542 | } 543 | 544 | 545 | /** 546 | * Check if external storage is writable or not 547 | * @return true if writable, false otherwise 548 | */ 549 | public static boolean isExternalStorageWritable() { 550 | return Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState()); 551 | } 552 | 553 | /** 554 | * Check if external storage is readable or not 555 | * @return true if readable, false otherwise 556 | */ 557 | public static boolean isExternalStorageReadable() { 558 | String state = Environment.getExternalStorageState(); 559 | 560 | return Environment.MEDIA_MOUNTED.equals(state) || 561 | Environment.MEDIA_MOUNTED_READ_ONLY.equals(state); 562 | } 563 | /** 564 | * null keys would corrupt the shared pref file and make them unreadable this is a preventive measure 565 | * @param the pref key 566 | */ 567 | public void checkForNullKey(String key){ 568 | if (key == null){ 569 | throw new NullPointerException(); 570 | } 571 | } 572 | /** 573 | * null keys would corrupt the shared pref file and make them unreadable this is a preventive measure 574 | * @param the pref key 575 | */ 576 | public void checkForNullValue(String value){ 577 | if (value == null){ 578 | throw new NullPointerException(); 579 | } 580 | } 581 | } 582 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | LibraryDataStorage 3 | 4 | -------------------------------------------------------------------------------- /app/src/test/java/com/neeloy/lib/data/storage/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.neeloy.lib.data.storage; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | 5 | repositories { 6 | //google() 7 | jcenter() 8 | google() 9 | } 10 | dependencies { 11 | classpath 'com.android.tools.build:gradle:3.1.0' 12 | classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0' 13 | classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1' 14 | //classpath 'com.novoda:bintray-release:0.8.0' 15 | 16 | // NOTE: Do not place your application dependencies here; they belong 17 | // in the individual module build.gradle files 18 | } 19 | } 20 | 21 | allprojects { 22 | repositories { 23 | google() 24 | jcenter() 25 | } 26 | } 27 | 28 | task clean(type: Delete) { 29 | delete rootProject.buildDir 30 | } 31 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/neeloyghosh1990/EasyDataStorage/b587dc2f43f96cb99292b87c52bcd5b8af1be58f/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Nov 21 12:24:07 IST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip 7 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Attempt to set APP_HOME 10 | # Resolve links: $0 may be a link 11 | PRG="$0" 12 | # Need this for relative symlinks. 13 | while [ -h "$PRG" ] ; do 14 | ls=`ls -ld "$PRG"` 15 | link=`expr "$ls" : '.*-> \(.*\)$'` 16 | if expr "$link" : '/.*' > /dev/null; then 17 | PRG="$link" 18 | else 19 | PRG=`dirname "$PRG"`"/$link" 20 | fi 21 | done 22 | SAVED="`pwd`" 23 | cd "`dirname \"$PRG\"`/" >/dev/null 24 | APP_HOME="`pwd -P`" 25 | cd "$SAVED" >/dev/null 26 | 27 | APP_NAME="Gradle" 28 | APP_BASE_NAME=`basename "$0"` 29 | 30 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 31 | DEFAULT_JVM_OPTS="" 32 | 33 | # Use the maximum available, or set MAX_FD != -1 to use that value. 34 | MAX_FD="maximum" 35 | 36 | warn () { 37 | echo "$*" 38 | } 39 | 40 | die () { 41 | echo 42 | echo "$*" 43 | echo 44 | exit 1 45 | } 46 | 47 | # OS specific support (must be 'true' or 'false'). 48 | cygwin=false 49 | msys=false 50 | darwin=false 51 | nonstop=false 52 | case "`uname`" in 53 | CYGWIN* ) 54 | cygwin=true 55 | ;; 56 | Darwin* ) 57 | darwin=true 58 | ;; 59 | MINGW* ) 60 | msys=true 61 | ;; 62 | NONSTOP* ) 63 | nonstop=true 64 | ;; 65 | esac 66 | 67 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 68 | 69 | # Determine the Java command to use to start the JVM. 70 | if [ -n "$JAVA_HOME" ] ; then 71 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 72 | # IBM's JDK on AIX uses strange locations for the executables 73 | JAVACMD="$JAVA_HOME/jre/sh/java" 74 | else 75 | JAVACMD="$JAVA_HOME/bin/java" 76 | fi 77 | if [ ! -x "$JAVACMD" ] ; then 78 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 79 | 80 | Please set the JAVA_HOME variable in your environment to match the 81 | location of your Java installation." 82 | fi 83 | else 84 | JAVACMD="java" 85 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 86 | 87 | Please set the JAVA_HOME variable in your environment to match the 88 | location of your Java installation." 89 | fi 90 | 91 | # Increase the maximum file descriptors if we can. 92 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 93 | MAX_FD_LIMIT=`ulimit -H -n` 94 | if [ $? -eq 0 ] ; then 95 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 96 | MAX_FD="$MAX_FD_LIMIT" 97 | fi 98 | ulimit -n $MAX_FD 99 | if [ $? -ne 0 ] ; then 100 | warn "Could not set maximum file descriptor limit: $MAX_FD" 101 | fi 102 | else 103 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 104 | fi 105 | fi 106 | 107 | # For Darwin, add options to specify how the application appears in the dock 108 | if $darwin; then 109 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 110 | fi 111 | 112 | # For Cygwin, switch paths to Windows format before running java 113 | if $cygwin ; then 114 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 115 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 116 | JAVACMD=`cygpath --unix "$JAVACMD"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Escape application args 158 | save () { 159 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 160 | echo " " 161 | } 162 | APP_ARGS=$(save "$@") 163 | 164 | # Collect all arguments for the java command, following the shell quoting and substitution rules 165 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 166 | 167 | # by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong 168 | if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then 169 | cd "$(dirname "$0")" 170 | fi 171 | 172 | exec "$JAVACMD" "$@" 173 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /local.properties: -------------------------------------------------------------------------------- 1 | ## This file is automatically generated by Android Studio. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file should *NOT* be checked into Version Control Systems, 5 | # as it contains information specific to your local configuration. 6 | # 7 | # Location of the SDK. This is only used by Gradle. 8 | # For customization when using a Version Control System, please read the 9 | # header note. 10 | sdk.dir=/home/neeloy/Android/Sdk -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------