diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 745817e..c42bd36 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + xmlns:tools="http://schemas.android.com/tools"> @@ -18,9 +18,9 @@ android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/Theme.PINPLE_AOS" - tools:targetApi="31" > + tools:targetApi="31"> + android:exported="true"> @@ -52,7 +52,7 @@ android:exported="true" /> + android:exported="true"> diff --git a/app/src/main/java/com/example/pinple_aos/AccessRequestActivity.kt b/app/src/main/java/com/example/pinple_aos/AccessRequestActivity.kt index 0026a3d..5374eb3 100644 --- a/app/src/main/java/com/example/pinple_aos/AccessRequestActivity.kt +++ b/app/src/main/java/com/example/pinple_aos/AccessRequestActivity.kt @@ -41,7 +41,7 @@ class AccessRequestActivity : AppCompatActivity() { val moveButton = findViewById(R.id.button_check) fun moveToAnotherPage(){ - val intent = Intent(this, LandingActivity::class.java) + val intent = Intent(this, PreferenceActivity::class.java) intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION) startActivity(intent) } diff --git a/app/src/main/java/com/example/pinple_aos/PreferenceActivity.kt b/app/src/main/java/com/example/pinple_aos/PreferenceActivity.kt new file mode 100644 index 0000000..e2942c1 --- /dev/null +++ b/app/src/main/java/com/example/pinple_aos/PreferenceActivity.kt @@ -0,0 +1,12 @@ +package com.example.pinple_aos + +import android.os.Bundle +import androidx.appcompat.app.AppCompatActivity + + +class PreferenceActivity : AppCompatActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + setContentView(R.layout.activity_preference) + } +} diff --git a/app/src/main/res/drawable/button_switch_off.xml b/app/src/main/res/drawable/button_switch_off.xml new file mode 100644 index 0000000..4737ccb --- /dev/null +++ b/app/src/main/res/drawable/button_switch_off.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/button_switch_on.xml b/app/src/main/res/drawable/button_switch_on.xml new file mode 100644 index 0000000..e5701d1 --- /dev/null +++ b/app/src/main/res/drawable/button_switch_on.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/icon_app_info.xml b/app/src/main/res/drawable/icon_app_info.xml new file mode 100644 index 0000000..48deb66 --- /dev/null +++ b/app/src/main/res/drawable/icon_app_info.xml @@ -0,0 +1,18 @@ + + + + + + diff --git a/app/src/main/res/drawable/icon_arrow_next.xml b/app/src/main/res/drawable/icon_arrow_next.xml new file mode 100644 index 0000000..6491773 --- /dev/null +++ b/app/src/main/res/drawable/icon_arrow_next.xml @@ -0,0 +1,20 @@ + + + + diff --git a/app/src/main/res/drawable/icon_notification_black.xml b/app/src/main/res/drawable/icon_notification_black.xml new file mode 100644 index 0000000..5fd2885 --- /dev/null +++ b/app/src/main/res/drawable/icon_notification_black.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/icon_user_small.xml b/app/src/main/res/drawable/icon_user_small.xml new file mode 100644 index 0000000..d95efe3 --- /dev/null +++ b/app/src/main/res/drawable/icon_user_small.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/drawable/preferences_line.xml b/app/src/main/res/drawable/preferences_line.xml new file mode 100644 index 0000000..30c8f20 --- /dev/null +++ b/app/src/main/res/drawable/preferences_line.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_thumb.xml b/app/src/main/res/drawable/switch_thumb.xml new file mode 100644 index 0000000..da4b81b --- /dev/null +++ b/app/src/main/res/drawable/switch_thumb.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/app/src/main/res/drawable/switch_thumb_off.xml b/app/src/main/res/drawable/switch_thumb_off.xml new file mode 100644 index 0000000..e7f1e6c --- /dev/null +++ b/app/src/main/res/drawable/switch_thumb_off.xml @@ -0,0 +1,17 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_thumb_on.xml b/app/src/main/res/drawable/switch_thumb_on.xml new file mode 100644 index 0000000..bc5b915 --- /dev/null +++ b/app/src/main/res/drawable/switch_thumb_on.xml @@ -0,0 +1,17 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_track.xml b/app/src/main/res/drawable/switch_track.xml new file mode 100644 index 0000000..7b75790 --- /dev/null +++ b/app/src/main/res/drawable/switch_track.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/app/src/main/res/drawable/switch_track_off.xml b/app/src/main/res/drawable/switch_track_off.xml new file mode 100644 index 0000000..18d88f2 --- /dev/null +++ b/app/src/main/res/drawable/switch_track_off.xml @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/switch_track_on.xml b/app/src/main/res/drawable/switch_track_on.xml new file mode 100644 index 0000000..49fd31e --- /dev/null +++ b/app/src/main/res/drawable/switch_track_on.xml @@ -0,0 +1,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/tab_bar.xml b/app/src/main/res/drawable/tab_bar.xml new file mode 100644 index 0000000..b7bf49e --- /dev/null +++ b/app/src/main/res/drawable/tab_bar.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_preference.xml b/app/src/main/res/layout/activity_preference.xml new file mode 100644 index 0000000..df7bcb4 --- /dev/null +++ b/app/src/main/res/layout/activity_preference.xml @@ -0,0 +1,327 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file