Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

Commit fdfe1c6

Browse files
authored
fix build issues (#810)
* Motion1 Fly-in demo * update build.gradle * add drag demo * add mult state demo * tweak mult-state * fix build issues
1 parent 9fda1eb commit fdfe1c6

File tree

4 files changed

+10
-22
lines changed

4 files changed

+10
-22
lines changed

projects/MotionLayoutVerification/app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="android.support.constraint.app">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="android.support.constraint.app">
43
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
54

65
<application
@@ -13,7 +12,8 @@
1312

1413
<activity android:name=".CheckSharedValues"/>
1514

16-
<activity android:name=".VerificationActivity" >
15+
<activity android:name=".VerificationActivity"
16+
android:exported="true">
1717

1818
<intent-filter>
1919
<action android:name="android.intent.action.MAIN" />
@@ -46,7 +46,8 @@
4646
<activity android:name=".Bug010" />
4747
<activity android:name=".FullScreenActivity" />
4848
<activity android:name=".CheckSetProgress" />
49-
<activity android:name=".CheckDumpJson" >
49+
<activity android:name=".CheckDumpJson"
50+
android:exported="true">
5051
<intent-filter>
5152
<action android:name="android.intent.action.MAIN" />
5253
<category android:name="android.intent.category.LAUNCHER" />
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22
<!-- Base application theme. -->
3-
<style name="Theme.DeveloperTemplate" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
3+
<style name="Theme.DeveloperTemplate" parent="Theme.AppCompat.DayNight.DarkActionBar">
44
<!-- Primary brand color. -->
55
<item name="colorPrimary">@color/purple_200</item>
6-
<item name="colorPrimaryVariant">@color/purple_700</item>
7-
<item name="colorOnPrimary">@color/black</item>
8-
<!-- Secondary brand color. -->
9-
<item name="colorSecondary">@color/teal_200</item>
10-
<item name="colorSecondaryVariant">@color/teal_200</item>
11-
<item name="colorOnSecondary">@color/black</item>
12-
<!-- Status bar color. -->
13-
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
6+
147
<!-- Customize your theme here. -->
158
</style>
169
</resources>
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
<resources xmlns:tools="http://schemas.android.com/tools">
22
<!-- Base application theme. -->
3-
<style name="Theme.DeveloperTemplate" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
3+
<style name="Theme.DeveloperTemplate" parent="Theme.AppCompat.DayNight.NoActionBar">
44
<!-- Primary brand color. -->
55
<item name="colorPrimary">#7C4D5D</item>
66

7-
<item name="colorPrimaryVariant">#5A4A78</item>
8-
<item name="colorOnPrimary">@color/white</item>
9-
<!-- Secondary brand color. -->
10-
<item name="colorSecondary">#75EDE2</item>
11-
<item name="colorSecondaryVariant">#48E8E7</item>
12-
<item name="colorOnSecondary">@color/black</item>
13-
<!-- Status bar color. -->
14-
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
7+
158
<!-- Customize your theme here. -->
169
</style>
1710
</resources>

projects/MotionLayoutVerification/core/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ sourceSets{
1212

1313
dependencies {
1414
testImplementation 'org.testng:testng:7.3.0'
15+
implementation 'androidx.annotation:annotation:1.6.0'
1516
}

0 commit comments

Comments
 (0)