From 95662a172edda28a52ca9724257c6605bf915ef6 Mon Sep 17 00:00:00 2001 From: Shehana Iqbal Date: Tue, 26 May 2020 00:37:54 +0530 Subject: [PATCH] share to permission list navigation --- .../acmcovidapplication/permission_list.java | 2 -- .../example/acmcovidapplication/share.java | 5 ++++ .../sharp_keyboard_arrow_left_white_24dp.png | Bin 0 -> 154 bytes .../src/main/res/layout/activity_share.xml | 25 +++++++++++++++--- 4 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 mobile-app/app/src/main/res/drawable/sharp_keyboard_arrow_left_white_24dp.png diff --git a/mobile-app/app/src/main/java/com/example/acmcovidapplication/permission_list.java b/mobile-app/app/src/main/java/com/example/acmcovidapplication/permission_list.java index 3fb93c5..ef5ec72 100644 --- a/mobile-app/app/src/main/java/com/example/acmcovidapplication/permission_list.java +++ b/mobile-app/app/src/main/java/com/example/acmcovidapplication/permission_list.java @@ -32,8 +32,6 @@ public void goToShare(View view) { intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); startActivity(intent); DatabaseHelper.getInstance(this).insertAllowed(true); - - } @Override diff --git a/mobile-app/app/src/main/java/com/example/acmcovidapplication/share.java b/mobile-app/app/src/main/java/com/example/acmcovidapplication/share.java index 1bd3679..7c40405 100644 --- a/mobile-app/app/src/main/java/com/example/acmcovidapplication/share.java +++ b/mobile-app/app/src/main/java/com/example/acmcovidapplication/share.java @@ -52,4 +52,9 @@ public void goToAbout(View view) { Intent intent = new Intent(share.this, about.class); startActivity(intent); } + + public void goToPermissionList(View view){ + Intent intent = new Intent(share.this, permission_list.class); + startActivity(intent); + } } diff --git a/mobile-app/app/src/main/res/drawable/sharp_keyboard_arrow_left_white_24dp.png b/mobile-app/app/src/main/res/drawable/sharp_keyboard_arrow_left_white_24dp.png new file mode 100644 index 0000000000000000000000000000000000000000..1619266600812273b53db06b692f4d58c4e43e9c GIT binary patch literal 154 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1|-9oezpUtL{AsTkP61P=M8xq90Xi0PHyIq z2~=R@R2OFCi0DhwwsPW_y=S`5|K+vJ3=JI->qGnev!DLh64GaXEbZf?qut{A|M=Of z?z~M7UVVsDeNMrlPWCxBqO>X&ZO{62r1~QR!<-AX=BzTz9Y=wdF?hQAxvX + + + android:layout_toStartOf="@+id/icon_2" + android:gravity="center" + android:layout_toEndOf="@+id/icon_1" + android:layout_toRightOf="@+id/icon_1" + android:orientation="horizontal" + android:layout_toLeftOf="@+id/icon_2">