Browse Source

Project progress

master
anghenfil 3 years ago
parent
commit
12d4e90780
  1. BIN
      .idea/caches/build_file_checksums.ser
  2. 18
      app/build.gradle
  3. 2
      app/src/main/AndroidManifest.xml
  4. 7
      app/src/main/java/de/anghenfil/fallbeispielapp/Model/FallbeispielCard.kt
  5. 99
      app/src/main/java/de/anghenfil/fallbeispielapp/View/Diagnostik.kt
  6. 89
      app/src/main/java/de/anghenfil/fallbeispielapp/View/Fallbeispiel.kt
  7. 71
      app/src/main/java/de/anghenfil/fallbeispielapp/View/MainActivity.kt
  8. 99
      app/src/main/java/de/anghenfil/fallbeispielapp/View/Verlauf.kt
  9. 31
      app/src/main/java/de/anghenfil/fallbeispielapp/controller/FallbeispielCardAdapter.kt
  10. 1
      app/src/main/res/attribution
  11. BIN
      app/src/main/res/drawable-hdpi/heart.png
  12. BIN
      app/src/main/res/drawable-hdpi/history.png
  13. BIN
      app/src/main/res/drawable-hdpi/injury.png
  14. BIN
      app/src/main/res/drawable-hdpi/lungs.png
  15. BIN
      app/src/main/res/drawable-hdpi/lying.png
  16. BIN
      app/src/main/res/drawable-hdpi/scenario.png
  17. BIN
      app/src/main/res/drawable-hdpi/stethoscope.png
  18. BIN
      app/src/main/res/drawable-hdpi/syringe.png
  19. BIN
      app/src/main/res/drawable-mdpi/heart.png
  20. BIN
      app/src/main/res/drawable-mdpi/history.png
  21. BIN
      app/src/main/res/drawable-mdpi/injury.png
  22. BIN
      app/src/main/res/drawable-mdpi/lungs.png
  23. BIN
      app/src/main/res/drawable-mdpi/lying.png
  24. BIN
      app/src/main/res/drawable-mdpi/scenario.png
  25. BIN
      app/src/main/res/drawable-mdpi/stethoscope.png
  26. BIN
      app/src/main/res/drawable-mdpi/syringe.png
  27. BIN
      app/src/main/res/drawable-xhdpi/heart.png
  28. BIN
      app/src/main/res/drawable-xhdpi/history.png
  29. BIN
      app/src/main/res/drawable-xhdpi/injury.png
  30. BIN
      app/src/main/res/drawable-xhdpi/lungs.png
  31. BIN
      app/src/main/res/drawable-xhdpi/lying.png
  32. BIN
      app/src/main/res/drawable-xhdpi/scenario.png
  33. BIN
      app/src/main/res/drawable-xhdpi/stethoscope.png
  34. BIN
      app/src/main/res/drawable-xhdpi/syringe.png
  35. BIN
      app/src/main/res/drawable-xxhdpi/heart.png
  36. BIN
      app/src/main/res/drawable-xxhdpi/history.png
  37. BIN
      app/src/main/res/drawable-xxhdpi/injury.png
  38. BIN
      app/src/main/res/drawable-xxhdpi/lungs.png
  39. BIN
      app/src/main/res/drawable-xxhdpi/lying.png
  40. BIN
      app/src/main/res/drawable-xxhdpi/scenario.png
  41. BIN
      app/src/main/res/drawable-xxhdpi/stethoscope.png
  42. BIN
      app/src/main/res/drawable-xxhdpi/syringe.png
  43. BIN
      app/src/main/res/drawable-xxxhdpi/heart.png
  44. BIN
      app/src/main/res/drawable-xxxhdpi/history.png
  45. BIN
      app/src/main/res/drawable-xxxhdpi/injury.png
  46. BIN
      app/src/main/res/drawable-xxxhdpi/lungs.png
  47. BIN
      app/src/main/res/drawable-xxxhdpi/lying.png
  48. BIN
      app/src/main/res/drawable-xxxhdpi/scenario.png
  49. BIN
      app/src/main/res/drawable-xxxhdpi/stethoscope.png
  50. BIN
      app/src/main/res/drawable-xxxhdpi/syringe.png
  51. 10
      app/src/main/res/drawable/gradient.xml
  52. 6
      app/src/main/res/layout/activity_main.xml
  53. 20
      app/src/main/res/layout/app_bar_main.xml
  54. 10
      app/src/main/res/layout/content_fallbeispiel.xml
  55. 16
      app/src/main/res/layout/content_main.xml
  56. 46
      app/src/main/res/layout/fallbeispiel_card.xml
  57. 14
      app/src/main/res/layout/fallbeispiel_diagnostik.xml
  58. 89
      app/src/main/res/layout/fallbeispiel_menu.xml
  59. 219
      app/src/main/res/layout/fallbeispiel_menu2.xml
  60. 35
      app/src/main/res/layout/fragment_fallbeispiel.xml
  61. 29
      app/src/main/res/menu/activity_main_drawer.xml
  62. 4
      app/src/main/res/values/colors.xml
  63. 9
      app/src/main/res/values/strings.xml
  64. 2
      gradle.properties

