Finished day blue theme

pull/14/head
Sam Bosley 13 years ago
parent 56e8ed2440
commit 243d94a690

@ -10,7 +10,6 @@ import android.support.v4.view.Menu;
import android.support.v4.view.MenuItem;
import android.text.Editable;
import android.text.TextWatcher;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.MenuInflater;
@ -173,9 +172,7 @@ public class TagUpdatesFragment extends ListFragment {
}
private void resetPictureButton() {
TypedValue tv = new TypedValue();
getActivity().getTheme().resolveAttribute(R.attr.asCameraButtonImg, tv, false);
pictureButton.setImageResource(tv.data);
pictureButton.setImageResource(R.drawable.camera_button_gray);
}
private void refreshUpdatesList() {

@ -23,7 +23,6 @@ import android.text.TextWatcher;
import android.text.format.DateUtils;
import android.text.util.Linkify;
import android.util.Log;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
@ -117,9 +116,7 @@ public class EditNoteActivity extends LinearLayout implements TimerActionListene
}
private int getDefaultCameraButton() {
TypedValue tv = new TypedValue();
fragment.getActivity().getTheme().resolveAttribute(R.attr.asCameraButtonImg, tv, false);
return tv.data;
return R.drawable.camera_button_gray;
}
public void loadViewForTaskID(long t){

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

@ -0,0 +1,26 @@
<?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">
<!-- Non focused states -->
<item android:state_focused="false" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/custom_tab_indicator_dark_blue_unselected" />
<item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/custom_tab_indicator_dark_blue_selected" />
<!-- Focused states -->
<item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/custom_tab_indicator_dark_blue_unselected_focused" />
<item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/custom_tab_indicator_dark_blue_selected_focused" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 499 B

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_selected="false" android:drawable="@drawable/lists_disclosure_dark_blue_off"/>
<item android:state_selected="true" android:drawable="@drawable/lists_disclosure_dark_blue_on"/>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:state_selected="false" android:drawable="@drawable/menu_button_dark_blue_off"/>
<item android:state_selected="true" android:drawable="@drawable/menu_button_dark_blue_on"/>
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -47,7 +47,7 @@
android:paddingLeft="7dip"
android:paddingRight="7dip"
android:scaleType="centerInside"
android:src="?attr/asCameraButtonImg" />
android:src="@drawable/camera_button_gray" />
<!-- Quick Add Task -->

@ -142,7 +142,7 @@
android:paddingLeft="7dip"
android:paddingRight="7dip"
android:scaleType="centerInside"
android:src="?attr/asCameraButtonImg" />
android:src="@drawable/camera_button_gray" />
<!-- Quick Add Task -->

@ -24,12 +24,11 @@
<attr name="asListsDisclosure" format="reference"/>
<attr name="asAddButtonImg" format="reference" />
<attr name="asMicButtonImg" format="reference" />
<attr name="asCameraButtonImg" format="reference" />
<attr name="asCommentButtonImg" format="reference" />
<attr name="asTaskEditArrow" format="reference" />
<attr name="asRepeatIcon" format="reference" />
<attr name="asMainMenu" format="reference" />
<attr name="asAbBackgroundColor" format="color"/>
<declare-styleable name="ContactsAutoComplete">
<attr name="allowMultiple" format="boolean"/>

@ -28,6 +28,7 @@
<color name="blue_theme_color">#33b5e5</color>
<color name="red_theme_color">#d90000</color>
<color name="dark_blue_theme_color">#1f78b4</color>
<color name="tablet_list_bg">#292929</color>
<color name="tablet_list_selected">#101010</color>
<color name="reminder_background">#262626</color>

@ -21,7 +21,6 @@
<item name="asSeparatorBackground">#888888</item>
<item name="asAddButtonImg">@drawable/plus_button_blue</item>
<item name="asMicButtonImg">@drawable/mic_button_blue</item>
<item name="asCameraButtonImg">@drawable/camera_button_blue</item>
<item name="asCommentButtonImg">@drawable/comment_blue</item>
<item name="asEditBackground">#101010</item>
<item name="asEditRowBackground">@drawable/task_edit_background</item>
@ -29,6 +28,7 @@
<item name="asMainMenu">@drawable/menu_button_blue</item>
<item name="asThemeTextColor">@color/blue_theme_color</item>
<item name="asListsDisclosure">@drawable/lists_disclosure_blue</item>
<item name="asAbBackgroundColor">#000000</item>
<item name="asTaskEditArrow">@drawable/taskedit_arrow_up_white</item>
<item name="asRepeatIcon">@drawable/icn_edit_repeats_blue</item>
@ -65,7 +65,6 @@
<item name="asMembersHeaderBackground">@drawable/ios_fabric_480</item>
<item name="asAddButtonImg">@drawable/plus_button_red</item>
<item name="asMicButtonImg">@drawable/mic_button_red</item>
<item name="asCameraButtonImg">@drawable/camera_button_red</item>
<item name="asCommentButtonImg">@drawable/comment_red</item>
<item name="asEditRowBackground">@drawable/task_edit_background_white</item>
<item name="asEditTabBackground">@drawable/custom_tab_indicator</item>
@ -74,6 +73,7 @@
<item name="asListsDisclosure">@drawable/lists_disclosure_red</item>
<item name="asTaskEditArrow">@drawable/taskedit_arrow_up_white</item>
<item name="asRepeatIcon">@drawable/icn_edit_repeats_red</item>
<item name="asAbBackgroundColor">#ffffff</item>
<!-- actionbar-styling -->
<item name="abBackground">@drawable/header_red</item>
@ -82,14 +82,15 @@
</style>
<style name="Theme.White.Blue">
<item name="asAddButtonImg">@drawable/plus_button_blue</item>
<item name="asMicButtonImg">@drawable/mic_button_blue</item>
<item name="asCameraButtonImg">@drawable/camera_button_blue</item>
<item name="asCommentButtonImg">@drawable/comment_blue</item>
<item name="asMainMenu">@drawable/menu_button_blue</item>
<item name="asThemeTextColor">@color/blue_theme_color</item>
<item name="asListsDisclosure">@drawable/lists_disclosure_blue</item>
<item name="asRepeatIcon">@drawable/icn_edit_repeats_blue</item>
<item name="asAddButtonImg">@drawable/plus_button_dark_blue</item>
<item name="asMicButtonImg">@drawable/mic_button_dark_blue</item>
<item name="asCommentButtonImg">@drawable/comment_dark_blue</item>
<item name="asMainMenu">@drawable/menu_button_dark_blue</item>
<item name="asThemeTextColor">@color/dark_blue_theme_color</item>
<item name="asListsDisclosure">@drawable/lists_disclosure_dark_blue</item>
<item name="asRepeatIcon">@drawable/icn_edit_repeats_dark_blue</item>
<item name="asAbBackgroundColor">#e9e9e9</item>
<item name="asEditTabBackground">@drawable/custom_tab_indicator_dark_blue</item>
<item name="abBackground">@drawable/header_day_blue</item>
</style>
@ -191,7 +192,7 @@
</style>
<style name="TextAppearance.ActionBar_ListsHeader.Selected">
<item name="android:textColor">?attr/asTextColorInverse</item>
<item name="android:textColor">?attr/asAbBackgroundColor</item>
</style>
<!--================================================== Custom Dialogs == -->

Loading…
Cancel
Save