Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Commit d1c67d0

Browse files
authored
Merge pull request #379 from HimanshuS01/Unused_Resources
Remove all unused resources
2 parents c6e5c27 + 50aa104 commit d1c67d0

22 files changed

+8
-169
lines changed

app/src/main/res/drawable/custom_bg_spinner.xml

-31
This file was deleted.
-270 Bytes
Binary file not shown.

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

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<android.support.design.widget.NavigationView
2727
android:layout_width="match_parent"
2828
android:layout_height="match_parent"
29-
android:id="@+id/navigation_view"
3029
android:background="@color/main_yellow"
3130
android:layout_gravity="start"
3231
android:layout_marginRight="@dimen/navgn_bar_marginRight">

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

-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<Button
1818
android:layout_width="wrap_content"
1919
android:layout_height="wrap_content"
20-
android:id="@+id/reporting_menu"
2120
android:background="@drawable/abc_ic_menu_moreoverflow_mtrl_alpha"/>
2221

2322
<TextView
@@ -27,7 +26,6 @@
2726
android:textColor="@color/primary_text_default_material_dark"
2827
android:textStyle="bold"
2928
android:textSize="@dimen/title_font"
30-
android:id="@+id/reporting_confid"
3129
android:layout_gravity="center"/>
3230

3331
</LinearLayout>
@@ -51,7 +49,6 @@
5149
android:layout_width="@dimen/layout_width"
5250
android:layout_height="match_parent"
5351
android:textColor="@color/primary_text_default_material_dark"
54-
android:id="@+id/reporting_confidential_1"
5552
android:layout_gravity="center_horizontal"
5653
android:background="@drawable/bg_textview_rounded_rectangle"
5754
android:padding="@dimen/reporting_confidentiality_textview_padding"
@@ -63,7 +60,6 @@
6360
android:layout_width="@dimen/layout_width"
6461
android:layout_height="match_parent"
6562
android:textColor="@color/primary_text_default_material_dark"
66-
android:id="@+id/reporting_confidential_2"
6763
android:layout_marginLeft="@dimen/activity_horizontal_margin"
6864
android:background="@drawable/bg_textview_rounded_rectangle"
6965
android:layout_marginRight="@dimen/activity_horizontal_margin"

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

-37
This file was deleted.

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

-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<Button
1818
android:layout_width="wrap_content"
1919
android:layout_height="wrap_content"
20-
android:id="@+id/reporting_menu"
2120
android:background="@drawable/abc_ic_menu_moreoverflow_mtrl_alpha"/>
2221

2322
<TextView
@@ -27,7 +26,6 @@
2726
android:textColor="@color/primary_text_default_material_dark"
2827
android:textStyle="bold"
2928
android:textSize="@dimen/title_font"
30-
android:id="@+id/reporting_resources"
3129
android:layout_gravity="center"/>
3230

3331
</LinearLayout>
@@ -51,7 +49,6 @@
5149
android:layout_width="@dimen/layout_width"
5250
android:layout_height="match_parent"
5351
android:textColor="@color/primary_text_default_material_dark"
54-
android:id="@+id/reporting_resources_1"
5552
android:layout_gravity="center_horizontal"
5653
android:background="@drawable/bg_textview_rounded_rectangle"
5754
android:padding="@dimen/reporting_resource_padding"
@@ -63,7 +60,6 @@
6360
android:layout_width="@dimen/layout_width"
6461
android:layout_height="match_parent"
6562
android:textColor="@color/primary_text_default_material_dark"
66-
android:id="@+id/reporting_resources_2"
6763
android:layout_marginLeft="@dimen/activity_horizontal_margin"
6864
android:background="@drawable/bg_textview_rounded_rectangle"
6965
android:layout_marginRight="@dimen/activity_horizontal_margin"

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

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
22
xmlns:app="http://schemas.android.com/apk/res-auto"
3-
android:id="@+id/main_container"
43
android:layout_width="match_parent"
54
android:layout_height="match_parent">
65

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

-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<RelativeLayout
88
android:layout_width="match_parent"
99
android:gravity="center_horizontal"
10-
android:id="@+id/main_rel"
1110
android:layout_height="wrap_content">
1211

1312
<include android:layout_height="wrap_content"
@@ -80,7 +79,6 @@
8079
android:layout_height="wrap_content"
8180
android:scaleType="fitCenter"
8281
android:src="@drawable/contact_pick"
83-
android:id="@+id/comrade1Button"
8482
android:background="@null"
8583
android:layout_gravity="right"
8684
android:onClick="addContact"
@@ -115,7 +113,6 @@
115113
android:layout_height="wrap_content"
116114
android:scaleType="fitCenter"
117115
android:src="@drawable/contact_pick"
118-
android:id="@+id/comrade2Button"
119116
android:background="@null"
120117
android:layout_gravity="right"
121118
android:onClick="addContact"
@@ -150,7 +147,6 @@
150147
android:layout_height="wrap_content"
151148
android:scaleType="fitCenter"
152149
android:src="@drawable/contact_pick"
153-
android:id="@+id/comrade3Button"
154150
android:background="@null"
155151
android:layout_gravity="right"
156152
android:onClick="addContact"
@@ -185,7 +181,6 @@
185181
android:layout_height="wrap_content"
186182
android:scaleType="fitCenter"
187183
android:src="@drawable/contact_pick"
188-
android:id="@+id/comrade4Button"
189184
android:background="@null"
190185
android:layout_gravity="right"
191186
android:onClick="addContact"
@@ -220,7 +215,6 @@
220215
android:layout_height="wrap_content"
221216
android:scaleType="fitCenter"
222217
android:src="@drawable/contact_pick"
223-
android:id="@+id/comrade5Button"
224218
android:background="@null"
225219
android:layout_gravity="right"
226220
android:onClick="addContact"
@@ -255,7 +249,6 @@
255249
android:layout_height="wrap_content"
256250
android:scaleType="fitCenter"
257251
android:src="@drawable/contact_pick"
258-
android:id="@+id/comrade6Button"
259252
android:background="@null"
260253
android:layout_gravity="right"
261254
android:onClick="addContact"

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
android:textColor="@color/primary_text_default_material_dark"
2222
android:textSize="@dimen/sub_title_font"
2323
android:textStyle="bold"
24-
android:text="@string/bystander_intervention_subtitle"
25-
android:id="@+id/textView" />
24+
android:text="@string/bystander_intervention_subtitle" />
2625

