New icons and text styling for waiting on me display

pull/14/head
Sam Bosley 12 years ago
parent ba221c4a9e
commit 80dccbff44

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
** Copyright (c) 2012 Todoroo Inc
**
** See the file "LICENSE" for the full license governing this code.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- Bottom 2dp Shadow -->
<item>
<shape android:shape="rectangle" >
<solid
android:color="#222"/>
<corners android:radius="2dp" />
</shape>
</item>
<item android:bottom="2px" android:right="1px" android:top="1px" android:left="1px">
<shape android:shape="rectangle" >
<solid android:color="#171717" />
<corners android:radius="2dp" />
</shape>
</item>
</layer-list>

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
** Copyright (c) 2012 Todoroo Inc
**
** See the file "LICENSE" for the full license governing this code.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- Bottom 2dp Shadow -->
<item>
<shape android:shape="rectangle" >
<solid
android:color="#aaa"/>
<corners android:radius="2dp" />
</shape>
</item>
<item android:bottom="2px" android:right="1px" android:top="1px" android:left="1px">
<shape android:shape="rectangle" >
<solid android:color="#ddd" />
<corners android:radius="2dp" />
</shape>
</item>
</layer-list>

@ -5,7 +5,6 @@
** See the file "LICENSE" for the full license governing this code.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:astrid="http://schemas.android.com/apk/res/com.timsu.astrid"
android:id="@+id/taskEditParent"
style="@style/Content"
android:layout_width="fill_parent"
@ -33,8 +32,8 @@
android:layout_margin="3dip"
android:layout_marginBottom="10dip"
android:padding="10dip"
android:visibility="visible"
style="@style/EditRow">
android:visibility="gone"
android:background="?attr/asWomEditRowBackground">
<ImageView
android:id="@+id/wom_icon"
android:layout_marginRight="10dip"
@ -47,6 +46,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dip"
android:textStyle="bold"
android:layout_toRightOf="@id/wom_icon"/>
<TextView

@ -10,6 +10,7 @@
<attr name="asContentBackground" format="color"/>
<attr name="asEditBackground" format="color"/>
<attr name="asEditRowBackground" format="reference"/>
<attr name="asWomEditRowBackground" format="reference"/>
<attr name="asEditTabBackground" format="reference"/>
<attr name="asHeaderBackground" format="reference"/>
<attr name="asHeaderButtonBackground" format="reference"/>

@ -30,6 +30,7 @@
<item name="asEditTextBackground">@null</item>
<item name="asEditBackground">#101010</item>
<item name="asEditRowBackground">@drawable/task_edit_background</item>
<item name="asWomEditRowBackground">@drawable/wom_edit_background</item>
<item name="asEditTabBackground">@drawable/custom_tab_indicator_dark</item>
<item name="asMainMenu">@drawable/menu_button_blue</item>
<item name="asPeopleMenu">@drawable/people_menu_button_blue</item>
@ -79,6 +80,7 @@
<item name="asQuickaddBackgroundColor">#22000000</item>
<item name="asEditBackground">#33272327</item>
<item name="asEditRowBackground">@drawable/task_edit_background_transparent_black</item>
<item name="asWomEditRowBackground">@drawable/task_edit_background_transparent_black</item>
<item name="asMembersHeaderBackground">@android:color/transparent</item>
<item name="android:windowBackground">@android:color/transparent</item>
@ -89,7 +91,7 @@
<style name="Theme.White" parent="@style/Theme.Sherlock.Light">
<item name="asContentBackground">@android:color/white</item>
<item name="asEditBackground">#dddddd</item>
<item name="asEditBackground">#e5e5e5</item>
<item name="asHeaderButtonBackground">@drawable/header_button_white</item>
<item name="asTextColor">#000000</item>
<item name="asTextColorInverse">#ffffff</item>
@ -104,6 +106,7 @@
<item name="asCommentButtonImg">@drawable/comment_red</item>
<item name="asFilledCommentButtonImg">@drawable/comment_red_filled</item>
<item name="asEditRowBackground">@drawable/task_edit_background_white</item>
<item name="asWomEditRowBackground">@drawable/wom_edit_background_white</item>
<item name="asEditTabBackground">@drawable/custom_tab_indicator</item>
<item name="asMainMenu">@drawable/menu_button_red</item>
<item name="asPeopleMenu">@drawable/people_menu_button_red</item>
@ -190,6 +193,7 @@
<item name="asQuickaddBackgroundColor">#22000000</item>
<item name="asEditBackground">#33272327</item>
<item name="asEditRowBackground">@drawable/task_edit_background_transparent_black</item>
<item name="asWomEditRowBackground">@drawable/task_edit_background_transparent_black</item>
<item name="asMembersHeaderBackground">@android:color/transparent</item>
<item name="android:actionBarStyle">@style/AstridV11ActionBarStyle.White.Blue.Transparent</item>
<item name="actionBarStyle">@style/AstridActionBarStyle.White.Blue.Transparent</item>

@ -821,9 +821,10 @@ ViewPager.OnPageChangeListener, EditNoteActivity.UpdatesChangedListener {
TextView womText = (TextView) waitingOnMe.findViewById(R.id.wom_message);
womText.setText(getWomText(wom));
womText.setTextColor(getResources().getColor(ThemeService.getTaskEditThemeColor()));
ImageView womIcon = (ImageView) waitingOnMe.findViewById(R.id.wom_icon);
womIcon.setImageResource(ThemeService.getTaskEditDrawable(R.drawable.tea_icn_edit, R.drawable.tea_icn_edit_lightblue));
womIcon.setImageResource(ThemeService.getTaskEditDrawable(R.drawable.tea_icn_waiting, R.drawable.tea_icn_waiting_lightblue));
}
}
}

Loading…
Cancel
Save