BIN
.idea/caches/build_file_checksums.ser

18
app/build.gradle

@ -24,11 +24,17 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.0.2'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'
implementation 'androidx.core:core-ktx:1.0.1'
implementation 'androidx.fragment:fragment-ktx:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0-alpha1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation 'androidx.test:runner:1.1.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
// use kapt for Kotlin
implementation 'androidx.core:core-ktx:1.0.1'
implementation 'androidx.fragment:fragment-ktx:1.0.0'
}

2
app/src/main/AndroidManifest.xml

@ -10,7 +10,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:name=".View.MainActivity"
android:label="@string/app_name"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>

7
app/src/main/java/de/anghenfil/fallbeispielapp/Model/FallbeispielCard.kt

@ -0,0 +1,7 @@
package de.anghenfil.fallbeispielapp.Model
class FallbeispielCard (
val id : Int,
val name : String,
val duration : String
)

99
app/src/main/java/de/anghenfil/fallbeispielapp/View/Diagnostik.kt

@ -0,0 +1,99 @@
package de.anghenfil.fallbeispielapp.View
import android.net.Uri
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import de.anghenfil.fallbeispielapp.controller.FallbeispielCardAdapter
import de.anghenfil.fallbeispielapp.Model.FallbeispielCard
import de.anghenfil.fallbeispielapp.R
import java.util.*
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private const val ARG_PARAM1 = "param1"
private const val ARG_PARAM2 = "param2"
class Diagnostik : Fragment() {
// TODO: Rename and change types of parameters
private var param1: String? = null
private var param2: String? = null
private var listener: OnFragmentInteractionListener? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
arguments?.let {
param1 = it.getString(ARG_PARAM1)
param2 = it.getString(ARG_PARAM2)
}
}
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fallbeispiel_diagnostik, container, false)
}
// TODO: Rename method, update argument and hook method into UI event
fun onButtonPressed(uri: Uri) {
listener?.onFragmentInteraction(uri)
}
override fun onDetach() {
super.onDetach()
listener = null
}
interface OnFragmentInteractionListener {
// TODO: Update argument type and name
fun onFragmentInteraction(uri: Uri)
}
companion object {
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment Diagnostik.
*/
// TODO: Rename and change types and number of parameters
@JvmStatic
fun newInstance(param1: String, param2: String) =
Diagnostik().apply {
arguments = Bundle().apply {
putString(ARG_PARAM1, param1)
putString(ARG_PARAM2, param2)
}
}
}
override fun onActivityCreated(savedInstanceState: Bundle?) {
super.onActivityCreated(savedInstanceState)
(activity as AppCompatActivity).supportActionBar?.title = "Diagnostik"
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
val list = ArrayList<FallbeispielCard>()
list.add(FallbeispielCard(1, "Puls messen", "0:20"))
list.add(FallbeispielCard(2, "Blutsättigung ermitteln", "0:20"))
val recyclerView : RecyclerView = view.findViewById(R.id.fallbeispiel_diagnostik_recyclerView)
val layoutManager = LinearLayoutManager(view.context)
recyclerView.layoutManager = layoutManager
val rvAdapter = FallbeispielCardAdapter(list)
recyclerView.adapter = rvAdapter
}
}

89
app/src/main/java/de/anghenfil/fallbeispielapp/View/Fallbeispiel.kt