2726
<Button
2827
android:id="@+id/potentialVictim"

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
android:textColor="@color/primary_text_default_material_dark"
1818
android:textSize="@dimen/sub_title_font"
1919
android:textStyle="bold"
20-
android:text="@string/lookup_important_words"
21-
android:id="@+id/textView" />
20+
android:text="@string/lookup_important_words" />
2221

2322
<!-- EditText for Search -->
2423
<EditText android:id="@+id/inputSearch"

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
android:textColor="@color/primary_text_default_material_dark"
3434
android:textStyle="bold"
3535
android:layout_gravity="center_horizontal"
36-
android:textSize="@dimen/title_font"
37-
android:id="@+id/reporting_title" />
36+
android:textSize="@dimen/title_font" />
3837

3938
<HorizontalScrollView
4039
android:layout_width="match_parent"

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

-3
Original file line numberDiff line numberDiff line change
@@ -32,23 +32,20 @@
3232
/>
3333

3434
<Button
35-
android:id="@+id/PCMOButton"
3635
android:layout_width="match_parent"
3736
android:layout_height="@dimen/safety_resource_height"
3837
android:textSize="@dimen/text_normal"
3938
android:text="@string/learn_effect"
4039
android:layout_marginTop="@dimen/safety_resource_marginTop_50"
4140
style="@style/AppButton"/>
4241
<Button
43-
android:id="@+id/SSMButton"
4442
android:layout_width="match_parent"
4543
android:layout_height="@dimen/safety_resource_height"
4644
android:textSize="@dimen/text_normal"
4745
android:text="@string/bystander"
4846
android:layout_marginTop="@dimen/safety_resource_marginTop_70"
4947
style="@style/AppButton"/>
5048
<Button
51-
android:id="@+id/SARLButton"
5249
android:layout_width="match_parent"
5350
android:layout_height="@dimen/safety_resource_height"
5451
android:textSize="@dimen/text_normal"

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

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2-
android:id="@+id/content"
32
android:layout_width="match_parent"
43
android:layout_height="match_parent" >
54

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
android:orientation="vertical" android:layout_width="match_parent"
44
android:layout_height="match_parent"
55
android:background="@color/intro_background"
6-
android:layout_weight="@integer/intro4_layout_weight"
7-
android:id="@+id/main">
6+
android:layout_weight="@integer/intro4_layout_weight">
87

98
<TextView
109
android:layout_width="wrap_content"

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
android:orientation="vertical" android:layout_width="match_parent"
44
android:layout_height="match_parent"
55
android:background="@color/intro2_background"
6-
android:layout_weight="@integer/intro4_layout_weight"
7-
android:id="@+id/main">
6+
android:layout_weight="@integer/intro4_layout_weight">
87

98
<TextView
109
android:layout_width="wrap_content"

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
android:orientation="vertical" android:layout_width="match_parent"
44
android:layout_height="match_parent"
55
android:background="@color/intro3_background"
6-
android:layout_weight="@integer/intro4_layout_weight"
7-
android:id="@+id/main">
6+
android:layout_weight="@integer/intro4_layout_weight">
87

98
<TextView
109
android:layout_width="wrap_content"

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
android:orientation="vertical" android:layout_width="match_parent"
44
android:layout_height="match_parent"
55
android:background="@color/intro4_background"
6-
android:layout_weight="@integer/intro4_layout_weight"
7-
android:id="@+id/main">
6+
android:layout_weight="@integer/intro4_layout_weight">
87

98
<TextView
109
android:layout_width="wrap_content"

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
android:layout_width="@dimen/navbar_icon_header_size"
1111
android:layout_height="@dimen/navbar_icon_header_height"
1212
android:src="@drawable/ic_logo_horizontal"
13-
android:layout_gravity="center_horizontal"
14-
android:id="@+id/logo_custom"/>
13+
android:layout_gravity="center_horizontal" />
1514

1615
<View
1716
android:layout_width="match_parent"

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

-8
This file was deleted.

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

-3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121
<color name="dark_yellow">#FFC25C</color>
2222
<color name="colorPrimary">#02845F</color>
2323
<color name="colorPrimaryDark">#02845F</color>
24-
<color name="textColorPrimary">#FFFFFF</color>
25-
<color name="windowBackground">#FFFFFF</color>
26-
<color name="navigationBarColor">#000000</color>
2724
<color name="colorAccent">#05D197</color>
2825
<!-- dots inactive colors -->
2926
<color name="dot_dark_screen1">#B58B61</color>

0 commit comments

Comments
 (0)