Skip to content

Commit e91edda

Browse files
SUPERCILEXsamtstern
authored andcommitted
Add true support for vector drawables (#814)
1 parent 5e14e08 commit e91edda

39 files changed

+217
-23
lines changed

app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ android {
1111
targetSdkVersion targetSdk
1212
versionCode 1
1313
versionName "1.0"
14+
15+
vectorDrawables.useSupportLibrary = true
1416
}
1517

1618
buildTypes {

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
android:label="@string/app_name"
1313
android:allowBackup="true"
1414
android:fullBackupContent="true"
15-
android:icon="@mipmap/ic_launcher"
15+
android:icon="@drawable/ic_launcher"
1616
android:supportsRtl="true"
1717
android:theme="@style/AppTheme"
1818
tools:ignore="GoogleAppIndexingWarning">

app/src/main/java/com/firebase/uidemo/auth/AuthUiActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ private int getSelectedLogo() {
306306
if (mFirebaseLogo.isChecked()) {
307307
return R.drawable.firebase_auth_120dp;
308308
} else if (mGoogleLogo.isChecked()) {
309-
return R.drawable.logo_googleg_color_144dp;
309+
return R.drawable.ic_googleg_color_144dp;
310310
}
311311
return AuthUI.NO_LOGO;
312312
}
-894 Bytes
Binary file not shown.
Binary file not shown.
-568 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)