tweaked launcher & Now Playing logo, removed shrinker (crash on API19-)

remotes/origin/devel
yattoz 2019-12-30 19:23:18 +01:00
parent 17e973702d
commit 00b2632407
2 changed files with 9 additions and 5 deletions

View File

@ -29,11 +29,14 @@ android {
applicationId "fr.forum_thalie.tsumugi" applicationId "fr.forum_thalie.tsumugi"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 29 targetSdkVersion 29
versionCode 2 versionCode 100
versionName "1.1dev" versionName "1.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
} }
// Note: I noticed that enabling these make the release app crash on API19-.
// So I'll disable it as of now for maximum compatibility, even if the app size is a tad bigger.
/*
buildTypes { buildTypes {
release { release {
minifyEnabled true minifyEnabled true
@ -41,6 +44,7 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
} }
} }
*/
} }
dependencies { dependencies {

View File

@ -30,13 +30,13 @@
<ImageView <ImageView
android:id="@+id/streamerPicture" android:id="@+id/streamerPicture"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_gravity="top|center_horizontal" android:layout_gravity="top|center_horizontal"
android:adjustViewBounds="true" android:adjustViewBounds="true"
android:contentDescription="dj-image" android:contentDescription="dj-image"
android:scaleType="fitCenter" android:scaleType="fitStart"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="@id/imageGuideline" app:layout_constraintStart_toStartOf="@id/imageGuideline"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/logo_roundsquare" app:srcCompat="@drawable/logo_roundsquare"