diff --git a/Habitica/build.gradle b/Habitica/build.gradle index 2af6acfbea..3fe3b87aff 100644 --- a/Habitica/build.gradle +++ b/Habitica/build.gradle @@ -40,7 +40,7 @@ dependencies { compileOnly 'javax.annotation:javax.annotation-api:1.3.2' //App Compatibility and Material Design implementation "androidx.appcompat:appcompat:$appcompat_version" - implementation 'com.google.android.material:material:1.8.0' + implementation 'com.google.android.material:material:1.9.0' implementation "androidx.recyclerview:recyclerview:$recyclerview_version" implementation "androidx.preference:preference-ktx:$preferences_version" implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0" @@ -51,7 +51,7 @@ dependencies { implementation('com.jaredrummler:android-device-names:2.1.1') // IAP Handling / Verification - implementation "com.android.billingclient:billing-ktx:5.2.0" + implementation "com.android.billingclient:billing-ktx:6.0.1" implementation 'fr.avianey.com.viewpagerindicator:library:2.4.1@aar' implementation("io.coil-kt:coil-compose:$coil_version") @@ -73,7 +73,7 @@ dependencies { androidTestImplementation 'androidx.test:runner:1.5.2' androidTestImplementation 'androidx.test:rules:1.5.0' - debugImplementation 'androidx.fragment:fragment-testing:1.5.7' + debugImplementation 'androidx.fragment:fragment-testing:1.6.1' androidTestImplementation 'androidx.test:core-ktx:1.5.0' debugImplementation "androidx.test:monitor:1.6.1" androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.5' @@ -95,7 +95,7 @@ dependencies { implementation 'com.google.firebase:firebase-messaging-ktx' implementation 'com.google.firebase:firebase-config-ktx' implementation 'com.google.firebase:firebase-perf-ktx' - implementation 'com.google.android.gms:play-services-ads:22.0.0' + implementation 'com.google.android.gms:play-services-ads:22.4.0' implementation "com.google.android.gms:play-services-auth:$play_auth_version" implementation 'com.google.android.flexbox:flexbox:3.0.0' implementation "com.google.android.gms:play-services-wearable:$play_wearables_version" @@ -106,16 +106,17 @@ dependencies { implementation "androidx.lifecycle:lifecycle-common-java8:$lifecycle_version" implementation "androidx.navigation:navigation-fragment-ktx:$navigation_version" implementation "androidx.navigation:navigation-ui-ktx:$navigation_version" - implementation "androidx.fragment:fragment-ktx:1.5.7" - implementation "androidx.paging:paging-runtime-ktx:3.1.1" - implementation "androidx.paging:paging-compose:1.0.0-alpha19" + implementation "androidx.fragment:fragment-ktx:1.6.1" + implementation "androidx.paging:paging-runtime-ktx:$paging_version" + implementation "androidx.paging:paging-compose:$paging_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version" implementation "com.google.accompanist:accompanist-themeadapter-material:$accompanist_version" - implementation "androidx.compose.material3:material3:1.0.1" + implementation "androidx.compose.material3:material3:1.1.2" implementation "com.google.accompanist:accompanist-systemuicontroller:$accompanist_version" + implementation 'com.google.android.play:core:1.10.3' - implementation 'androidx.activity:activity-compose:1.7.1' + implementation 'androidx.activity:activity-compose:1.7.2' implementation "androidx.compose.runtime:runtime-livedata:$compose_version" implementation "androidx.compose.material:material:$compose_version" implementation "androidx.compose.animation:animation:$compose_version" @@ -142,6 +143,7 @@ android { defaultConfig { minSdkVersion min_sdk + compileSdk 34 applicationId "com.habitrpg.android.habitica" vectorDrawables.useSupportLibrary = true buildConfigField "String", "STORE", "\"google\"" @@ -168,7 +170,7 @@ android { } composeOptions { - kotlinCompilerExtensionVersion = "1.4.6" + kotlinCompilerExtensionVersion = "1.5.3" } signingConfigs { diff --git a/Habitica/res/drawable-hdpi/checkmark_small.png b/Habitica/res/drawable-hdpi/checkmark_small.png new file mode 100644 index 0000000000..c23aec1271 Binary files /dev/null and b/Habitica/res/drawable-hdpi/checkmark_small.png differ diff --git a/Habitica/res/drawable-hdpi/icon_boss_health.png b/Habitica/res/drawable-hdpi/icon_boss_health.png new file mode 100644 index 0000000000..8c42c61a5d Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_boss_health.png differ diff --git a/Habitica/res/drawable-hdpi/icon_boss_rage.png b/Habitica/res/drawable-hdpi/icon_boss_rage.png new file mode 100644 index 0000000000..a0527dec0a Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_boss_rage.png differ diff --git a/Habitica/res/drawable-hdpi/icon_eggs.png b/Habitica/res/drawable-hdpi/icon_eggs.png new file mode 100644 index 0000000000..b2fd0cb575 Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_eggs.png differ diff --git a/Habitica/res/drawable-hdpi/icon_food.png b/Habitica/res/drawable-hdpi/icon_food.png new file mode 100644 index 0000000000..d4ad2f7e55 Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_food.png differ diff --git a/Habitica/res/drawable-hdpi/icon_hatchingpotions.png b/Habitica/res/drawable-hdpi/icon_hatchingpotions.png new file mode 100644 index 0000000000..cac75518b2 Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_hatchingpotions.png differ diff --git a/Habitica/res/drawable-hdpi/icon_lock.png b/Habitica/res/drawable-hdpi/icon_lock.png new file mode 100644 index 0000000000..e83bc86363 Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_lock.png differ diff --git a/Habitica/res/drawable-hdpi/icon_quests.png b/Habitica/res/drawable-hdpi/icon_quests.png new file mode 100644 index 0000000000..f8dfab6ab1 Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_quests.png differ diff --git a/Habitica/res/drawable-hdpi/icon_shops.png b/Habitica/res/drawable-hdpi/icon_shops.png new file mode 100644 index 0000000000..26cd85f342 Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_shops.png differ diff --git a/Habitica/res/drawable-hdpi/icon_special.png b/Habitica/res/drawable-hdpi/icon_special.png new file mode 100644 index 0000000000..98021f474f Binary files /dev/null and b/Habitica/res/drawable-hdpi/icon_special.png differ diff --git a/Habitica/res/drawable-hdpi/indicator_subscribe.png b/Habitica/res/drawable-hdpi/indicator_subscribe.png new file mode 100644 index 0000000000..9ffc0beeee Binary files /dev/null and b/Habitica/res/drawable-hdpi/indicator_subscribe.png differ diff --git a/Habitica/res/drawable-hdpi/sub_benefits_armoire.png b/Habitica/res/drawable-hdpi/sub_benefits_armoire.png new file mode 100644 index 0000000000..2b990ebc0b Binary files /dev/null and b/Habitica/res/drawable-hdpi/sub_benefits_armoire.png differ diff --git a/Habitica/res/drawable-mdpi/checkmark_small.png b/Habitica/res/drawable-mdpi/checkmark_small.png new file mode 100644 index 0000000000..8365cc6352 Binary files /dev/null and b/Habitica/res/drawable-mdpi/checkmark_small.png differ diff --git a/Habitica/res/drawable-mdpi/feed_base.png b/Habitica/res/drawable-mdpi/feed_base.png new file mode 100644 index 0000000000..da6110c19e Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_base.png differ diff --git a/Habitica/res/drawable-mdpi/feed_blue.png b/Habitica/res/drawable-mdpi/feed_blue.png new file mode 100644 index 0000000000..59450f8909 Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_blue.png differ diff --git a/Habitica/res/drawable-mdpi/feed_desert.png b/Habitica/res/drawable-mdpi/feed_desert.png new file mode 100644 index 0000000000..218fcfd4f0 Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_desert.png differ diff --git a/Habitica/res/drawable-mdpi/feed_golden.png b/Habitica/res/drawable-mdpi/feed_golden.png new file mode 100644 index 0000000000..b3d7856be3 Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_golden.png differ diff --git a/Habitica/res/drawable-mdpi/feed_pink.png b/Habitica/res/drawable-mdpi/feed_pink.png new file mode 100644 index 0000000000..03ed882ce2 Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_pink.png differ diff --git a/Habitica/res/drawable-mdpi/feed_red.png b/Habitica/res/drawable-mdpi/feed_red.png new file mode 100644 index 0000000000..322ca2a3f6 Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_red.png differ diff --git a/Habitica/res/drawable-mdpi/feed_saddle.png b/Habitica/res/drawable-mdpi/feed_saddle.png new file mode 100644 index 0000000000..687142fb12 Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_saddle.png differ diff --git a/Habitica/res/drawable-mdpi/feed_shade.png b/Habitica/res/drawable-mdpi/feed_shade.png new file mode 100644 index 0000000000..c73a90c518 Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_shade.png differ diff --git a/Habitica/res/drawable-mdpi/feed_skeleton.png b/Habitica/res/drawable-mdpi/feed_skeleton.png new file mode 100644 index 0000000000..2906d3b38a Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_skeleton.png differ diff --git a/Habitica/res/drawable-mdpi/feed_white.png b/Habitica/res/drawable-mdpi/feed_white.png new file mode 100644 index 0000000000..0465dab6da Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_white.png differ diff --git a/Habitica/res/drawable-mdpi/feed_zombie.png b/Habitica/res/drawable-mdpi/feed_zombie.png new file mode 100644 index 0000000000..0f21364fb2 Binary files /dev/null and b/Habitica/res/drawable-mdpi/feed_zombie.png differ diff --git a/Habitica/res/drawable-mdpi/icon_boss_health.png b/Habitica/res/drawable-mdpi/icon_boss_health.png new file mode 100644 index 0000000000..764c499f80 Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_boss_health.png differ diff --git a/Habitica/res/drawable-mdpi/icon_boss_rage.png b/Habitica/res/drawable-mdpi/icon_boss_rage.png new file mode 100644 index 0000000000..9dd9fe7676 Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_boss_rage.png differ diff --git a/Habitica/res/drawable-mdpi/icon_eggs.png b/Habitica/res/drawable-mdpi/icon_eggs.png new file mode 100644 index 0000000000..1a3a58ebb3 Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_eggs.png differ diff --git a/Habitica/res/drawable-mdpi/icon_food.png b/Habitica/res/drawable-mdpi/icon_food.png new file mode 100644 index 0000000000..cd8b8fc38b Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_food.png differ diff --git a/Habitica/res/drawable-mdpi/icon_hatchingpotions.png b/Habitica/res/drawable-mdpi/icon_hatchingpotions.png new file mode 100644 index 0000000000..1483a1693e Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_hatchingpotions.png differ diff --git a/Habitica/res/drawable-mdpi/icon_lock.png b/Habitica/res/drawable-mdpi/icon_lock.png new file mode 100644 index 0000000000..181b86336f Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_lock.png differ diff --git a/Habitica/res/drawable-mdpi/icon_quests.png b/Habitica/res/drawable-mdpi/icon_quests.png new file mode 100644 index 0000000000..9e18dae9c9 Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_quests.png differ diff --git a/Habitica/res/drawable-mdpi/icon_shops.png b/Habitica/res/drawable-mdpi/icon_shops.png new file mode 100644 index 0000000000..7ae1882c11 Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_shops.png differ diff --git a/Habitica/res/drawable-mdpi/icon_special.png b/Habitica/res/drawable-mdpi/icon_special.png new file mode 100644 index 0000000000..191f7ecdd2 Binary files /dev/null and b/Habitica/res/drawable-mdpi/icon_special.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_april.png b/Habitica/res/drawable-mdpi/stable_tile_april.png new file mode 100644 index 0000000000..d5cd1e0217 Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_april.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_august.png b/Habitica/res/drawable-mdpi/stable_tile_august.png new file mode 100644 index 0000000000..29afec1402 Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_august.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_december.png b/Habitica/res/drawable-mdpi/stable_tile_december.png new file mode 100644 index 0000000000..cf8678da00 Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_december.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_february.png b/Habitica/res/drawable-mdpi/stable_tile_february.png new file mode 100644 index 0000000000..bfaf85ede2 Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_february.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_janurary.png b/Habitica/res/drawable-mdpi/stable_tile_janurary.png new file mode 100644 index 0000000000..6a84632c6e Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_janurary.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_july.png b/Habitica/res/drawable-mdpi/stable_tile_july.png new file mode 100644 index 0000000000..371d7e5e4b Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_july.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_june.png b/Habitica/res/drawable-mdpi/stable_tile_june.png new file mode 100644 index 0000000000..aaea748e00 Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_june.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_march.png b/Habitica/res/drawable-mdpi/stable_tile_march.png new file mode 100644 index 0000000000..393d6a6656 Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_march.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_may.png b/Habitica/res/drawable-mdpi/stable_tile_may.png new file mode 100644 index 0000000000..bb017c40bf Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_may.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_november.png b/Habitica/res/drawable-mdpi/stable_tile_november.png new file mode 100644 index 0000000000..565958f4e4 Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_november.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_october.png b/Habitica/res/drawable-mdpi/stable_tile_october.png new file mode 100644 index 0000000000..7841588a5a Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_october.png differ diff --git a/Habitica/res/drawable-mdpi/stable_tile_september.png b/Habitica/res/drawable-mdpi/stable_tile_september.png new file mode 100644 index 0000000000..e6faa878b7 Binary files /dev/null and b/Habitica/res/drawable-mdpi/stable_tile_september.png differ diff --git a/Habitica/res/drawable-mdpi/sub_benefits_armoire.png b/Habitica/res/drawable-mdpi/sub_benefits_armoire.png new file mode 100644 index 0000000000..fbb5705bfd Binary files /dev/null and b/Habitica/res/drawable-mdpi/sub_benefits_armoire.png differ diff --git a/Habitica/res/drawable-mdpi/sub_benefits_faint.png b/Habitica/res/drawable-mdpi/sub_benefits_faint.png new file mode 100644 index 0000000000..f3271dfdb9 Binary files /dev/null and b/Habitica/res/drawable-mdpi/sub_benefits_faint.png differ diff --git a/Habitica/res/drawable-night/indicator_subscribe.png b/Habitica/res/drawable-night/indicator_subscribe.png new file mode 100644 index 0000000000..9ffc0beeee Binary files /dev/null and b/Habitica/res/drawable-night/indicator_subscribe.png differ diff --git a/Habitica/res/drawable-xhdpi/checkmark_small.png b/Habitica/res/drawable-xhdpi/checkmark_small.png new file mode 100644 index 0000000000..4545f631f0 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/checkmark_small.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_boss_health.png b/Habitica/res/drawable-xhdpi/icon_boss_health.png new file mode 100644 index 0000000000..bbd8a71a54 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_boss_health.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_boss_rage.png b/Habitica/res/drawable-xhdpi/icon_boss_rage.png new file mode 100644 index 0000000000..f7662ba116 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_boss_rage.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_eggs.png b/Habitica/res/drawable-xhdpi/icon_eggs.png new file mode 100644 index 0000000000..9eef23c5bc Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_eggs.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_food.png b/Habitica/res/drawable-xhdpi/icon_food.png new file mode 100644 index 0000000000..21850ec289 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_food.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_hatchingpotions.png b/Habitica/res/drawable-xhdpi/icon_hatchingpotions.png new file mode 100644 index 0000000000..6bf2d0e5cf Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_hatchingpotions.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_lock.png b/Habitica/res/drawable-xhdpi/icon_lock.png new file mode 100644 index 0000000000..70e12a9382 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_lock.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_quests.png b/Habitica/res/drawable-xhdpi/icon_quests.png new file mode 100644 index 0000000000..e09b5fd395 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_quests.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_shops.png b/Habitica/res/drawable-xhdpi/icon_shops.png new file mode 100644 index 0000000000..c9cc3e58ae Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_shops.png differ diff --git a/Habitica/res/drawable-xhdpi/icon_special.png b/Habitica/res/drawable-xhdpi/icon_special.png new file mode 100644 index 0000000000..9f4b7f26c2 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/icon_special.png differ diff --git a/Habitica/res/drawable-xhdpi/indicator_subscribe.png b/Habitica/res/drawable-xhdpi/indicator_subscribe.png new file mode 100644 index 0000000000..84bf95ac73 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/indicator_subscribe.png differ diff --git a/Habitica/res/drawable-xhdpi/sub_benefits_armoire.png b/Habitica/res/drawable-xhdpi/sub_benefits_armoire.png new file mode 100644 index 0000000000..d54695a623 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/sub_benefits_armoire.png differ diff --git a/Habitica/res/drawable-xhdpi/sub_benefits_faint.png b/Habitica/res/drawable-xhdpi/sub_benefits_faint.png new file mode 100644 index 0000000000..0a588745b1 Binary files /dev/null and b/Habitica/res/drawable-xhdpi/sub_benefits_faint.png differ diff --git a/Habitica/res/drawable-xxhdpi/checkmark_small.png b/Habitica/res/drawable-xxhdpi/checkmark_small.png new file mode 100644 index 0000000000..d35a15dac6 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/checkmark_small.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_boss_health.png b/Habitica/res/drawable-xxhdpi/icon_boss_health.png new file mode 100644 index 0000000000..54f7c4919a Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_boss_health.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_boss_rage.png b/Habitica/res/drawable-xxhdpi/icon_boss_rage.png new file mode 100644 index 0000000000..cdc741ab20 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_boss_rage.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_eggs.png b/Habitica/res/drawable-xxhdpi/icon_eggs.png new file mode 100644 index 0000000000..15a83f6df2 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_eggs.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_food.png b/Habitica/res/drawable-xxhdpi/icon_food.png new file mode 100644 index 0000000000..1100d90c02 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_food.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_hatchingpotions.png b/Habitica/res/drawable-xxhdpi/icon_hatchingpotions.png new file mode 100644 index 0000000000..f0527ce5bd Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_hatchingpotions.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_lock.png b/Habitica/res/drawable-xxhdpi/icon_lock.png new file mode 100644 index 0000000000..7a694af4bf Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_lock.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_quests.png b/Habitica/res/drawable-xxhdpi/icon_quests.png new file mode 100644 index 0000000000..a17600b059 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_quests.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_shops.png b/Habitica/res/drawable-xxhdpi/icon_shops.png new file mode 100644 index 0000000000..e510983438 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_shops.png differ diff --git a/Habitica/res/drawable-xxhdpi/icon_special.png b/Habitica/res/drawable-xxhdpi/icon_special.png new file mode 100644 index 0000000000..5802414e6b Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/icon_special.png differ diff --git a/Habitica/res/drawable-xxhdpi/indicator_subscribe.png b/Habitica/res/drawable-xxhdpi/indicator_subscribe.png new file mode 100644 index 0000000000..cb4d663b6d Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/indicator_subscribe.png differ diff --git a/Habitica/res/drawable-xxhdpi/sub_benefits_armoire.png b/Habitica/res/drawable-xxhdpi/sub_benefits_armoire.png new file mode 100644 index 0000000000..eeabbecfb7 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/sub_benefits_armoire.png differ diff --git a/Habitica/res/drawable-xxhdpi/sub_benefits_faint.png b/Habitica/res/drawable-xxhdpi/sub_benefits_faint.png new file mode 100644 index 0000000000..8e126c2621 Binary files /dev/null and b/Habitica/res/drawable-xxhdpi/sub_benefits_faint.png differ diff --git a/Habitica/res/drawable/ad_button_background.xml b/Habitica/res/drawable/ad_button_background.xml index 87c8b59d10..5186b00329 100644 --- a/Habitica/res/drawable/ad_button_background.xml +++ b/Habitica/res/drawable/ad_button_background.xml @@ -7,7 +7,7 @@ android:angle="0" android:startColor="@color/green_100" android:endColor="@color/green_500" /> - + - + diff --git a/Habitica/res/drawable/ad_button_background_content.xml b/Habitica/res/drawable/ad_button_background_content.xml index a53d99acac..ab553aad05 100644 --- a/Habitica/res/drawable/ad_button_background_content.xml +++ b/Habitica/res/drawable/ad_button_background_content.xml @@ -7,7 +7,7 @@ android:angle="0" android:startColor="@color/green_100" android:endColor="@color/green_500" /> - + - + diff --git a/Habitica/res/drawable/armoire_background_full.xml b/Habitica/res/drawable/armoire_background_full.xml new file mode 100644 index 0000000000..bb9de1b2f0 --- /dev/null +++ b/Habitica/res/drawable/armoire_background_full.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Habitica/res/drawable/avatar_customization_subcategory_bg.xml b/Habitica/res/drawable/avatar_customization_subcategory_bg.xml index 46989087c0..1eaeca2670 100644 --- a/Habitica/res/drawable/avatar_customization_subcategory_bg.xml +++ b/Habitica/res/drawable/avatar_customization_subcategory_bg.xml @@ -2,10 +2,10 @@ - + - \ No newline at end of file + diff --git a/Habitica/res/drawable/boss_health_bg.xml b/Habitica/res/drawable/boss_health_bg.xml index 44bb6beb0b..f87ddaf71f 100644 --- a/Habitica/res/drawable/boss_health_bg.xml +++ b/Habitica/res/drawable/boss_health_bg.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + + diff --git a/Habitica/res/drawable/confetti_subs.xml b/Habitica/res/drawable/confetti_subs.xml new file mode 100644 index 0000000000..e148b40163 --- /dev/null +++ b/Habitica/res/drawable/confetti_subs.xml @@ -0,0 +1,7 @@ + + + + diff --git a/Habitica/res/drawable/item_indicator_subscribe.xml b/Habitica/res/drawable/item_indicator_subscribe.xml new file mode 100644 index 0000000000..638af238a0 --- /dev/null +++ b/Habitica/res/drawable/item_indicator_subscribe.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Habitica/res/drawable/pill_bg_green.xml b/Habitica/res/drawable/pill_bg_green.xml index ed85dcfaa1..6d0e913807 100644 --- a/Habitica/res/drawable/pill_bg_green.xml +++ b/Habitica/res/drawable/pill_bg_green.xml @@ -1,6 +1,6 @@ - + - \ No newline at end of file + diff --git a/Habitica/res/drawable/quest_collection_bg.xml b/Habitica/res/drawable/quest_collection_bg.xml index 8fc079ea9a..97817b1283 100644 --- a/Habitica/res/drawable/quest_collection_bg.xml +++ b/Habitica/res/drawable/quest_collection_bg.xml @@ -1,5 +1,5 @@ - - \ No newline at end of file + + diff --git a/Habitica/res/drawable/quest_difficulty_bg.xml b/Habitica/res/drawable/quest_difficulty_bg.xml index c59d182caf..7f170b3c23 100644 --- a/Habitica/res/drawable/quest_difficulty_bg.xml +++ b/Habitica/res/drawable/quest_difficulty_bg.xml @@ -2,6 +2,6 @@ - + - \ No newline at end of file + diff --git a/Habitica/res/drawable/shop_locked.xml b/Habitica/res/drawable/shop_locked.xml new file mode 100644 index 0000000000..59cfd6f02e --- /dev/null +++ b/Habitica/res/drawable/shop_locked.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/Habitica/res/drawable/snackbar_background_black.xml b/Habitica/res/drawable/snackbar_background_black.xml new file mode 100644 index 0000000000..6fa29e2994 --- /dev/null +++ b/Habitica/res/drawable/snackbar_background_black.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Habitica/res/drawable/sub_perk_bg.xml b/Habitica/res/drawable/sub_perk_bg.xml new file mode 100644 index 0000000000..a62e9ef6f5 --- /dev/null +++ b/Habitica/res/drawable/sub_perk_bg.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/Habitica/res/drawable/subscribe_incentive_bg.xml b/Habitica/res/drawable/subscribe_incentive_bg.xml new file mode 100644 index 0000000000..7fc46c5f00 --- /dev/null +++ b/Habitica/res/drawable/subscribe_incentive_bg.xml @@ -0,0 +1,4 @@ + + + + diff --git a/Habitica/res/drawable/subscribe_incentive_bg_topround.xml b/Habitica/res/drawable/subscribe_incentive_bg_topround.xml new file mode 100644 index 0000000000..281d577109 --- /dev/null +++ b/Habitica/res/drawable/subscribe_incentive_bg_topround.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/Habitica/res/drawable/subscriber_benefit_button_bg.xml b/Habitica/res/drawable/subscriber_benefit_button_bg.xml new file mode 100644 index 0000000000..76e4c55b5a --- /dev/null +++ b/Habitica/res/drawable/subscriber_benefit_button_bg.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Habitica/res/drawable/subscriber_benefit_snackbar_bg.xml b/Habitica/res/drawable/subscriber_benefit_snackbar_bg.xml new file mode 100644 index 0000000000..2c2745de8e --- /dev/null +++ b/Habitica/res/drawable/subscriber_benefit_snackbar_bg.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/Habitica/res/drawable/subscription_banner_image_left.xml b/Habitica/res/drawable/subscription_banner_image_left.xml new file mode 100644 index 0000000000..0261df640d --- /dev/null +++ b/Habitica/res/drawable/subscription_banner_image_left.xml @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Habitica/res/drawable/subscription_banner_image_right.xml b/Habitica/res/drawable/subscription_banner_image_right.xml new file mode 100644 index 0000000000..d13de7c95a --- /dev/null +++ b/Habitica/res/drawable/subscription_banner_image_right.xml @@ -0,0 +1,264 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Habitica/res/drawable/subscription_type_box_bg.xml b/Habitica/res/drawable/subscription_type_box_bg.xml new file mode 100644 index 0000000000..147c40f4a5 --- /dev/null +++ b/Habitica/res/drawable/subscription_type_box_bg.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/Habitica/res/layout/activity_armoire.xml b/Habitica/res/layout/activity_armoire.xml index dc99484960..2ab5f53a07 100644 --- a/Habitica/res/layout/activity_armoire.xml +++ b/Habitica/res/layout/activity_armoire.xml @@ -1,172 +1,298 @@ - - - - + + - - - - - - - - - - - - - + android:layout_height="match_parent" /> + - - + + + android:layout_height="0dp" + android:layout_weight="1" /> + - \ No newline at end of file diff --git a/Habitica/res/layout/dialog_purchase_content_quest.xml b/Habitica/res/layout/dialog_purchase_content_quest.xml index 3a4515b82d..90c8d5c95a 100644 --- a/Habitica/res/layout/dialog_purchase_content_quest.xml +++ b/Habitica/res/layout/dialog_purchase_content_quest.xml @@ -98,6 +98,8 @@ tools:text="List of items" android:textColor="@color/white" style="@style/Body2" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" /> - \ No newline at end of file + diff --git a/Habitica/res/layout/drawer_main.xml b/Habitica/res/layout/drawer_main.xml index d10d097b59..22ec180709 100644 --- a/Habitica/res/layout/drawer_main.xml +++ b/Habitica/res/layout/drawer_main.xml @@ -18,17 +18,19 @@ android:background="?colorPrimaryOffset" android:baselineAligned="false"> - + android:background="@drawable/rounded_avatar_bg" + android:clipToPadding="true" + android:clipChildren="true"> - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Habitica/res/layout/fragment_bottomsheet_subscription.xml b/Habitica/res/layout/fragment_bottomsheet_subscription.xml new file mode 100644 index 0000000000..f2ce1e397d --- /dev/null +++ b/Habitica/res/layout/fragment_bottomsheet_subscription.xml @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +