mirror of https://github.com/tasks/tasks
Move settings button to drawer
parent
69a4db35cb
commit
e5661ed987
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="?attr/drawer_background"/>
|
||||
</shape>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="?attr/drawer_selected"/>
|
||||
</shape>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/filter_row_selected"/>
|
||||
<item android:state_pressed="false" android:drawable="@drawable/filter_row_normal"/>
|
||||
</selector>
|
Binary file not shown.
After Width: | Height: | Size: 805 B |
@ -1,14 +1,51 @@
|
||||
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@android:id/list"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@android:color/transparent"
|
||||
android:background="?attr/drawer_background"
|
||||
android:scrollbars="vertical"
|
||||
android:layout_alignParentTop="true"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:scrollingCache="false"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context=".NavigationDrawerFragment" />
|
||||
android:orientation="vertical">
|
||||
|
||||
<ListView xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@android:id/list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"
|
||||
android:background="?attr/drawer_background"
|
||||
android:cacheColorHint="@android:color/transparent"
|
||||
android:choiceMode="singleChoice"
|
||||
android:divider="@android:color/transparent"
|
||||
android:fitsSystemWindows="true"
|
||||
android:scrollbars="vertical"
|
||||
android:scrollingCache="false"
|
||||
tools:context=".NavigationDrawerFragment" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/settings_row"
|
||||
android:clickable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:background="@drawable/filter_row_selector"
|
||||
android:layout_gravity="bottom"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1px"
|
||||
android:background="?attr/asSeparatorBackground" />
|
||||
|
||||
<!-- filter name -->
|
||||
<TextView android:id="@+id/name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="fill_parent"
|
||||
android:drawableLeft="?attr/ic_action_settings"
|
||||
android:paddingLeft="10dp"
|
||||
android:drawablePadding="10dp"
|
||||
android:textAppearance="@style/TextAppearance.FLA_Filter"
|
||||
android:checked="false"
|
||||
android:lines="1"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center_vertical"
|
||||
android:text="@string/TLA_menu_settings"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
Loading…
Reference in New Issue