Skip to content

Commit 12a9c6b

Browse files
committed
Minor Changes
1 parent e6187c2 commit 12a9c6b

File tree

8 files changed

+14
-15
lines changed

8 files changed

+14
-15
lines changed

app/src/main/java/com/hackathon/thesingularityproject/helpmycity/AddNewProblem.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public class AddNewProblem extends AppCompatActivity implements View.OnClickList
1717
Button button3;
1818
EditText name, lastname, title, prdescription;
1919
String name1, lastname1, title1, prdescription1;
20-
String date1;
2120

2221

2322
@Override

app/src/main/java/com/hackathon/thesingularityproject/helpmycity/AddProblemLocation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void onMapClick(LatLng latLng) {
122122

123123
BitmapDrawable bitmapdraw =(BitmapDrawable)getResources().getDrawable(R.drawable.map_marker);
124124
Bitmap b = bitmapdraw.getBitmap();
125-
Bitmap smallMarker = Bitmap.createScaledBitmap(b, 128, 128, false);
125+
Bitmap smallMarker = Bitmap.createScaledBitmap(b, 90, 90, false);
126126

127127
MarkerOptions marker = new MarkerOptions()
128128
.position(latLng)

app/src/main/java/com/hackathon/thesingularityproject/helpmycity/ProblemLocation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected String doInBackground(String... strings) {
9797

9898
BitmapDrawable bitmapdraw =(BitmapDrawable)getResources().getDrawable(R.drawable.map_marker);
9999
Bitmap b = bitmapdraw.getBitmap();
100-
Bitmap smallMarker = Bitmap.createScaledBitmap(b, 128, 128, false);
100+
Bitmap smallMarker = Bitmap.createScaledBitmap(b, 90, 90, false);
101101

102102
MarkerOptions marker = new MarkerOptions()
103103
.position(reportLocation)

app/src/main/res/layout/activity_add_new_problem.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,8 @@
149149
android:text="@string/report_new_problem"
150150
android:textColor="@color/gold"
151151
android:textSize="26sp"
152-
android:textStyle="bold"
153152
app:layout_constraintBottom_toBottomOf="parent"
154-
app:layout_constraintHorizontal_bias="0.053"
153+
app:layout_constraintHorizontal_bias="0.06"
155154
app:layout_constraintLeft_toLeftOf="parent"
156155
app:layout_constraintRight_toRightOf="parent"
157156
app:layout_constraintTop_toTopOf="parent"

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
xmlns:tools="http://schemas.android.com/tools"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent"
7-
android:background="@drawable/dark_blue"
7+
android:background="@color/colorPrimaryDark"
88
tools:context="com.hackathon.thesingularityproject.helpmycity.MainActivity">
99

1010
<Button
@@ -55,15 +55,16 @@
5555
android:layout_width="wrap_content"
5656
android:layout_height="wrap_content"
5757
android:layout_marginBottom="32dp"
58+
android:layout_marginLeft="8dp"
59+
android:layout_marginRight="8dp"
5860
android:layout_marginTop="-45dp"
5961
android:adjustViewBounds="true"
6062
app:layout_constraintBottom_toBottomOf="parent"
63+
app:layout_constraintLeft_toLeftOf="parent"
64+
app:layout_constraintRight_toRightOf="parent"
6165
app:layout_constraintTop_toTopOf="parent"
6266
app:layout_constraintVertical_bias="0.156"
6367
app:srcCompat="@mipmap/bg_3"
64-
android:layout_marginLeft="8dp"
65-
app:layout_constraintLeft_toLeftOf="parent"
66-
android:layout_marginRight="8dp"
67-
app:layout_constraintRight_toRightOf="parent" />
68+
tools:ignore="ContentDescription" />
6869

6970
</android.support.constraint.ConstraintLayout>

app/src/main/res/layout/activity_problem_location.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@
155155

156156
<TextView
157157
android:id="@+id/titleTextView"
158-
android:layout_width="261dp"
159-
android:layout_height="37dp"
158+
android:layout_width="377dp"
159+
android:layout_height="35dp"
160160
android:layout_marginBottom="8dp"
161161
android:layout_marginTop="10dp"
162162
android:paddingLeft="6dp"

app/src/main/res/layout/list_item.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
android:id="@+id/title"
99
android:layout_width="match_parent"
1010
android:layout_height="54dp"
11-
android:textColor="@color/gold_3"
11+
android:textColor="@color/brown_dark"
1212
android:textSize="22sp"
1313
android:textStyle="bold" />
1414

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33
<color name="colorPrimary">#3f51b5</color>
4-
<color name="colorPrimaryDark">#303F9F</color>
4+
<color name="colorPrimaryDark">#242f3e</color>
55
<color name="colorAccent">#FF4081</color>
66
<color name="Mycolor">#001739</color>
77
<color name="white_transparent_65">#89adadad</color>
@@ -14,7 +14,7 @@
1414
<color name="gold_2">#ca8f60</color>
1515
<color name="color_3">#9e775b</color>
1616
<color name="gold_3">#9e775b</color>
17-
<color name="brown_dark">#584a40</color>
17+
<color name="brown_dark">#716a65</color>
1818
<color name="dark_blue_2">#212c3a</color>
1919
<color name="dark_blue_3">#1b242f</color>
2020
<color name="my_gray">#7f7f7f</color>

0 commit comments

Comments
 (0)