Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jorge Guerra Schleske
/
harrishack3
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Merge Requests
0
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7abd7451
authored
Jan 11, 2020
by
Simeon Markind
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another test comment
parent
ee8e9120
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
34 deletions
DynamicDuals2/app/src/main/java/com/example/dynamicduals2/MainActivity.java
DynamicDuals2/app/src/main/res/layout/content_main.xml
DynamicDuals2/app/src/main/java/com/example/dynamicduals2/MainActivity.java
View file @
7abd7451
...
@@ -20,6 +20,7 @@ import com.google.gson.Gson;
...
@@ -20,6 +20,7 @@ import com.google.gson.Gson;
import
com.google.gson.reflect.TypeToken
;
import
com.google.gson.reflect.TypeToken
;
import
java.util.List
;
import
java.util.List
;
//simeon comment 2
public
class
MainActivity
extends
AppCompatActivity
{
public
class
MainActivity
extends
AppCompatActivity
{
...
...
DynamicDuals2/app/src/main/res/layout/content_main.xml
View file @
7abd7451
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
xmlns:tools=
"http://schemas.android.com/tools"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:weightSum=
"100"
android:weightSum=
"100"
tools:showIn=
"@layout/activity_main"
>
tools:showIn=
"@layout/activity_main"
>
...
@@ -17,60 +17,67 @@
...
@@ -17,60 +17,67 @@
<TextView
<TextView
style=
"@style/CharLabelTxt"
style=
"@style/CharLabelTxt"
android:text=
"Ward: "
/>
android:text=
"Ward: "
/>
<EditText
<EditText
style=
"@style/CharLabelValue"
android:id=
"@+id/ward"
android:id=
"@+id/ward"
android:inputType=
"number"
style=
"@style/CharLabelValue"
android:hint=
"Enter a Number 1-50"
android:gravity=
"left"
android:gravity=
"left"
/>
android:hint=
"Enter a Number 1-50"
android:inputType=
"number"
/>
</LinearLayout>
</LinearLayout>
<Button
<Button
android:id=
"@+id/btnTop3Complaints"
android:layout_width=
"100dp"
android:layout_width=
"100dp"
android:layout_height=
"20dp"
android:layout_height=
"20dp"
android:layout_gravity=
"center_horizontal"
android:layout_weight=
"5"
android:layout_weight=
"5"
android:text=
"Search"
android:text=
"Search"
/>
android:id=
"@+id/btnTop3Complaints"
android:layout_gravity=
"center_horizontal"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
0dp
"
android:layout_height=
"
wrap_content
"
android:layout_weight=
"10"
android:layout_weight=
"10"
android:
orientation=
"horizontal
"
android:
weightSum=
"100
"
android:
weightSum=
"100
"
>
android:
orientation=
"vertical
"
>
<TextView
style=
"@style/CharLabelTxt"
android:text=
"SR_Type: "
/>
<TextView
style=
"@style/CharLabelValue"
android:id=
"@+id/sr_type1Label"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"50"
android:orientation=
"horizontal"
android:weightSum=
"100"
>
<LinearLayout
<TextView
android:layout_width=
"match_parent"
style=
"@style/CharLabelTxt"
android:layout_height=
"0dp"
android:text=
"Request Type: "
/>
android:layout_weight=
"10"
android:orientation=
"horizontal"
android:weightSum=
"100"
>
<TextView
<TextView
style=
"@style/CharLabelTxt"
android:id=
"@+id/sr_type1Label"
android:text=
"Count: "
/>
style=
"@style/CharLabelValue"
/>
<TextView
style=
"@style/CharLabelValue"
android:id=
"@+id/sr_type1Count"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"50"
android:orientation=
"horizontal"
android:weightSum=
"100"
>
<TextView
style=
"@style/CharLabelTxt"
android:text=
"Count: "
/>
<TextView
android:id=
"@+id/sr_type1Count"
style=
"@style/CharLabelValue"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment