Commit e87a5d19 authored by Tup's avatar Tup

Filters are there na yey

parent 923ee019
...@@ -19,7 +19,166 @@ ...@@ -19,7 +19,166 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="start" android:layout_gravity="start"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
app:headerLayout="@layout/nav_header_nav_drawer" app:headerLayout="@layout/nav_header_nav_drawer" >
app:menu="@menu/activity_nav_drawer_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> </android.support.v4.widget.DrawerLayout>
...@@ -36,8 +36,8 @@ ...@@ -36,8 +36,8 @@
<string name="server_ip">192.168.43.250</string> <string name="server_ip">192.168.43.250</string>
<string-array name="sampleEntries"> <string-array name="sampleEntries">
<item>Item 1</item> <item>Item 111</item>
<item>Item 2</item> <item>Item 222</item>
<item>Item 3</item> <item>Item 333</item>
</string-array> </string-array>
</resources> </resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment