Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InstiApp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
RAHUL SHARMA
InstiApp
Commits
8385ec05
Commit
8385ec05
authored
Oct 04, 2018
by
preetamozarde3
Committed by
GitHub
Oct 04, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1 from sshivam95/subbranch_nss-patch1
Subbranch nss patch1
parents
be6dd191
7db0c351
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
103 additions
and
65 deletions
+103
-65
app/src/main/java/app/insti/fragment/FileComplaintFragment.java
...c/main/java/app/insti/fragment/FileComplaintFragment.java
+56
-24
app/src/main/res/layout/fragment_file_complaint.xml
app/src/main/res/layout/fragment_file_complaint.xml
+46
-41
app/src/main/res/values/strings.xml
app/src/main/res/values/strings.xml
+1
-0
No files found.
app/src/main/java/app/insti/fragment/FileComplaintFragment.java
View file @
8385ec05
This diff is collapsed.
Click to expand it.
app/src/main/res/layout/fragment_file_complaint.xml
View file @
8385ec05
...
...
@@ -39,22 +39,6 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
<android.support.design.widget.FloatingActionButton
android:id=
"@+id/fabButton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:layout_alignParentRight=
"true"
android:layout_gravity=
"bottom|end"
android:layout_marginEnd=
"20dp"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
android:src=
"@drawable/ic_add_a_photo_black_24dp"
app:backgroundTint=
"@color/colorSecondary"
app:borderWidth=
"0dp"
app:fabSize=
"normal"
app:layout_anchorGravity=
"bottom|end"
/>
<LinearLayout
android:id=
"@+id/linearLayoutAddImage"
android:layout_width=
"match_parent"
...
...
@@ -66,7 +50,7 @@
android:id=
"@+id/imageViewAddImage"
android:layout_width=
"100dp"
android:layout_height=
"100dp"
android:src=
"@drawable/baseline_photo_size_select_actual_black_48"
/>
android:src=
"@drawable/baseline_photo_size_select_actual_black_48"
/>
</LinearLayout>
...
...
@@ -187,10 +171,18 @@
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<com.google.android.gms.maps.MapView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/google_map"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
/>
<LinearLayout
android:id=
"@+id/mapLinearLayout"
android:layout_width=
"wrap_content"
android:layout_height=
"300dp"
android:orientation=
"vertical"
>
<com.google.android.gms.maps.MapView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/google_map"
android:layout_width=
"match_parent"
android:layout_height=
"300dp"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
...
...
@@ -198,25 +190,24 @@
android:layout_marginTop=
"20dp"
android:orientation=
"vertical"
>
<
LinearLayout
<
android.support.design.widget.TextInputLayout
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"#ccc"
android:padding=
"10dp"
>
app:hintTextAppearance=
"@style/edit_text_hint_apperarance"
>
<TextView
android:layout_width=
"wrap_content"
<EditText
android:id=
"@+id/editTextLocationDetails"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"TAGS"
android:textColor=
"#4A4A4A"
android:textSize=
"16sp"
android:textStyle=
"bold"
/>
</LinearLayout>
android:gravity=
"top"
android:hint=
"@string/enter_location_details"
android:imeOptions=
"flagNoExtractUi|actionSearch"
android:inputType=
"textMultiLine"
android:minLines=
"3"
android:textColor=
"@android:color/black"
android:textSize=
"14sp"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"7dp"
/>
</android.support.design.widget.TextInputLayout>
<com.cunoraz.tagview.TagView
android:id=
"@+id/tag_view"
...
...
@@ -224,10 +215,6 @@
android:layout_height=
"match_parent"
android:layout_margin=
"10dp"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"7dp"
/>
</LinearLayout>
<LinearLayout
...
...
@@ -247,7 +234,7 @@
android:id=
"@+id/editTextTags"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:hint=
"Add
more
Tags"
android:hint=
"Add Tags"
android:inputType=
"text"
android:textColor=
"@android:color/black"
android:textColorHint=
"#66000000"
...
...
@@ -276,7 +263,9 @@
android:id=
"@+id/tag_populate"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_margin=
"10dp"
/>
android:layout_margin=
"10dp"
android:focusable=
"true"
android:focusableInTouchMode=
"true"
/>
</ScrollView>
...
...
@@ -290,8 +279,24 @@
</android.support.v4.widget.NestedScrollView>
<android.support.design.widget.FloatingActionButton
android:id=
"@+id/fabButton"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:layout_alignParentRight=
"true"
android:layout_gravity=
"bottom|end"
android:layout_margin=
"16dp"
android:layout_marginEnd=
"20dp"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
android:src=
"@drawable/ic_add_a_photo_black_24dp"
app:backgroundTint=
"@color/colorSecondary"
app:borderWidth=
"0dp"
app:fabSize=
"normal"
/>
</android.support.design.widget.CoordinatorLayout>
<LinearLayout
android:id=
"@+id/layout_buttons"
android:layout_width=
"match_parent"
...
...
app/src/main/res/values/strings.xml
View file @
8385ec05
...
...
@@ -48,4 +48,5 @@
<string
name=
"getting_current_location"
>
Getting current location. Please try after some time
</string>
<string
name=
"GPS_not_enables"
>
GPS is not enabled!
</string>
<string
name=
"no_permission"
>
No permission!
</string>
<string
name=
"enter_location_details"
>
Enter Location Details
</string>
</resources>
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