@ -0,0 +1,89 @@
package de.anghenfil.fallbeispielapp.View
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentTransaction
import de.anghenfil.fallbeispielapp.R
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private const val ARG_PARAM1 = "param1"
private const val ARG_PARAM2 = "param2"
class Fallbeispiel : Fragment(){
lateinit var transaction: FragmentTransaction
// TODO: Rename and change types of parameters
private var param1: String? = null
private var param2: String? = null
private var listener: OnFragmentInteractionListener? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
arguments?.let {
param1 = it.getString(ARG_PARAM1)
param2 = it.getString(ARG_PARAM2)
}
}
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_fallbeispiel, container, false)
}
// TODO: Rename method, update argument and hook method into UI event
fun onButtonPressed(uri: Uri) {
listener?.onFragmentInteraction(uri)
}
override fun onDetach() {
super.onDetach()
listener = null
}
/**
* This interface must be implemented by activities that contain this
* fragment to allow an interaction in this fragment to be communicated
* to the activity and potentially other fragments contained in that
* activity.
*
*
* See the Android Training lesson [Communicating with Other Fragments]
* (http://developer.android.com/training/basics/fragments/communicating.html)
* for more information.
*/
interface OnFragmentInteractionListener {
// TODO: Update argument type and name
fun onFragmentInteraction(uri: Uri)
}
companion object {
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment Fallbeispiel.
*/
// TODO: Rename and change types and number of parameters
@JvmStatic
fun newInstance(param1: String, param2: String) =
Fallbeispiel().apply {
arguments = Bundle().apply {
putString(ARG_PARAM1, param1)
putString(ARG_PARAM2, param2)
}
}
}
}

71
app/src/main/java/de/anghenfil/fallbeispielapp/MainActivity.kt → app/src/main/java/de/anghenfil/fallbeispielapp/View/MainActivity.kt

