Advertisement
Guest User

Untitled

a guest
May 19th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.48 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.androstock.galleryapp">
  4.  
  5. <uses-permission android:name="android.permission.CAMERA" />
  6. <uses-permission
  7. android:name="android.permission.READ_EXTERNAL_STORAGE"
  8. android:maxSdkVersion="24" />
  9. <uses-permission android:name="android.permission.SET_WALLPAPER" />
  10. <uses-permission android:name="android.permission.INTERNET" />
  11. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  12.  
  13.  
  14. <application
  15. android:allowBackup="true"
  16. android:icon="@mipmap/ic_launcher"
  17. android:label="@string/app_name"
  18. android:roundIcon="@mipmap/ic_launcher_round"
  19. android:supportsRtl="true"
  20. android:theme="@style/AppTheme">
  21. <activity android:name=".Edit"></activity>
  22. <activity android:name=".RecyclerView" />
  23. <activity
  24. android:name=".MainActivity"
  25. android:configChanges="orientation|screenSize">
  26. <intent-filter>
  27. <action android:name="android.intent.action.MAIN" />
  28.  
  29. <category android:name="android.intent.category.LAUNCHER" />
  30. </intent-filter>
  31. </activity>
  32. <activity
  33. android:name=".ImagePagerView"
  34. android:configChanges="orientation|screenSize" />
  35. </application>
  36.  
  37. </manifest>
  38.  
  39.  
  40.  
  41.  
  42. TEN PIERWSZY BUILD.GRADLE:
  43.  
  44.  
  45. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  46.  
  47. buildscript {
  48. repositories {
  49. jcenter()
  50. maven {
  51. url 'https://maven.google.com/'
  52. name 'Google'
  53. }
  54. }
  55. dependencies {
  56. classpath 'com.android.tools.build:gradle:3.3.2'
  57.  
  58. // NOTE: Do not place your application dependencies here; they belong
  59. // in the individual module build.gradle files
  60. }
  61. }
  62.  
  63. allprojects {
  64. repositories {
  65. jcenter()
  66. maven {
  67. url 'https://maven.google.com/'
  68. name 'Google'
  69. }
  70.  
  71. }
  72. }
  73.  
  74. task clean(type: Delete) {
  75. delete rootProject.buildDir
  76. }
  77.  
  78.  
  79.  
  80. DRUGI:
  81.  
  82.  
  83.  
  84.  
  85. apply plugin: 'com.android.application'
  86.  
  87. android {
  88. compileSdkVersion 28
  89. defaultConfig {
  90. applicationId "com.example.myapplication"
  91. minSdkVersion 17
  92. targetSdkVersion 28
  93. versionCode 1
  94. versionName "1.0"
  95. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  96. }
  97. buildTypes {
  98. release {
  99. minifyEnabled false
  100. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  101. }
  102. }
  103. }
  104.  
  105. dependencies {
  106. implementation fileTree(dir: 'libs', include: ['*.jar'])
  107. implementation 'com.android.support:appcompat-v7:28.0.0'
  108. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  109. implementation 'com.jsibbold:zoomage:1.1.0'
  110. implementation 'lib.kashif:folderpicker:2.4'
  111. implementation 'com.github.bumptech.glide:glide:4.0.0-RC1'
  112. implementation 'com.android.support:recyclerview-v7:28.0.0'
  113. implementation 'com.android.support:cardview-v7:28.0.0'
  114. implementation 'com.android.support:design:28.0.0'
  115.  
  116. testImplementation 'junit:junit:4.12'
  117. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  118. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  119. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement