Theme the main edit text fields (comments, add task, etc)

pull/14/head
Sam Bosley 12 years ago
parent 4a043862b7
commit 64cdf02245

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:startColor="#111111"
android:endColor="#181818"
android:angle="270"
android:height="20dp" />
<stroke
android:color="#707070"
android:width="1dip" />
<size android:width="45dip"
android:height="45dip"/>
</shape>

@ -25,7 +25,7 @@
android:layout_height="wrap_content"
android:layout_weight="100"
android:autoText="true"
android:background="@drawable/edit_title_background"
android:background="?attr/asEditTextBackground"
android:capitalize="sentences"
android:freezesText="true"
android:hint="@string/TEA_title_hint"
@ -33,6 +33,6 @@
android:paddingLeft="5dip"
android:scrollbars="vertical"
android:text=""
android:textColor="@android:color/black" />
android:textColor="?attr/asTextColor" />
</LinearLayout>

@ -45,11 +45,11 @@
android:layout_marginBottom="2dip"
android:layout_weight="100"
android:paddingLeft="5dip"
android:background="@drawable/edit_title_background"
android:background="?attr/asEditTextBackground"
android:textColor="?attr/asTextColor"
android:hint="@string/TLA_quick_add_hint"
android:textSize="16sp"
android:autoText="true"
android:textColor="@android:color/black"
android:capitalize="sentences"/>
<!-- Extended Add Button -->

@ -22,7 +22,6 @@
android:hint="@string/TEA_tag_hint"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="@android:color/black"
android:layout_weight="1"
android:layout_gravity="center_vertical"/>

@ -84,11 +84,11 @@
android:layout_marginRight="1dip"
android:layout_weight="100"
android:autoText="true"
android:background="@drawable/footer_comment_edittext"
android:background="?attr/asEditTextBackground"
android:capitalize="sentences"
android:hint="@string/TVA_add_comment"
android:paddingLeft="10dip"
android:textColor="@android:color/black"
android:textColor="?attr/asTextColor"
android:textSize="16sp" />
<!-- Extended Add Button -->

@ -135,10 +135,10 @@
android:layout_marginBottom="2dip"
android:layout_weight="100"
android:autoText="true"
android:background="@drawable/footer_comment_edittext"
android:background="?attr/asEditTextBackground"
android:capitalize="sentences"
android:hint="@string/TVA_add_comment"
android:textColor="@android:color/black"
android:textColor="?attr/asTextColor"
android:paddingLeft="10dip"
android:textSize="16sp" />

@ -22,6 +22,7 @@
<attr name="asListDividerColor" format="color"/>
<attr name="asThemeTextColor" format="color"/>
<attr name="asEditTextBackground" format="reference"/>
<attr name="asListsDisclosure" format="reference"/>
<attr name="asAddButtonImg" format="reference" />
<attr name="asMicButtonImg" format="reference" />

@ -23,6 +23,7 @@
<item name="asMicButtonImg">@drawable/mic_button_blue</item>
<item name="asCommentButtonImg">@drawable/comment_blue</item>
<item name="asFilledCommentButtonImg">@drawable/comment_blue_filled</item>
<item name="asEditTextBackground">@drawable/edit_title_background_dark</item>
<item name="asEditBackground">#101010</item>
<item name="asEditRowBackground">@drawable/task_edit_background</item>
<item name="asEditTabBackground">@drawable/custom_tab_indicator_dark</item>
@ -74,6 +75,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="asEditTextBackground">@drawable/edit_title_background</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>

Loading…
Cancel
Save