Skip to content

Commit

Permalink
Merge pull request #115 from Begin-Vegan/feature/BVVER24-138-user_info
Browse files Browse the repository at this point in the history
유저 갤러리, 카메라를 통한 프로필 이미지 설정
  • Loading branch information
CHOI97 authored Jul 14, 2024
2 parents ec1d707 + 84a499c commit e8ac1c4
Show file tree
Hide file tree
Showing 52 changed files with 3,220 additions and 553 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified .gradle/8.4/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/8.4/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.4/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.4/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/8.4/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/8.4/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.4/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/8.4/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified .gradle/file-system.probe
Binary file not shown.
7 changes: 7 additions & 0 deletions .idea/deploymentTargetSelector.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2,298 changes: 2,298 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ android {
}

buildTypes {
named("release") {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
signingConfig = signingConfigs.getByName("debug")
}
}
compileOptions {
Expand Down
33 changes: 26 additions & 7 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<uses-feature
android:name="android.hardware.camera"
android:required="false" />

<uses-feature android:name="android.hardware.camera.any" />

<uses-permission android:name="android.permission.RECORD_AUDIO" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
Expand All @@ -13,14 +14,21 @@
<uses-permission android:name="android.permission.INTERNET" />

<!-- 갤러리 권한-->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
<uses-permission
android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" /> <!-- Android 10 이하에서만 유효 -->

<!-- Android 12 및 이후 버전용 퍼미션 설정 -->
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"
<uses-permission
android:name="android.permission.READ_MEDIA_IMAGES"
android:minSdkVersion="31" />

<!-- Android 14 이후 버전용 일부 엑세스 권한-->
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" />

<!-- 카메라 권한-->
<uses-permission android:name="android.permission.CAMERA" />

Expand All @@ -35,6 +43,17 @@
android:supportsRtl="true"
android:theme="@style/Theme.Beginvegan"
android:usesCleartextTraffic="true"
tools:targetApi="31"></application>
tools:targetApi="31">
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.example.beginvegan.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths" />
</provider>
</application>


</manifest>
26 changes: 26 additions & 0 deletions app/src/main/res/drawable/data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector
android:width="1920dp"
android:height="1080dp"
android:viewportWidth="1920"
android:viewportHeight="1080">
<group android:name="_R_G" />
<group android:name="time_group" />
</vector>
</aapt:attr>
<target android:name="time_group">
<aapt:attr name="android:animation">
<set android:ordering="together">
<objectAnimator
android:duration="3000"
android:propertyName="translateX"
android:startOffset="0"
android:valueFrom="0"
android:valueTo="1"
android:valueType="floatType" />
</set>
</aapt:attr>
</target>
</animated-vector>
12 changes: 12 additions & 0 deletions app/src/main/res/drawable/path_morph_first.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<set>
<objectAnimator
xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="1000"
android:propertyName="pathData"
android:valueFrom="M 10,50 L 10,40 L 20,40 L 20,50 Z"
android:valueTo="M 10,50 L 10,20 L 20,20 L 20,50 Z"
android:valueType="pathType"
android:repeatCount="-1"
android:repeatMode="reverse"/>
</set>
5 changes: 4 additions & 1 deletion app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<style name="Base.Theme.MyApplication" parent="Theme.Material3.DayNight.NoActionBar">
<!-- Customize your light theme here. -->
<!-- <item name="colorPrimary">@color/my_light_primary</item> -->

<item name="android:windowSplashScreenBackground" tools:targetApi="s">@color/white</item>
<item name="android:windowSplashScreenAnimatedIcon" tools:targetApi="s">
@drawable/data
</item>
</style>

<style name="Theme.MyApplication" parent="Base.Theme.MyApplication" />
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/xml/file_paths.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path name="my_images" path="Android/data/com.example.beginvegan/files/Pictures" />

</paths>
Binary file modified buildSrc/.gradle/8.4/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified buildSrc/.gradle/8.4/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified buildSrc/.gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified buildSrc/.gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified buildSrc/.gradle/file-system.probe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin
Binary file not shown.
Binary file not shown.
Binary file modified buildSrc/build/libs/buildSrc.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ android {
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
named("release") {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
signingConfig = signingConfigs.getByName("debug")
}
}
kotlinOptions {
Expand Down
11 changes: 10 additions & 1 deletion presentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ android {
}

buildTypes {
named("release") {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
signingConfig = signingConfigs.getByName("debug")
}
}
compileOptions {
Expand Down Expand Up @@ -169,6 +170,14 @@ dependencies {
//Coroutine
implementation (Dependencies.KOTLINX_COROUTINES)

implementation ("androidx.camera:camera-core:1.3.4")
implementation ("androidx.camera:camera-camera2:1.3.4")
implementation ("androidx.camera:camera-lifecycle:1.3.4")
implementation ("androidx.camera:camera-video:1.3.4")

implementation ("androidx.camera:camera-view:1.3.4")
implementation ("androidx.camera:camera-extensions:1.3.4")

// implementation 'androidx.core:core-ktx:1.8.0'
// implementation 'androidx.appcompat:appcompat:1.6.1'
// implementation 'com.google.android.material:material:1.5.0'
Expand Down
6 changes: 4 additions & 2 deletions presentation/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@
<activity
android:name=".view.login.view.OnboardingActivity"
android:exported="true"
android:windowSoftInputMode="adjustPan" />
android:windowSoftInputMode="adjustPan"/>
<activity
android:name=".view.gallery.view.GalleryActivity"
android:name=".view.image.gallery.view.GalleryActivity"
android:exported="true"
android:windowSoftInputMode="adjustResize" />
<activity android:name=".view.image.camera.view.CameraActivity"
android:exported="true"/>
</application>

</manifest>

This file was deleted.

Loading

0 comments on commit e8ac1c4

Please sign in to comment.