@ -1,30 +1,35 @@
package de.anghenfil.fallbeispielapp
package de.anghenfil.fallbeispielapp.View
import android.content.Context
import android.os.Bundle
import android.support.design.widget.Snackbar
import android.support.design.widget.NavigationView
import android.support.v4.view.GravityCompat
import android.support.v7.app.ActionBarDrawerToggle
import android.support.v7.app.AppCompatActivity
import android.view.Menu
import android.view.MenuItem
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.ActionBarDrawerToggle
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.GravityCompat
import androidx.fragment.app.transaction
import com.google.android.material.navigation.NavigationView
import de.anghenfil.fallbeispielapp.R
import kotlinx.android.synthetic.main.activity_main.*
import kotlinx.android.synthetic.main.app_bar_main.*
class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelectedListener {
fun Context.toast(text:String, long:Boolean=false)=
Toast.makeText(this,text,if(long) Toast.LENGTH_LONG else Toast.LENGTH_SHORT).show()
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
setSupportActionBar(toolbar)
fab.setOnClickListener { view ->
Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG)
.setAction("Action", null).show()
}
val toggle = ActionBarDrawerToggle(
this, drawer_layout, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close
this, drawer_layout, toolbar,
R.string.navigation_drawer_open,
R.string.navigation_drawer_close
)
drawer_layout.addDrawerListener(toggle)
toggle.syncState()
@ -58,28 +63,34 @@ class MainActivity : AppCompatActivity(), NavigationView.OnNavigationItemSelecte
override fun onNavigationItemSelected(item: MenuItem): Boolean {
// Handle navigation view item clicks here.
when (item.itemId) {
R.id.nav_camera -> {
// Handle the camera action
}
R.id.nav_gallery -> {
}
R.id.nav_slideshow -> {
}
R.id.nav_manage -> {
supportFragmentManager.transaction {
replace(
R.id.main_fragment_container,
when (item.itemId) {
R.id.nav_random_fallbeispiel -> Fallbeispiel()
else -> TODO("Not implemented yet?")
}
)
}
}
R.id.nav_share -> {
drawer_layout.closeDrawer(GravityCompat.START)
return true
}
fun menuItemClicked(v: View) {
when(v.id){
R.id.button_verlauf -> {
toast("Verlauf")
val transaction = supportFragmentManager.beginTransaction()
transaction.replace(R.id.include2, Verlauf())
transaction.commit()
}
R.id.nav_send -> {
R.id.button_diagnostik -> {
toast("Diagnostik")
val transaction = supportFragmentManager.beginTransaction()
transaction.replace(R.id.include2, Diagnostik())
transaction.commit()
}
}
drawer_layout.closeDrawer(GravityCompat.START)
return true
}
}

99
app/src/main/java/de/anghenfil/fallbeispielapp/View/Verlauf.kt

@ -0,0 +1,99 @@
package de.anghenfil.fallbeispielapp.View
import android.net.Uri
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import de.anghenfil.fallbeispielapp.controller.FallbeispielCardAdapter
import de.anghenfil.fallbeispielapp.Model.FallbeispielCard
import de.anghenfil.fallbeispielapp.R
import java.util.*
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private const val ARG_PARAM1 = "param1"
private const val ARG_PARAM2 = "param2"
class Verlauf : Fragment() {
// TODO: Rename and change types of parameters
private var param1: String? = null
private var param2: String? = null
private var listener: OnFragmentInteractionListener? = null
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
arguments?.let {
param1 = it.getString(ARG_PARAM1)
param2 = it.getString(ARG_PARAM2)
}
}
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fallbeispiel_diagnostik, container, false)
}
// TODO: Rename method, update argument and hook method into UI event
fun onButtonPressed(uri: Uri) {
listener?.onFragmentInteraction(uri)
}
override fun onDetach() {
super.onDetach()
listener = null
}
interface OnFragmentInteractionListener {
// TODO: Update argument type and name
fun onFragmentInteraction(uri: Uri)
}
companion object {
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment Diagnostik.
*/
// TODO: Rename and change types and number of parameters
@JvmStatic
fun newInstance(param1: String, param2: String) =
Diagnostik().apply {
arguments = Bundle().apply {
putString(ARG_PARAM1, param1)
putString(ARG_PARAM2, param2)
}
}
}
override fun onActivityCreated(savedInstanceState: Bundle?) {
super.onActivityCreated(savedInstanceState)
(activity as AppCompatActivity).supportActionBar?.title = "Diagnostik"
}
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
val list = ArrayList<FallbeispielCard>()
list.add(FallbeispielCard(1, "Puls messen", "0:20"))
list.add(FallbeispielCard(2, "Blutsättigung ermitteln", "0:20"))
val recyclerView : RecyclerView = view.findViewById(R.id.fallbeispiel_diagnostik_recyclerView)
val layoutManager = LinearLayoutManager(view.context)
recyclerView.layoutManager = layoutManager
val rvAdapter = FallbeispielCardAdapter(list)
recyclerView.adapter = rvAdapter
}
}

31
app/src/main/java/de/anghenfil/fallbeispielapp/controller/FallbeispielCardAdapter.kt

