remove unused resources
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle">
|
|
||||||
<solid android:color="@color/importance_1" />
|
|
||||||
</shape>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle">
|
|
||||||
<solid android:color="@color/importance_2" />
|
|
||||||
</shape>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle">
|
|
||||||
<solid android:color="@color/importance_3" />
|
|
||||||
</shape>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle">
|
|
||||||
<solid android:color="@color/importance_4" />
|
|
||||||
</shape>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle">
|
|
||||||
<solid android:color="@color/importance_5" />
|
|
||||||
</shape>
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:shape="rectangle">
|
|
||||||
<solid android:color="@color/importance_6" />
|
|
||||||
</shape>
|
|
||||||
@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2008 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
|
|
||||||
<item android:state_pressed="false" android:state_enabled="true"
|
|
||||||
android:state_focused="false" android:drawable="@drawable/scroll_down_normal" />
|
|
||||||
<item android:state_pressed="true" android:state_enabled="true"
|
|
||||||
android:drawable="@drawable/scroll_down_pressed" />
|
|
||||||
|
|
||||||
</selector>
|
|
||||||
|
Before Width: | Height: | Size: 640 B |
|
Before Width: | Height: | Size: 845 B |
|
Before Width: | Height: | Size: 851 B |
@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- Copyright (C) 2008 The Android Open Source Project
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
|
|
||||||
<item android:state_pressed="false" android:state_enabled="true"
|
|
||||||
android:state_focused="false" android:drawable="@drawable/scroll_up_normal" />
|
|
||||||
<item android:state_pressed="true" android:state_enabled="true"
|
|
||||||
android:drawable="@drawable/scroll_up_pressed" />
|
|
||||||
|
|
||||||
</selector>
|
|
||||||
|
Before Width: | Height: | Size: 573 B |
|
Before Width: | Height: | Size: 692 B |
|
Before Width: | Height: | Size: 791 B |
|
Before Width: | Height: | Size: 489 B |
|
Before Width: | Height: | Size: 505 B |
|
Before Width: | Height: | Size: 482 B |
|
Before Width: | Height: | Size: 495 B |
@ -1,350 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_black"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_black"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_blue"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_blue"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_red"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_red"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_white"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_white"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/widget"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:padding="10dp">
|
|
||||||
|
|
||||||
<!-- header section -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/header"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:paddingTop="0dp"
|
|
||||||
android:paddingBottom="0dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_alignParentTop="true">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_up"
|
|
||||||
android:background="@drawable/scroll_up"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
<ImageButton
|
|
||||||
android:visibility="gone"
|
|
||||||
android:id="@+id/scroll_up_alt"
|
|
||||||
android:background="@drawable/scroll_up"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/widget_title"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="left"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="20sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:gravity="center"
|
|
||||||
android:paddingTop="3dp"
|
|
||||||
android:paddingBottom="2dp"
|
|
||||||
android:ellipsize="start" />
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_down"
|
|
||||||
android:background="@drawable/scroll_down"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
<ImageButton
|
|
||||||
android:visibility="gone"
|
|
||||||
android:id="@+id/scroll_down_alt"
|
|
||||||
android:background="@drawable/scroll_down"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_below="@+id/header"
|
|
||||||
android:layout_alignParentBottom="true">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/task_list"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_toLeftOf="@+id/footer"
|
|
||||||
android:paddingTop="4dip"
|
|
||||||
android:paddingBottom="3dip"
|
|
||||||
android:gravity="fill_vertical">
|
|
||||||
|
|
||||||
<!-- body rows -->
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance1"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox1"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance2"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox2"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance3"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox3"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance4"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox4"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title4"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due4"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance5"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox5"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title5"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due5"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- end body rows -->
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/footer"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:paddingLeft="7dp"
|
|
||||||
android:paddingRight="7dp"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_alignParentRight="true">
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/button_plus"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:paddingTop="10dp"
|
|
||||||
android:paddingBottom="9dp"
|
|
||||||
android:paddingLeft="10dp"
|
|
||||||
android:paddingRight="9dp"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:gravity="center_vertical">
|
|
||||||
<ImageView
|
|
||||||
android:src="@drawable/button_plus"
|
|
||||||
android:layout_width="17dp"
|
|
||||||
android:layout_height="17dp"
|
|
||||||
/>
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/icon"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:paddingTop="10dp"
|
|
||||||
android:paddingBottom="9dp"
|
|
||||||
android:paddingLeft="10dp"
|
|
||||||
android:paddingRight="9dp"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:gravity="center_vertical">
|
|
||||||
<ImageView
|
|
||||||
android:src="@drawable/button_plus"
|
|
||||||
android:layout_width="17dp"
|
|
||||||
android:layout_height="17dp"
|
|
||||||
/>
|
|
||||||
</LinearLayout>
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/encouragement"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:visibility="gone">
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/speech_bubble"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_toLeftOf="@+id/icon"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:paddingTop="8dp"
|
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:paddingRight="20dp"
|
|
||||||
android:paddingLeft="12dp"
|
|
||||||
android:background="@drawable/speech_bubble"
|
|
||||||
android:gravity="fill_horizontal" >
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/encouragement_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:gravity="top"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="14sp"
|
|
||||||
android:layout_height="38dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
@ -1,506 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_black"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_black"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_blue"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_blue"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_red"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_red"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_white"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_white"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/widget"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:padding="10dp">
|
|
||||||
|
|
||||||
<!-- header section -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/header"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:paddingTop="0dp"
|
|
||||||
android:paddingBottom="0dp"
|
|
||||||
android:paddingLeft="7dp"
|
|
||||||
android:paddingRight="0dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_alignParentTop="true">
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/widget_title"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_gravity="left"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="20sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:gravity="center"
|
|
||||||
android:paddingTop="3dp"
|
|
||||||
android:paddingBottom="2dp"
|
|
||||||
android:ellipsize="start" />
|
|
||||||
<LinearLayout
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:paddingTop="10dp"
|
|
||||||
android:paddingBottom="9dp"
|
|
||||||
android:paddingLeft="10dp"
|
|
||||||
android:paddingRight="9dp" >
|
|
||||||
<ImageView
|
|
||||||
android:src="@drawable/button_plus"
|
|
||||||
android:layout_width="17dp"
|
|
||||||
android:layout_height="17dp"
|
|
||||||
/>
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_below="@+id/header"
|
|
||||||
android:layout_above="@+id/encouragement">
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/task_list"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_toLeftOf="@+id/footer"
|
|
||||||
android:paddingTop="4dip"
|
|
||||||
android:paddingBottom="3dip"
|
|
||||||
android:gravity="fill_vertical">
|
|
||||||
|
|
||||||
<!-- body rows -->
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance1"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox1"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance2"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox2"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance3"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox3"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance4"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox4"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title4"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due4"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance5"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox5"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title5"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due5"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance6"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox6"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title6"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due6"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance7"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox7"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title7"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due7"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance8"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox8"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title8"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due8"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance9"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox9"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title9"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due9"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance10"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox10"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title10"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due10"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- end body rows -->
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/footer"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:paddingLeft="7dp"
|
|
||||||
android:paddingRight="7dp"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_alignParentRight="true">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/scroll_up"
|
|
||||||
android:src="@drawable/scroll_up"
|
|
||||||
android:layout_width="36dp"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
/>
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/scroll_up_alt"
|
|
||||||
android:src="@drawable/scroll_up"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_width="36dp"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_alignParentTop="true"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/button_plus"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:paddingTop="10dp"
|
|
||||||
android:paddingBottom="9dp"
|
|
||||||
android:paddingLeft="10dp"
|
|
||||||
android:paddingRight="9dp"
|
|
||||||
android:layout_below="@+id/scroll_up_alt"
|
|
||||||
android:layout_above="@+id/scroll_down_alt"
|
|
||||||
android:gravity="center_vertical">
|
|
||||||
<ImageView
|
|
||||||
android:src="@drawable/button_plus"
|
|
||||||
android:layout_width="17dp"
|
|
||||||
android:layout_height="17dp"
|
|
||||||
/>
|
|
||||||
</LinearLayout>
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/scroll_down"
|
|
||||||
android:src="@drawable/scroll_down"
|
|
||||||
android:layout_width="36dp"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
/>
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/scroll_down_alt"
|
|
||||||
android:src="@drawable/scroll_down"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_width="36dp"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
/>
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/encouragement"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignParentBottom="true">
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/speech_bubble"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_toLeftOf="@+id/icon"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:paddingTop="8dp"
|
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:paddingRight="20dp"
|
|
||||||
android:paddingLeft="12dp"
|
|
||||||
android:background="@drawable/speech_bubble"
|
|
||||||
android:gravity="fill_horizontal" >
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/encouragement_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:gravity="top"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="14sp"
|
|
||||||
android:layout_height="38dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/icon"
|
|
||||||
android:src="@drawable/icon_plus"
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="42dp"
|
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_alignBottom="@+id/speech_bubble"
|
|
||||||
android:layout_marginBottom="4dp"/>
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
@ -1,339 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_black"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_black"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_blue"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_blue"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_red"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_red"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_white"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_white"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/widget"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:padding="10dp">
|
|
||||||
|
|
||||||
<!-- header section -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/header"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:paddingTop="0dp"
|
|
||||||
android:paddingBottom="0dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_alignParentTop="true">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_up"
|
|
||||||
android:background="@drawable/scroll_up"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/widget_title"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="left"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="20sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:gravity="center"
|
|
||||||
android:paddingTop="3dp"
|
|
||||||
android:paddingBottom="2dp"
|
|
||||||
android:ellipsize="start" />
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_down"
|
|
||||||
android:background="@drawable/scroll_down"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/task_list"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_below="@+id/header"
|
|
||||||
android:layout_above="@+id/footer"
|
|
||||||
android:paddingTop="4dip"
|
|
||||||
android:paddingBottom="3dip"
|
|
||||||
android:gravity="fill_vertical">
|
|
||||||
|
|
||||||
<!-- body rows -->
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance1"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox1"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance2"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox2"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance3"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox3"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance4"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox4"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title4"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due4"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance5"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox5"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title5"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due5"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- end body rows -->
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<FrameLayout
|
|
||||||
android:id="@+id/footer"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignParentBottom="true">
|
|
||||||
|
|
||||||
<!-- if no encouragement -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/button_plus"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:gravity="center_horizontal">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_up_alt"
|
|
||||||
android:background="@drawable/scroll_up"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:src="@drawable/button_plus"
|
|
||||||
android:layout_width="17dp"
|
|
||||||
android:layout_height="17dp"
|
|
||||||
android:layout_weight="70"
|
|
||||||
android:layout_marginTop="8dp"
|
|
||||||
android:layout_marginRight="9dp"
|
|
||||||
android:gravity="right"
|
|
||||||
/>
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:text="Add Task"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_down_alt"
|
|
||||||
android:background="@drawable/scroll_down"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- encouragement -->
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/encouragement"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/speech_bubble"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_toLeftOf="@+id/icon"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:paddingTop="8dp"
|
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:paddingRight="20dp"
|
|
||||||
android:paddingLeft="12dp"
|
|
||||||
android:background="@drawable/speech_bubble"
|
|
||||||
android:gravity="fill_horizontal" >
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/encouragement_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:gravity="top"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="14sp"
|
|
||||||
android:layout_height="38dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/icon"
|
|
||||||
android:src="@drawable/icon_plus"
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_alignBottom="@+id/speech_bubble"
|
|
||||||
android:layout_marginBottom="4dp"/>
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
@ -1,489 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_black"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_black"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_blue"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_blue"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_red"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_red"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/widget_bg_white"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:background="@drawable/widget_bg_44_white"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/widget"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:padding="10dp">
|
|
||||||
|
|
||||||
<!-- header section -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/header"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:paddingTop="0dp"
|
|
||||||
android:paddingBottom="0dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:layout_alignParentTop="true">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_up"
|
|
||||||
android:background="@drawable/scroll_up"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/widget_title"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="left"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="20sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:gravity="center"
|
|
||||||
android:paddingTop="3dp"
|
|
||||||
android:paddingBottom="2dp"
|
|
||||||
android:ellipsize="start" />
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_down"
|
|
||||||
android:background="@drawable/scroll_down"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/task_list"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_below="@+id/header"
|
|
||||||
android:layout_above="@+id/footer"
|
|
||||||
android:paddingTop="4dip"
|
|
||||||
android:paddingBottom="3dip"
|
|
||||||
android:gravity="fill_vertical">
|
|
||||||
|
|
||||||
<!-- body rows -->
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance1"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox1"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due1"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance2"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox2"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due2"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance3"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox3"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due3"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance4"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox4"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title4"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due4"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance5"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox5"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title5"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due5"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance6"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox6"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title6"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due6"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance7"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox7"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title7"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due7"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance8"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox8"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title8"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due8"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance9"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox9"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title9"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due9"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="38dp"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/importance10"
|
|
||||||
android:layout_width="3dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/checkbox10"
|
|
||||||
android:src="@drawable/btn_check_buttonless_off"
|
|
||||||
android:paddingLeft="2dp"
|
|
||||||
android:paddingRight="2dp"
|
|
||||||
android:layout_width="38dp"
|
|
||||||
android:layout_height="38dp" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_title10"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:textSize="14sp" android:paddingLeft="5dip" />
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/task_due10"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center_vertical" android:maxLines="2"
|
|
||||||
android:gravity="right" android:paddingRight="4dp"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- end body rows -->
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<FrameLayout
|
|
||||||
android:id="@+id/footer"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_alignParentBottom="true">
|
|
||||||
|
|
||||||
<!-- if no encouragement -->
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/button_plus"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="36dp"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:gravity="center_horizontal">
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_up_alt"
|
|
||||||
android:background="@drawable/scroll_up"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:src="@drawable/button_plus"
|
|
||||||
android:layout_width="17dp"
|
|
||||||
android:layout_height="17dp"
|
|
||||||
android:layout_weight="70"
|
|
||||||
android:layout_marginTop="8dp"
|
|
||||||
android:layout_marginRight="9dp"
|
|
||||||
android:gravity="right"
|
|
||||||
/>
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="100"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:text="Add Task"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<ImageButton
|
|
||||||
android:id="@+id/scroll_down_alt"
|
|
||||||
android:background="@drawable/scroll_down"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="fill_parent"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<!-- encouragement -->
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/encouragement"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/speech_bubble"
|
|
||||||
android:layout_alignParentLeft="true"
|
|
||||||
android:layout_toLeftOf="@+id/icon"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:paddingTop="8dp"
|
|
||||||
android:paddingBottom="8dp"
|
|
||||||
android:paddingRight="20dp"
|
|
||||||
android:paddingLeft="12dp"
|
|
||||||
android:background="@drawable/speech_bubble"
|
|
||||||
android:gravity="fill_horizontal" >
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/encouragement_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:gravity="top"
|
|
||||||
android:textColor="#ffffff"
|
|
||||||
android:textSize="14sp"
|
|
||||||
android:layout_height="38dp"/>
|
|
||||||
</LinearLayout>
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/icon"
|
|
||||||
android:src="@drawable/icon_plus"
|
|
||||||
android:layout_width="48dp"
|
|
||||||
android:layout_height="48dp"
|
|
||||||
android:layout_alignParentRight="true"
|
|
||||||
android:layout_alignBottom="@+id/speech_bubble"
|
|
||||||
android:layout_marginBottom="4dp"/>
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
</FrameLayout>
|
|
||||||
@ -1,58 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!-- See the file "LICENSE" for the full license governing this code. -->
|
|
||||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
|
|
||||||
<!-- Resources for power pack widget -->
|
|
||||||
|
|
||||||
<string name="PPW_widget_42_label">Astrid 4x2 (beta!)</string>
|
|
||||||
<string name="PPW_widget_44_label">Astrid 4x4 (beta!)</string>
|
|
||||||
|
|
||||||
<string name="PPW_configure_title">Configure Widget</string>
|
|
||||||
|
|
||||||
<string name="PPW_color">Widget color</string>
|
|
||||||
<string name="PPW_enable_calendar">Show calendar events</string>
|
|
||||||
<string name="PPW_disable_encouragements">Hide encouragements</string>
|
|
||||||
<string name="PPW_filter">Select Filter</string>
|
|
||||||
|
|
||||||
<string name="PPW_due">Due:</string>
|
|
||||||
<string name="PPW_past_due">Past Due:</string>
|
|
||||||
|
|
||||||
<string-array name="PPW_encouragements">
|
|
||||||
<!-- general encouragements -->
|
|
||||||
<item>Hi there!</item>
|
|
||||||
<item>Have time to finish something?</item>
|
|
||||||
<item>Gosh, you are looking suave today!</item>
|
|
||||||
<item>Do something great today!</item>
|
|
||||||
<item>Make me proud today!</item>
|
|
||||||
<item>How are you doing today?</item>
|
|
||||||
</string-array>
|
|
||||||
|
|
||||||
<string-array name="PPW_encouragements_tod">
|
|
||||||
<!-- encouragements based on time of day -->
|
|
||||||
<item>Good morning!</item>
|
|
||||||
<item>Good afternoon!</item>
|
|
||||||
<item>Good evening!</item>
|
|
||||||
<item>Late night?</item>
|
|
||||||
<item>It\s early, get something done!</item>
|
|
||||||
<item>Afternoon tea, perhaps?</item>
|
|
||||||
<item>Enjoy the evening!</item>
|
|
||||||
<item>Sleep is good for you, you know!</item>
|
|
||||||
</string-array>
|
|
||||||
|
|
||||||
<string-array name="PPW_encouragements_completed">
|
|
||||||
<!-- encouragements based on tasks completed (%d => completed) -->
|
|
||||||
<item>You\'ve already completed %d tasks!</item>
|
|
||||||
<item>Score in life: %d tasks completed</item>
|
|
||||||
<item>Smile! You\'ve already finished %d tasks!</item>
|
|
||||||
</string-array>
|
|
||||||
|
|
||||||
<string name="PPW_encouragements_completed"></string>
|
|
||||||
|
|
||||||
<string-array name="PPW_colors">
|
|
||||||
<item>Black</item>
|
|
||||||
<item>White</item>
|
|
||||||
<item>Blue</item>
|
|
||||||
<item>Red</item>
|
|
||||||
</string-array>
|
|
||||||
|
|
||||||
</resources>
|
|
||||||