From 04a65204406247589b2a334f5367e8384a6caa92 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Tue, 9 Feb 2021 16:23:31 +0100 Subject: Messing around with some texts to learn --- app/src/main/java/xyz/adjutor/aniki/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java') diff --git a/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt b/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt index f4ded55..162ed95 100644 --- a/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt +++ b/app/src/main/java/xyz/adjutor/aniki/MainActivity.kt @@ -15,7 +15,7 @@ class MainActivity : AppCompatActivity() { setSupportActionBar(findViewById(R.id.toolbar)) findViewById(R.id.fab).setOnClickListener { view -> - Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) + Snackbar.make(view, "HA? YOU THOUGHT IT WAS A FEATURE !? BUT IT WAS I, DIO !", Snackbar.LENGTH_LONG) .setAction("Action", null).show() } val industryNews = News(0,"Horror Manga Ajin Ends Nine-Year Serialization","Gamon Sakurai's Ajin (Ajin: Demi-Human) manga ended its nine-year run in the March issue of good! Afternoon on Friday.") -- cgit v1.2.3 From 3decfd9d0d043c710f48cc145027a7b6bd45df8f Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Fri, 12 Feb 2021 11:00:47 +0100 Subject: Renaming and adding some functions for the home buttons. --- .../main/java/xyz/adjutor/aniki/FirstFragment.kt | 11 +++++- .../main/java/xyz/adjutor/aniki/MainActivity.kt | 6 +-- .../main/java/xyz/adjutor/aniki/SecondFragment.kt | 3 +- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/layout/fragment_first.xml | 46 ++++++++++++++-------- app/src/main/res/layout/fragment_second.xml | 10 +++-- app/src/main/res/values/strings.xml | 7 ++-- 7 files changed, 55 insertions(+), 30 deletions(-) (limited to 'app/src/main/java') diff --git a/app/src/main/java/xyz/adjutor/aniki/FirstFragment.kt b/app/src/main/java/xyz/adjutor/aniki/FirstFragment.kt index 05e5673..e2fa6eb 100644 --- a/app/src/main/java/xyz/adjutor/aniki/FirstFragment.kt +++ b/app/src/main/java/xyz/adjutor/aniki/FirstFragment.kt @@ -7,6 +7,7 @@ import android.view.View import android.view.ViewGroup import android.widget.Button import androidx.navigation.fragment.findNavController +import com.google.android.material.snackbar.Snackbar /** * A simple [Fragment] subclass as the default destination in the navigation. @@ -24,8 +25,16 @@ class FirstFragment : Fragment() { override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) - view.findViewById