From c6a6d100c2d9185fc64bbcec29813dd5f3c710e2 Mon Sep 17 00:00:00 2001 From: Patrick Martin Date: Thu, 21 Mar 2019 18:35:20 -0700 Subject: [PATCH 1/2] Patrick Martin - DrugDataProject --- .idea/codeStyles/Project.xml | 29 +++++++++++++++++++ .idea/misc.xml | 2 +- .idea/vcs.xml | 6 ++++ .../drugdataproject/DrugPeddlers.java | 10 +++++++ 4 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/vcs.xml create mode 100644 app/src/main/java/com/lambdaschool/drugdataproject/DrugPeddlers.java diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..30aa626 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index af0bbdd..703e5d4 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -5,7 +5,7 @@ - + diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/java/com/lambdaschool/drugdataproject/DrugPeddlers.java b/app/src/main/java/com/lambdaschool/drugdataproject/DrugPeddlers.java new file mode 100644 index 0000000..77b6172 --- /dev/null +++ b/app/src/main/java/com/lambdaschool/drugdataproject/DrugPeddlers.java @@ -0,0 +1,10 @@ +package com.lambdaschool.drugdataproject; + +public class DrugPeddlers { + Long dpID; + String name; + + public void whoareyou(){ + System.out.println("This is me " + name); + } +} From 1e519eea39bb3aa1f66ceb4a8cb6c225d1fe6675 Mon Sep 17 00:00:00 2001 From: Patrick Martin Date: Thu, 21 Mar 2019 18:36:58 -0700 Subject: [PATCH 2/2] Added switch to main xml --- app/src/main/res/layout/activity_main.xml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 647fd0f..b4f441a 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -27,9 +27,22 @@ + android:layout_height="0dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toBottomOf="@id/search_text" + app:layout_constraintVertical_bias="0.0" + tools:layout_editor_absoluteX="0dp" /> + + \ No newline at end of file