From 9924ae80aa3ebbe17409c7ff3a0c539b9dba8725 Mon Sep 17 00:00:00 2001 From: Ali Rehan Date: Fri, 21 Feb 2025 12:18:45 +0500 Subject: [PATCH] Fixed: theme issue for android --- example/README.md | 2 +- .../android/app/src/main/AndroidManifest.xml | 34 +++++++++++-------- .../app/src/main/res/values/styles.xml | 2 ++ 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/example/README.md b/example/README.md index 3a6f2d7..ab458c0 100644 --- a/example/README.md +++ b/example/README.md @@ -1,6 +1,6 @@ # camerakit_flutter_example -A new Flutter project. +Demonstrates how to use the camerakit_flutter plugin. ## Getting Started diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml index 3b2e2f5..d38e21d 100644 --- a/example/android/app/src/main/AndroidManifest.xml +++ b/example/android/app/src/main/AndroidManifest.xml @@ -1,32 +1,36 @@ - - - - + android:icon="@mipmap/ic_launcher" + android:theme="@style/AppCompat" + android:label="camerakit_flutter_example"> + + + + + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" /> - - + + - - + + diff --git a/example/android/app/src/main/res/values/styles.xml b/example/android/app/src/main/res/values/styles.xml index cb1ef88..8e1ba19 100644 --- a/example/android/app/src/main/res/values/styles.xml +++ b/example/android/app/src/main/res/values/styles.xml @@ -15,4 +15,6 @@ +