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
9b1b8887
authored
Jan 11, 2020
by
jorge
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://mit.cs.uchicago.edu/simeon/harrishack
parents
c4da78b1
7abd7451
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
19 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 @
9b1b8887
...
...
@@ -20,6 +20,7 @@ import com.google.gson.Gson;
import
com.google.gson.reflect.TypeToken
;
import
java.util.List
;
//simeon comment 2
public
class
MainActivity
extends
AppCompatActivity
{
...
...
DynamicDuals2/app/src/main/res/layout/content_main.xml
View file @
9b1b8887
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
xmlns:tools=
"http://schemas.android.com/tools"
android:orientation=
"vertical"
android:weightSum=
"100"
tools:showIn=
"@layout/activity_main"
>
...
...
@@ -17,60 +17,67 @@
<TextView
style=
"@style/CharLabelTxt"
android:text=
"Ward: "
/>
android:text=
"Ward: "
/>
<EditText
style=
"@style/CharLabelValue"
android:id=
"@+id/ward"
android:inputType=
"number"
android:hint=
"Enter a Number 1-50"
style=
"@style/CharLabelValue"
android:gravity=
"left"
/>
android:hint=
"Enter a Number 1-50"
android:inputType=
"number"
/>
</LinearLayout>
<Button
android:id=
"@+id/btnTop3Complaints"
android:layout_width=
"100dp"
android:layout_height=
"20dp"
android:layout_gravity=
"center_horizontal"
android:layout_weight=
"5"
android:text=
"Search"
android:id=
"@+id/btnTop3Complaints"
android:layout_gravity=
"center_horizontal"
/>
android:text=
"Search"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"
0dp
"
android:layout_height=
"
wrap_content
"
android:layout_weight=
"10"
android:weightSum=
"100"
android:orientation=
"vertical"
>
<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=
"SR_Type: "
/>
android:text=
"Request Type: "
/>
<TextView
style=
"@style/CharLabelValue"
android:id=
"@+id/sr_type1Label"
/>
style=
"@style/CharLabelValue"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_weight=
"1
0"
android:layout_weight=
"5
0"
android:orientation=
"horizontal"
android:weightSum=
"100"
>
<TextView
style=
"@style/CharLabelTxt"
android:text=
"Count: "
/>
android:text=
"Count: "
/>
<TextView
style=
"@style/CharLabelValue"
android:id=
"@+id/sr_type1Count"
/>
style=
"@style/CharLabelValue"
/>
</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