diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4e93b98..e95aaae 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -14,7 +14,11 @@ android:supportsRtl="true" android:theme="@style/Theme.Project1" android:usesCleartextTraffic="true" - tools:targetApi="31"> + tools:targetApi="31" + android:enableOnBackInvokedCallback="true"> + (R.id.uj) + linkTextView.setMovementMethod(LinkMovementMethod.getInstance()); + linkTextView.setLinkTextColor(Color.BLUE) + + val unizulu = findViewById(R.id.unizulu) + unizulu.setMovementMethod(LinkMovementMethod.getInstance()); + unizulu.setLinkTextColor(Color.BLUE) + + val wits = findViewById(R.id.wits) + wits.setMovementMethod(LinkMovementMethod.getInstance()); + wits.setLinkTextColor(Color.BLUE) + + val tut = findViewById(R.id.tut) + tut.setMovementMethod(LinkMovementMethod.getInstance()); + tut.setLinkTextColor(Color.BLUE) + + val sbu = findViewById(R.id.sbu) + sbu.setMovementMethod(LinkMovementMethod.getInstance()); + sbu.setLinkTextColor(Color.BLUE) + + val ul = findViewById(R.id.ul) + ul.setMovementMethod(LinkMovementMethod.getInstance()); + ul.setLinkTextColor(Color.BLUE) + + val uwc = findViewById(R.id.uwc) + uwc.setMovementMethod(LinkMovementMethod.getInstance()); + uwc.setLinkTextColor(Color.BLUE) + + val nwu = findViewById(R.id.nwu) + nwu.setMovementMethod(LinkMovementMethod.getInstance()); + nwu.setLinkTextColor(Color.BLUE) + + val unisa= findViewById(R.id.unisa) + unisa.setMovementMethod(LinkMovementMethod.getInstance()); + unisa.setLinkTextColor(Color.BLUE) + + val uct = findViewById(R.id.uct) + uct.setMovementMethod(LinkMovementMethod.getInstance()); + uct.setLinkTextColor(Color.BLUE) + + val ru = findViewById(R.id.ru) + ru.setMovementMethod(LinkMovementMethod.getInstance()); + ru.setLinkTextColor(Color.BLUE) + + val up = findViewById(R.id.up) + up.setMovementMethod(LinkMovementMethod.getInstance()); + up.setLinkTextColor(Color.BLUE) + + val ufs = findViewById(R.id.ufs) + ufs.setMovementMethod(LinkMovementMethod.getInstance()); + ufs.setLinkTextColor(Color.BLUE) + + val nmmu = findViewById(R.id.nmmu) + nmmu.setMovementMethod(LinkMovementMethod.getInstance()); + nmmu.setLinkTextColor(Color.BLUE) + + val cput = findViewById(R.id.cput) + cput.setMovementMethod(LinkMovementMethod.getInstance()); + cput.setLinkTextColor(Color.BLUE) + + val ukzn = findViewById(R.id.ukzn) + ukzn.setMovementMethod(LinkMovementMethod.getInstance()); + ukzn.setLinkTextColor(Color.BLUE) + + BtnLogout=findViewById(R.id.btn_logout) + BtnLogout.setOnClickListener { + val intent = Intent(this, DashboardActivity::class.java) + startActivity(intent) + } + + } +} \ No newline at end of file diff --git a/app/src/main/res/layout/activity_insitutions2.xml b/app/src/main/res/layout/activity_insitutions2.xml new file mode 100644 index 0000000..1eadbf1 --- /dev/null +++ b/app/src/main/res/layout/activity_insitutions2.xml @@ -0,0 +1,280 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +