diff --git a/app/build.gradle b/app/build.gradle index f69e6b97..90195102 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -12,7 +12,7 @@ def appVersionName = "${versionMajor}.${versionMinor}.${versionPatch}" def appCompileSdkVersion = 28 def appPackageName = "com.cyder.android.syncpod" -def appMinSdkVersion = 19 +def appMinSdkVersion = 21 def appTargetSdkVersion = 28 android { diff --git a/app/src/main/ic_launcher-web.png b/app/src/main/ic_launcher-web.png index 5866f58f..067e4186 100644 Binary files a/app/src/main/ic_launcher-web.png and b/app/src/main/ic_launcher-web.png differ diff --git a/app/src/main/kotlin/com/cyder/android/syncpod/BaseApplication.kt b/app/src/main/kotlin/com/cyder/android/syncpod/BaseApplication.kt index 574f4774..3ce1bd72 100644 --- a/app/src/main/kotlin/com/cyder/android/syncpod/BaseApplication.kt +++ b/app/src/main/kotlin/com/cyder/android/syncpod/BaseApplication.kt @@ -1,8 +1,6 @@ package com.cyder.android.syncpod import android.app.Application -import android.content.Context -import androidx.multidex.MultiDex import com.cyder.android.syncpod.di.AppComponent import com.cyder.android.syncpod.di.AppModule import com.cyder.android.syncpod.di.DaggerAppComponent @@ -24,9 +22,4 @@ class BaseApplication : Application() { component.inject(this) } - - override fun attachBaseContext(base: Context?) { - super.attachBaseContext(base) - MultiDex.install(this) - } } diff --git a/app/src/main/res/drawable-hdpi/toolbar_logo.png b/app/src/main/res/drawable-hdpi/toolbar_logo.png old mode 100755 new mode 100644 index b1d01490..57f91ee2 Binary files a/app/src/main/res/drawable-hdpi/toolbar_logo.png and b/app/src/main/res/drawable-hdpi/toolbar_logo.png differ diff --git a/app/src/main/res/drawable-mdpi/toolbar_logo.png b/app/src/main/res/drawable-mdpi/toolbar_logo.png old mode 100755 new mode 100644 index e460b91d..40721cae Binary files a/app/src/main/res/drawable-mdpi/toolbar_logo.png and b/app/src/main/res/drawable-mdpi/toolbar_logo.png differ diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml index c7bd21db..acbb9b2e 100644 --- a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml @@ -1,34 +1,12 @@ - - - - - - - - - + android:width="108dp" + android:height="108dp" + android:viewportWidth="158.86363" + android:viewportHeight="158.86363"> + + + diff --git a/app/src/main/res/drawable-xhdpi/toolbar_logo.png b/app/src/main/res/drawable-xhdpi/toolbar_logo.png old mode 100755 new mode 100644 index 4cad7fb2..8a5d6d35 Binary files a/app/src/main/res/drawable-xhdpi/toolbar_logo.png and b/app/src/main/res/drawable-xhdpi/toolbar_logo.png differ diff --git a/app/src/main/res/drawable-xxhdpi/toolbar_logo.png b/app/src/main/res/drawable-xxhdpi/toolbar_logo.png old mode 100755 new mode 100644 index 2784ca21..d729275c Binary files a/app/src/main/res/drawable-xxhdpi/toolbar_logo.png and b/app/src/main/res/drawable-xxhdpi/toolbar_logo.png differ diff --git a/app/src/main/res/drawable-xxxhdpi/toolbar_logo.png b/app/src/main/res/drawable-xxxhdpi/toolbar_logo.png old mode 100755 new mode 100644 index f0777635..5455b50d Binary files a/app/src/main/res/drawable-xxxhdpi/toolbar_logo.png and b/app/src/main/res/drawable-xxxhdpi/toolbar_logo.png differ diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index d5fccc53..00000000 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/drawable/ic_launcher_foreground.xml b/app/src/main/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 00000000..2bd7fd59 --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,12 @@ + + + + + diff --git a/app/src/main/res/layout/activity_contact.xml b/app/src/main/res/layout/activity_contact.xml index 4488caab..cfee743e 100644 --- a/app/src/main/res/layout/activity_contact.xml +++ b/app/src/main/res/layout/activity_contact.xml @@ -56,10 +56,10 @@ android:layout_height="55dp" android:layout_marginBottom="20dp" android:layout_marginTop="20dp" - android:background="@color/appGreen" + android:background="@color/appBeige" android:onClick="@{(v) -> viewModel.onSubmit()}" android:text="@string/send_button" - android:textColor="@color/appWhite" + android:textColor="@color/on_beige_text" android:textSize="18sp" /> diff --git a/app/src/main/res/layout/activity_create_room.xml b/app/src/main/res/layout/activity_create_room.xml index ac223665..d15f6e1c 100644 --- a/app/src/main/res/layout/activity_create_room.xml +++ b/app/src/main/res/layout/activity_create_room.xml @@ -88,10 +88,10 @@ android:layout_height="55dp" android:layout_marginBottom="20dp" android:layout_marginTop="20dp" - android:background="@color/appGreen" + android:background="@color/appBeige" android:onClick="@{(v) -> viewModel.onSubmit()}" android:text="@string/create_room_button" - android:textColor="@color/appWhite" + android:textColor="@color/on_beige_text" android:textSize="18sp" /> diff --git a/app/src/main/res/layout/activity_room.xml b/app/src/main/res/layout/activity_room.xml index c323b9d6..806ee43f 100644 --- a/app/src/main/res/layout/activity_room.xml +++ b/app/src/main/res/layout/activity_room.xml @@ -49,12 +49,13 @@ android:layout_width="match_parent" android:layout_height="45dp" android:background="@color/roomTab" - android:elevation="2dp" /> + android:elevation="2dp" + app:tabIndicatorColor="@color/appOrange" /> + android:layout_width="match_parent" /> diff --git a/app/src/main/res/layout/activity_search_video.xml b/app/src/main/res/layout/activity_search_video.xml index 1944bf03..3b185ba4 100644 --- a/app/src/main/res/layout/activity_search_video.xml +++ b/app/src/main/res/layout/activity_search_video.xml @@ -21,7 +21,7 @@ android:background="?attr/colorPrimary" android:elevation="4dp" android:minHeight="?attr/actionBarSize" - android:theme="@style/ThemeOverlay.AppCompat.ActionBar" + android:theme="@style/SearchVideoTheme" app:navigationIcon="@drawable/ic_arrow_back_black_24dp" app:navigationOnClick="@{(v) -> viewModel.onBackButtonClicked()}"> diff --git a/app/src/main/res/layout/activity_sign_in.xml b/app/src/main/res/layout/activity_sign_in.xml index dd857528..d30eaf37 100644 --- a/app/src/main/res/layout/activity_sign_in.xml +++ b/app/src/main/res/layout/activity_sign_in.xml @@ -87,7 +87,7 @@ android:layout_height="55dp" android:layout_marginBottom="20dp" android:layout_marginTop="20dp" - android:background="@color/appBlue" + android:background="@color/colorPrimary" android:onClick="@{(v) -> viewModel.onSignIn()}" android:text="@string/send_button" android:textColor="@color/appWhite" diff --git a/app/src/main/res/layout/activity_sign_up.xml b/app/src/main/res/layout/activity_sign_up.xml index d1ddbee3..1b81f536 100644 --- a/app/src/main/res/layout/activity_sign_up.xml +++ b/app/src/main/res/layout/activity_sign_up.xml @@ -108,10 +108,10 @@ android:layout_height="55dp" android:layout_marginBottom="20dp" android:layout_marginTop="20dp" - android:background="@color/appGreen" + android:background="@color/appBeige" android:onClick="@{(v) -> viewModel.onSignUp()}" android:text="@string/register_button" - android:textColor="@color/appWhite" + android:textColor="@color/on_beige_text" android:textSize="18sp" /> diff --git a/app/src/main/res/layout/activity_top.xml b/app/src/main/res/layout/activity_top.xml index f7cbedb3..0169df1e 100644 --- a/app/src/main/res/layout/activity_top.xml +++ b/app/src/main/res/layout/activity_top.xml @@ -56,7 +56,7 @@ android:clickable="true" android:foreground="?android:attr/selectableItemBackground" android:onClick="@{(v) -> viewModel.onJoinRoom()}" - app:cardBackgroundColor="@color/appBlue"> + app:cardBackgroundColor="@color/colorPrimary"> + app:cardBackgroundColor="@color/appBeige"> diff --git a/app/src/main/res/layout/activity_user_report.xml b/app/src/main/res/layout/activity_user_report.xml index aaa0539b..dab34993 100644 --- a/app/src/main/res/layout/activity_user_report.xml +++ b/app/src/main/res/layout/activity_user_report.xml @@ -57,10 +57,10 @@ android:layout_height="55dp" android:layout_marginBottom="20dp" android:layout_marginTop="20dp" - android:background="@color/appGreen" + android:background="@color/appBeige" android:onClick="@{(v) -> viewModel.onSubmit()}" android:text="@string/send_button" - android:textColor="@color/appWhite" + android:textColor="@color/on_beige_text" android:textSize="18sp" /> diff --git a/app/src/main/res/layout/activity_welcome.xml b/app/src/main/res/layout/activity_welcome.xml index 915d3839..fca20aed 100644 --- a/app/src/main/res/layout/activity_welcome.xml +++ b/app/src/main/res/layout/activity_welcome.xml @@ -49,7 +49,7 @@ android:layout_margin="2dp" android:layout_marginTop="10dp" android:layout_weight="50" - android:background="@color/appBlue" + android:background="@color/colorPrimary" android:onClick="@{(v) -> viewModel.onSignInClicked()}" android:text="@string/login_button" android:textColor="@color/appWhite" @@ -62,10 +62,10 @@ android:layout_margin="2dp" android:layout_marginTop="10dp" android:layout_weight="50" - android:background="@color/appGreen" + android:background="@color/appBeige" android:onClick="@{(v) -> viewModel.onSignUpClicked()}" android:text="@string/new_register" - android:textColor="@color/appWhite" + android:textColor="@color/on_beige_text" android:textSize="18sp" /> diff --git a/app/src/main/res/layout/fragment_roominfo.xml b/app/src/main/res/layout/fragment_roominfo.xml index 418f7bf1..02f21f70 100644 --- a/app/src/main/res/layout/fragment_roominfo.xml +++ b/app/src/main/res/layout/fragment_roominfo.xml @@ -67,7 +67,7 @@ android:layout_height="55dp" android:layout_marginBottom="20dp" android:layout_marginTop="20dp" - android:background="@color/appBlue" + android:background="@color/colorPrimary" android:onClick="@{(v) -> viewModel.shareRoom()}" android:text="@string/share_room_key_button" android:textColor="@color/appWhite" @@ -128,7 +128,7 @@ android:background="@null" android:onClick="@{(v) -> viewModel.userReport()}" android:text="@string/user_report_button" - android:textColor="@color/appBlue" + android:textColor="@color/colorPrimary" android:textSize="14sp" /> diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 036d09bc..7353dbd1 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 036d09bc..7353dbd1 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png index 7d0bcf55..da550613 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png deleted file mode 100644 index 60171a62..00000000 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png index f96f24aa..1d3141a8 100644 Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-hdpi/logo.png b/app/src/main/res/mipmap-hdpi/logo.png index 35c69eb4..2c4ee8f3 100644 Binary files a/app/src/main/res/mipmap-hdpi/logo.png and b/app/src/main/res/mipmap-hdpi/logo.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png index f8966ee2..55262e0d 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png deleted file mode 100644 index cf58af31..00000000 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png index ffc4bd21..34d7273e 100644 Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-mdpi/logo.png b/app/src/main/res/mipmap-mdpi/logo.png index 98948c36..71505cf2 100644 Binary files a/app/src/main/res/mipmap-mdpi/logo.png and b/app/src/main/res/mipmap-mdpi/logo.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png index 63a28b0a..c209109a 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png deleted file mode 100644 index 1e5a8f52..00000000 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png index 8409672b..9136505d 100644 Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xhdpi/logo.png b/app/src/main/res/mipmap-xhdpi/logo.png index fcef8861..431ab7af 100644 Binary files a/app/src/main/res/mipmap-xhdpi/logo.png and b/app/src/main/res/mipmap-xhdpi/logo.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 40e9d5e2..d4f797dc 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png deleted file mode 100644 index 16e1780d..00000000 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png index 5de6759c..74bb65ec 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xxhdpi/logo.png b/app/src/main/res/mipmap-xxhdpi/logo.png index 7482289b..a52d9901 100644 Binary files a/app/src/main/res/mipmap-xxhdpi/logo.png and b/app/src/main/res/mipmap-xxhdpi/logo.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index 9d82cfc9..ec299189 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png deleted file mode 100644 index 258c0cd3..00000000 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png index 6790d871..e9d1ed3c 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/app/src/main/res/mipmap-xxxhdpi/logo.png b/app/src/main/res/mipmap-xxxhdpi/logo.png index 380eaa37..50836952 100644 Binary files a/app/src/main/res/mipmap-xxxhdpi/logo.png and b/app/src/main/res/mipmap-xxxhdpi/logo.png differ diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index f81f801b..9f1b1f52 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,12 +1,16 @@ - #3F51B5 + #F05C00 #303F9F #FF4081 + #303F9F #00796B #fafafa + #ccbb9a + #F0B459 #222222 + #3b4043 #666666 #aaaaaa #90CAF9 diff --git a/app/src/main/res/values/ic_launcher_background.xml b/app/src/main/res/values/ic_launcher_background.xml index 68dad0e6..89456ae3 100644 --- a/app/src/main/res/values/ic_launcher_background.xml +++ b/app/src/main/res/values/ic_launcher_background.xml @@ -1,4 +1,4 @@ - #00796B + #F05C00 \ No newline at end of file diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 9ba71dec..d041fb60 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -2,6 +2,11 @@ + +