Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CS123-CanteeneoAndroid
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Willard Torres
CS123-CanteeneoAndroid
Commits
e87a5d19
Commit
e87a5d19
authored
Nov 14, 2016
by
Tup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Filters are there na yey
parent
923ee019
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
164 additions
and
5 deletions
+164
-5
activity_nav_drawer.xml
app/src/main/res/layout/activity_nav_drawer.xml
+161
-2
strings.xml
app/src/main/res/values/strings.xml
+3
-3
No files found.
app/src/main/res/layout/activity_nav_drawer.xml
View file @
e87a5d19
...
...
@@ -19,7 +19,166 @@
android:layout_height=
"match_parent"
android:layout_gravity=
"start"
android:fitsSystemWindows=
"true"
app:headerLayout=
"@layout/nav_header_nav_drawer"
app:menu=
"@menu/activity_nav_drawer_drawer"
/>
app:headerLayout=
"@layout/nav_header_nav_drawer"
>
<LinearLayout
android:orientation=
"vertical"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"?android:attr/colorBackground"
>
<include
layout=
"@layout/nav_header_nav_drawer"
android:id=
"@+id/header"
/>
<Space
android:layout_width=
"match_parent"
android:layout_height=
"10dp"
/>
<TextView
android:typeface=
"monospace"
android:text=
"@string/drawer_1"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/textView2"
android:clickable=
"true"
android:textColor=
"#000000"
android:paddingLeft=
"10dp"
android:paddingTop=
"5dp"
android:paddingBottom=
"5dp"
android:textSize=
"20dp"
/>
<View
android:layout_width=
"match_parent"
android:layout_height=
"1dp"
android:background=
"@android:color/darker_gray"
/>
<TextView
android:typeface=
"monospace"
android:text=
"@string/drawer_2"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/filters"
android:textColor=
"#000000"
android:paddingLeft=
"10dp"
android:paddingTop=
"5dp"
android:paddingBottom=
"5dp"
android:textSize=
"20dp"
/>
<TextView
android:typeface=
"monospace"
android:text=
"@string/drawer_3"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/types"
android:textColor=
"#000000"
android:paddingLeft=
"10dp"
android:paddingTop=
"5dp"
android:paddingBottom=
"5dp"
/>
<CheckBox
android:typeface=
"monospace"
android:text=
"@string/drawer_3_1"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/nav_main"
android:checked=
"false"
android:button=
"@null"
android:drawableRight=
"?android:attr/listChoiceIndicatorMultiple"
android:paddingLeft=
"20dp"
/>
<CheckBox
android:typeface=
"monospace"
android:text=
"@string/drawer_3_2"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/nav_drink"
android:checked=
"false"
android:button=
"@null"
android:drawableRight=
"?android:attr/listChoiceIndicatorMultiple"
android:paddingLeft=
"20dp"
/>
<CheckBox
android:typeface=
"monospace"
android:text=
"@string/drawer_3_3"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/nav_dessert"
android:checked=
"false"
android:button=
"@null"
android:drawableRight=
"?android:attr/listChoiceIndicatorMultiple"
android:paddingLeft=
"20dp"
/>
<TextView
android:typeface=
"monospace"
android:text=
"@string/drawer_4"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/price_range"
android:textColor=
"#000000"
android:paddingLeft=
"10dp"
android:paddingTop=
"5dp"
android:paddingBottom=
"5dp"
/>
<SeekBar
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/seekBar3"
android:paddingLeft=
"20dip"
android:paddingRight=
"20dip"
android:max=
"150"
android:progress=
"1"
/>
<TextView
android:typeface=
"monospace"
android:text=
"@string/drawer_5"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/locations"
android:textColor=
"#000000"
android:paddingLeft=
"10dp"
android:paddingTop=
"5dp"
android:paddingBottom=
"5dp"
/>
<CheckBox
android:typeface=
"monospace"
android:text=
"@string/drawer_5_1"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/nav_gonzaga"
android:checked=
"false"
android:button=
"@null"
android:drawableRight=
"?android:attr/listChoiceIndicatorMultiple"
android:paddingLeft=
"20dp"
/>
<CheckBox
android:typeface=
"monospace"
android:text=
"@string/drawer_5_2"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/nav_jsec"
android:checked=
"false"
android:button=
"@null"
android:drawableRight=
"?android:attr/listChoiceIndicatorMultiple"
android:paddingLeft=
"20dp"
/>
<CheckBox
android:typeface=
"monospace"
android:text=
"@string/drawer_5_3"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/nav_zekaf"
android:checked=
"false"
android:button=
"@null"
android:drawableRight=
"?android:attr/listChoiceIndicatorMultiple"
android:paddingLeft=
"20dp"
/>
<Button
android:text=
"@string/hint_search"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:id=
"@+id/search_button"
android:elevation=
"10dp"
style=
"@style/Widget.AppCompat.Button"
/>
</LinearLayout>
</android.support.design.widget.NavigationView>
</android.support.v4.widget.DrawerLayout>
app/src/main/res/values/strings.xml
View file @
e87a5d19
...
...
@@ -36,8 +36,8 @@
<string
name=
"server_ip"
>
192.168.43.250
</string>
<string-array
name=
"sampleEntries"
>
<item>
Item 1
</item>
<item>
Item 2
</item>
<item>
Item 3
</item>
<item>
Item 1
11
</item>
<item>
Item 2
22
</item>
<item>
Item 3
33
</item>
</string-array>
</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