@ -0,0 +1,31 @@
package de.anghenfil.fallbeispielapp.controller
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.recyclerview.widget.RecyclerView
import de.anghenfil.fallbeispielapp.Model.FallbeispielCard
import de.anghenfil.fallbeispielapp.R
class FallbeispielCardAdapter(private val myDataset: List<FallbeispielCard>) : RecyclerView.Adapter<FallbeispielCardAdapter.MyViewHolder>() {
class MyViewHolder(val view: View) : RecyclerView.ViewHolder(view){
var timeTextView:TextView = view.findViewById(R.id.timeText)
var itemTextView:TextView = view.findViewById(R.id.text_card)
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MyViewHolder {
return MyViewHolder(LayoutInflater.from(parent.context).inflate(R.layout.fallbeispiel_card, parent, false))
}
// Replace the contents of a view (invoked by the layout manager)
override fun onBindViewHolder(holder: MyViewHolder, position: Int) {
holder.timeTextView.text = myDataset[position].duration
holder.itemTextView.text = myDataset[position].name
}
// Return the size of your dataset (invoked by the layout manager)
override fun getItemCount() = myDataset.size
}

1
app/src/main/res/attribution

@ -0,0 +1 @@
<div>Icons made by <a href="https://www.freepik.com/" title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div>

BIN
app/src/main/res/drawable-hdpi/heart.png

After

Width: 72  |  Height: 72  |  Size: 3.6 KiB

BIN
app/src/main/res/drawable-hdpi/history.png

After

Width: 72  |  Height: 72  |  Size: 1.5 KiB

BIN
app/src/main/res/drawable-hdpi/injury.png

After

Width: 72  |  Height: 72  |  Size: 2.8 KiB

BIN
app/src/main/res/drawable-hdpi/lungs.png

After

Width: 72  |  Height: 72  |  Size: 2.7 KiB

BIN
app/src/main/res/drawable-hdpi/lying.png

After

Width: 72  |  Height: 72  |  Size: 1.1 KiB

BIN
app/src/main/res/drawable-hdpi/scenario.png

After

Width: 72  |  Height: 72  |  Size: 2.3 KiB

BIN
app/src/main/res/drawable-hdpi/stethoscope.png

After

Width: 72  |  Height: 72  |  Size: 1.6 KiB

BIN
app/src/main/res/drawable-hdpi/syringe.png

After

Width: 72  |  Height: 72  |  Size: 2.7 KiB

BIN
app/src/main/res/drawable-mdpi/heart.png

After

Width: 48  |  Height: 48  |  Size: 2.2 KiB

BIN
app/src/main/res/drawable-mdpi/history.png

After

Width: 48  |  Height: 48  |  Size: 1.1 KiB

BIN
app/src/main/res/drawable-mdpi/injury.png

After

Width: 48  |  Height: 48  |  Size: 1.8 KiB

BIN
app/src/main/res/drawable-mdpi/lungs.png

After

Width: 48  |  Height: 48  |  Size: 1.7 KiB

BIN
app/src/main/res/drawable-mdpi/lying.png

After

Width: 48  |  Height: 48  |  Size: 779 B

BIN
app/src/main/res/drawable-mdpi/scenario.png

After

Width: 48  |  Height: 48  |  Size: 1.6 KiB

BIN
app/src/main/res/drawable-mdpi/stethoscope.png

After

Width: 48  |  Height: 48  |  Size: 1.0 KiB

BIN
app/src/main/res/drawable-mdpi/syringe.png

After

Width: 48  |  Height: 48  |  Size: 1.6 KiB

BIN
app/src/main/res/drawable-xhdpi/heart.png

After

Width: 96  |  Height: 96  |  Size: 5.0 KiB

BIN
app/src/main/res/drawable-xhdpi/history.png

After

Width: 96  |  Height: 96  |  Size: 1.9 KiB

BIN
app/src/main/res/drawable-xhdpi/injury.png

After

Width: 96  |  Height: 96  |  Size: 3.9 KiB

BIN
app/src/main/res/drawable-xhdpi/lungs.png

After

Width: 96  |  Height: 96  |  Size: 3.6 KiB

BIN
app/src/main/res/drawable-xhdpi/lying.png

After

Width: 96  |  Height: 96  |  Size: 1.6 KiB

BIN
app/src/main/res/drawable-xhdpi/scenario.png

After

Width: 96  |  Height: 96  |  Size: 3.1 KiB

BIN
app/src/main/res/drawable-xhdpi/stethoscope.png

After

Width: 96  |  Height: 96  |  Size: 2.2 KiB

BIN
app/src/main/res/drawable-xhdpi/syringe.png

After

Width: 96  |  Height: 96  |  Size: 3.6 KiB

BIN
app/src/main/res/drawable-xxhdpi/heart.png

After

Width: 144  |  Height: 144  |  Size: 8.1 KiB

BIN
app/src/main/res/drawable-xxhdpi/history.png

After

Width: 144  |  Height: 144  |  Size: 2.7 KiB

BIN
app/src/main/res/drawable-xxhdpi/injury.png

After

Width: 144  |  Height: 144  |  Size: 6.3 KiB

BIN
app/src/main/res/drawable-xxhdpi/lungs.png

After

Width: 144  |  Height: 144  |  Size: 5.6 KiB

BIN
app/src/main/res/drawable-xxhdpi/lying.png

After

Width: 144  |  Height: 144  |  Size: 2.8 KiB

BIN
app/src/main/res/drawable-xxhdpi/scenario.png

After

Width: 144  |  Height: 144  |  Size: 4.7 KiB

BIN
app/src/main/res/drawable-xxhdpi/stethoscope.png

After

Width: 144  |  Height: 144  |  Size: 3.5 KiB

BIN
app/src/main/res/drawable-xxhdpi/syringe.png

After

Width: 144  |  Height: 144  |  Size: 6.0 KiB

BIN
app/src/main/res/drawable-xxxhdpi/heart.png

After

Width: 192  |  Height: 192  |  Size: 12 KiB

BIN
app/src/main/res/drawable-xxxhdpi/history.png

After

Width: 192  |  Height: 192  |  Size: 3.7 KiB

BIN
app/src/main/res/drawable-xxxhdpi/injury.png

After

Width: 192  |  Height: 192  |  Size: 8.8 KiB

BIN
app/src/main/res/drawable-xxxhdpi/lungs.png

After

Width: 192  |  Height: 192  |  Size: 7.9 KiB

BIN
app/src/main/res/drawable-xxxhdpi/lying.png

After

Width: 192  |  Height: 192  |  Size: 3.9 KiB

BIN
app/src/main/res/drawable-xxxhdpi/scenario.png

After

Width: 192  |  Height: 192  |  Size: 6.6 KiB

BIN
app/src/main/res/drawable-xxxhdpi/stethoscope.png

After

Width: 192  |  Height: 192  |  Size: 4.9 KiB

BIN
app/src/main/res/drawable-xxxhdpi/syringe.png

After

Width: 192  |  Height: 192  |  Size: 8.4 KiB

10
app/src/main/res/drawable/gradient.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="0"
android:startColor="#ffffff"
android:endColor="#ffffff"
android:centerColor="#1C1C1C"/>
</shape>

6
app/src/main/res/layout/activity_main.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
<androidx.drawerlayout.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
@ -14,7 +14,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<android.support.design.widget.NavigationView
<com.google.android.material.navigation.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
@ -23,4 +23,4 @@
app:headerLayout="@layout/nav_header_main"
app:menu="@menu/activity_main_drawer"/>
</android.support.v4.widget.DrawerLayout>
</androidx.drawerlayout.widget.DrawerLayout>

20
app/src/main/res/layout/app_bar_main.xml

@ -1,34 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
tools:context=".View.MainActivity">
<android.support.design.widget.AppBarLayout
<com.google.android.material.appbar.AppBarLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"/>
</android.support.design.widget.AppBarLayout>
</com.google.android.material.appbar.AppBarLayout>
<include layout="@layout/content_main"/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
app:srcCompat="@android:drawable/ic_dialog_email"/>
</android.support.design.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

10
app/src/main/res/layout/content_fallbeispiel.xml

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/fallbeispiel_content_container"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:showIn="@layout/fragment_fallbeispiel"
>
</androidx.constraintlayout.widget.ConstraintLayout>

16
app/src/main/res/layout/content_main.xml

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/main_fragment_container"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
@ -7,15 +8,6 @@
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/app_bar_main"
tools:context=".MainActivity">
tools:context=".View.MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
</android.support.constraint.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

46
app/src/main/res/layout/fallbeispiel_card.xml

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_marginBottom="8dp"
android:layout_height="wrap_content"
android:theme="@style/CardView.Light">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_margin="4dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/timeText"
tools:text="1:30"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@+id/text_card"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:textAppearance="@android:style/TextAppearance.Holo.Large"/>
<androidx.appcompat.widget.AppCompatTextView
android:ellipsize="marquee"
android:singleLine="true"
android:inputType="textMultiLine"
android:id="@+id/text_card"
android:layout_width="0dp"
android:layout_height="wrap_content"
tools:text="Atemwege prüfen und freimachen"
android:textAppearance="@android:style/TextAppearance.Holo.Large"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/timeText"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintVertical_bias="1.0"
android:layout_marginTop="8dp" android:layout_marginBottom="8dp"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>

14
app/src/main/res/layout/fallbeispiel_diagnostik.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/fallbeispiel_diagnostik"
>
<androidx.recyclerview.widget.RecyclerView
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent" android:id="@+id/fallbeispiel_diagnostik_recyclerView"/>
</androidx.constraintlayout.widget.ConstraintLayout>

89
app/src/main/res/layout/fallbeispiel_menu.xml

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools"
tools:showIn="@layout/fragment_fallbeispiel"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<Button
android:id="@+id/fallbeispiel_menu_button1"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@id/fallbeispiel_menu_button2"
app:layout_constraintBottom_toTopOf="@id/fallbeispiel_menu_button4"
android:text="Diagnostik" android:textSize="12sp"/>
<Button
android:id="@+id/fallbeispiel_menu_button2"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@id/fallbeispiel_menu_button1"
app:layout_constraintRight_toLeftOf="@id/fallbeispiel_menu_button3"
app:layout_constraintBottom_toTopOf="@id/fallbeispiel_menu_button5"
android:text="AED/CPR" android:textSize="12sp"/>
<Button
android:id="@+id/fallbeispiel_menu_button3"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toRightOf="@id/fallbeispiel_menu_button2"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toTopOf="@id/fallbeispiel_menu_button6"
android:text="Intubation" android:textSize="12sp"/>
<Button
android:id="@+id/fallbeispiel_menu_button4"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/fallbeispiel_menu_button1"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@id/fallbeispiel_menu_button5"
app:layout_constraintBottom_toTopOf="@id/fallbeispiel_menu_button7"
android:text="Medikamente" android:textSize="12sp"/>
<Button
android:id="@+id/fallbeispiel_menu_button5"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/fallbeispiel_menu_button2"
app:layout_constraintLeft_toRightOf="@id/fallbeispiel_menu_button4"
app:layout_constraintRight_toLeftOf="@id/fallbeispiel_menu_button6"
app:layout_constraintBottom_toTopOf="@id/fallbeispiel_menu_button8"
android:text="Wundversorg." android:textSize="12sp"/>
<Button
android:id="@+id/fallbeispiel_menu_button6"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/fallbeispiel_menu_button3"
app:layout_constraintLeft_toRightOf="@id/fallbeispiel_menu_button5"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toTopOf="@id/fallbeispiel_menu_button9"
android:text="Lagerung" android:textSize="12sp"/>
<Button
android:id="@+id/fallbeispiel_menu_button7"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/fallbeispiel_menu_button4"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@id/fallbeispiel_menu_button8"
app:layout_constraintBottom_toBottomOf="parent"
android:text="Szenario" android:textSize="12sp"/>
<Button
android:id="@+id/fallbeispiel_menu_button8"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/fallbeispiel_menu_button5"
app:layout_constraintLeft_toRightOf="@id/fallbeispiel_menu_button7"
app:layout_constraintRight_toLeftOf="@id/fallbeispiel_menu_button9"
app:layout_constraintBottom_toBottomOf="parent"
android:text="Verlauf" android:textSize="12sp"/>
<Button
android:id="@+id/fallbeispiel_menu_button9"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@id/fallbeispiel_menu_button6"
app:layout_constraintLeft_toRightOf="@id/fallbeispiel_menu_button8"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:text="Messwerte" android:textSize="12sp"/>
</androidx.constraintlayout.widget.ConstraintLayout>

219
app/src/main/res/layout/fallbeispiel_menu2.xml

@ -0,0 +1,219 @@
<?xml version="1.0" encoding="utf-8"?>
<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
tools:showIn="@layout/fragment_fallbeispiel"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scrollbars="none" android:id="@+id/fallbeispiel_menu"
>
<LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent"
android:orientation="horizontal">
<RelativeLayout
android:id="@+id/button_verlauf"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:clickable="true"
android:onClick="menuItemClicked"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:focusable="true">
<ImageView
android:id="@+id/imageView0"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/history"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/imageView0"
android:gravity="center"
android:singleLine="true"
android:text="Verlauf"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/button_diagnostik"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:clickable="true"
android:onClick="menuItemClicked"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:focusable="true">
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/stethoscope"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/imageView2"
android:gravity="center"
android:singleLine="true"
android:text="Diagnostik"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/button_aed"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:clickable="true"
android:onClick="menuItemClicked"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:focusable="true">
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/heart"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/imageView1"
android:gravity="center"
android:singleLine="true"
android:text="AED/CPR"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/button_intubation"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:onClick="menuItemClicked"
android:clickable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:focusable="true">
<ImageView
android:id="@+id/imageView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/lungs"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/imageView3"
android:gravity="center"
android:singleLine="true"
android:text="Intubation"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/button_medikamente"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:clickable="true"
android:onClick="menuItemClicked"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:focusable="true">
<ImageView
android:id="@+id/imageView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/syringe"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/imageView4"
android:gravity="center"
android:singleLine="true"
android:text="Medikamente"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/button_wundversorgung"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:clickable="true"
android:onClick="menuItemClicked"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:focusable="true">
<ImageView
android:id="@+id/imageView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/injury"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/imageView5"
android:gravity="center"
android:singleLine="true"
android:text="Wundversorgung"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/button_lagerung"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:clickable="true"
android:onClick="menuItemClicked"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:focusable="true">
<ImageView
android:id="@+id/imageView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/lying"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/imageView6"
android:gravity="center"
android:singleLine="true"
android:text="Lagerung"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/button_szenario"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:clickable="true"
android:onClick="menuItemClicked"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:focusable="true">
<ImageView
android:id="@+id/imageView7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/scenario"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_centerInParent="true"/>
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_below="@id/imageView7"
android:gravity="center"
android:singleLine="true"
android:text="Szenario"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
/>
</RelativeLayout>
</LinearLayout>
</HorizontalScrollView>

35
app/src/main/res/layout/fragment_fallbeispiel.xml

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/content_fallbeispiel"
android:layout_width="0dp"
android:id="@+id/include2"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintBottom_toTopOf="@+id/divider2"
android:layout_height="430dp" app:layout_constraintVertical_chainStyle="spread_inside"
/>
<include layout="@layout/fallbeispiel_menu2" android:id="@+id/include"
app:layout_constraintTop_toBottomOf="@id/divider2"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
android:layout_margin="4dp"/>
<View
android:id="@+id/divider2"
android:layout_width="398dp"
android:layout_height="1dp"
android:background="@drawable/gradient"
app:layout_constraintTop_toBottomOf="@id/include2"
app:layout_constraintBottom_toTopOf="@+id/include"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>

29
app/src/main/res/menu/activity_main_drawer.xml

@ -5,33 +5,18 @@
<group android:checkableBehavior="single">
<item
android:id="@+id/nav_camera"
android:icon="@drawable/ic_menu_camera"
android:title="Import"/>
android:id="@+id/nav_random_fallbeispiel"
android:title="zufälliges Fallbeispiel"/>
<item
android:id="@+id/nav_gallery"
android:icon="@drawable/ic_menu_gallery"
android:title="Gallery"/>
<item
android:id="@+id/nav_slideshow"
android:icon="@drawable/ic_menu_slideshow"
android:title="Slideshow"/>
<item
android:id="@+id/nav_manage"
android:icon="@drawable/ic_menu_manage"
android:title="Tools"/>
android:id="@+id/nav_discover"
android:title="Stöbern"/>
</group>
<item android:title="Communicate">
<item android:title="Einstellungen">
<menu>
<item
android:id="@+id/nav_share"
android:icon="@drawable/ic_menu_share"
android:title="Share"/>
<item
android:id="@+id/nav_send"
android:icon="@drawable/ic_menu_send"
android:title="Send"/>
android:id="@+id/nav_settings"
android:title="Einstellungen"/>
</menu>
</item>

4
app/src/main/res/values/colors.xml

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#008577</color>
<color name="colorPrimaryDark">#00574B</color>
<color name="colorAccent">#D81B60</color>
<color name="colorPrimaryDark">#00574b</color>
<color name="colorAccent">#d81b60</color>
</resources>

9
app/src/main/res/values/strings.xml

@ -2,8 +2,11 @@
<string name="app_name">FallbeispielApp</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>
<string name="nav_header_title">Android Studio</string>
<string name="nav_header_subtitle">android.studio@android.com</string>
<string name="nav_header_desc">Navigation header</string>
<string name="nav_header_title">FallbeispielApp</string>
<string name="nav_header_subtitle">fallbeispielApp@anghenfil.de</string>
<string name="nav_header_desc">Fallbeispiele!</string>
<string name="action_settings">Settings</string>
<!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string>
</resources>

2
gradle.properties

@ -13,3 +13,5 @@ org.gradle.jvmargs=-Xmx1536m
# org.gradle.parallel=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
android.useAndroidX=true
android.enableJetifier=true
Loading…
Cancel
Save