Skip to content

Commit f54f728

Browse files
committed
Refactor sample package
1 parent 57eb430 commit f54f728

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
'minSdk' : 18,
2121
'targetSdk' : 30,
2222
'buildTools' : '30.0.3',
23-
'appcompat' : '1.2.0',
23+
'appcompat' : '1.3.0',
2424
'constraintlayout': '2.0.4',
2525
'kotlin' : '1.5.10',
2626
'viewpager2' : '1.0.0'

dynamic-motion/maven.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ version = mavenVersion
2323
// Android libraries
2424
if (project.hasProperty("android")) {
2525
task sourcesJar(type: Jar) {
26-
from android.sourceSets.main.java.srcDirs
2726
archiveClassifier.set("sources")
27+
from android.sourceSets.main.java.srcDirs
2828
}
2929

3030
task javadoc(type: Javadoc) {

sample/src/main/AndroidManifest.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,24 @@
1515
limitations under the License.
1616
-->
1717

18-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19-
package="com.pranavpandey.android.dynamic">
18+
<manifest
19+
xmlns:android="http://schemas.android.com/apk/res/android"
20+
package="com.pranavpandey.android.dynamic.motion.sample">
2021

2122
<application
22-
android:allowBackup="false"
2323
android:icon="@mipmap/ic_launcher"
2424
android:label="@string/app_name"
25+
android:theme="@style/AppTheme"
2526
android:supportsRtl="true"
26-
android:theme="@style/AppTheme">
27+
android:allowBackup="false">
28+
29+
<meta-data android:name="android.max_aspect" android:value="2.1" />
2730

2831
<activity
29-
android:name="com.pranavpandey.android.dynamic.motion.sample.DynamicMotionActivity">
32+
android:name=".DynamicMotionActivity"
33+
android:label="@string/app_name"
34+
android:theme="@style/AppTheme"
35+
android:exported="true">
3036
<intent-filter>
3137
<action android:name="android.intent.action.VIEW" />
3238
<action android:name="android.intent.action.MAIN" />
@@ -36,4 +42,4 @@
3642

3743
</application>
3844

39-
</manifest>
45+
</manifest>

sample/src/main/java/com/pranavpandey/android/dynamic/motion/sample/DynamicMotionActivity.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
import android.os.Bundle;
2020

21-
import com.pranavpandey.android.dynamic.R;
22-
2321
import androidx.appcompat.app.AppCompatActivity;
2422

2523
public class DynamicMotionActivity extends AppCompatActivity {

0 commit comments

Comments
 (0)