Skip to content

Commit

Permalink
Refactor sample package
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavpandey committed Jun 16, 2021
1 parent 57eb430 commit f54f728
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ buildscript {
'minSdk' : 18,
'targetSdk' : 30,
'buildTools' : '30.0.3',
'appcompat' : '1.2.0',
'appcompat' : '1.3.0',
'constraintlayout': '2.0.4',
'kotlin' : '1.5.10',
'viewpager2' : '1.0.0'
Expand Down
2 changes: 1 addition & 1 deletion dynamic-motion/maven.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ version = mavenVersion
// Android libraries
if (project.hasProperty("android")) {
task sourcesJar(type: Jar) {
from android.sourceSets.main.java.srcDirs
archiveClassifier.set("sources")
from android.sourceSets.main.java.srcDirs
}

task javadoc(type: Javadoc) {
Expand Down
18 changes: 12 additions & 6 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,24 @@
limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.pranavpandey.android.dynamic">
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.pranavpandey.android.dynamic.motion.sample">

<application
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:allowBackup="false">

<meta-data android:name="android.max_aspect" android:value="2.1" />

<activity
android:name="com.pranavpandey.android.dynamic.motion.sample.DynamicMotionActivity">
android:name=".DynamicMotionActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.MAIN" />
Expand All @@ -36,4 +42,4 @@

</application>

</manifest>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

import android.os.Bundle;

import com.pranavpandey.android.dynamic.R;

import androidx.appcompat.app.AppCompatActivity;

public class DynamicMotionActivity extends AppCompatActivity {
Expand Down

0 comments on commit f54f728

Please sign in to comment.