Fixed bugs with showing/not showing comments in edit page, new images for baby blue theme

pull/14/head
Sam Bosley 13 years ago
parent 1712b89e1c
commit 189c10aa31

@ -0,0 +1,27 @@
<?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_unselected_alt" />
<item android:state_focused="false" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/custom_tab_indicator_selected_alt" />
<!-- Focused states -->
<item android:state_focused="true" android:state_selected="false" android:state_pressed="false" android:drawable="@drawable/custom_tab_indicator_unselected_focused_alt" />
<item android:state_focused="true" android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/custom_tab_indicator_selected_focused_alt" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

@ -144,6 +144,7 @@
<item name="asFilledCommentButtonImg">@drawable/comment_blue_filled_alt</item>
<item name="asMainMenu">@drawable/menu_button_blue_alt</item>
<item name="asListsDisclosure">@drawable/lists_disclosure_blue_alt</item>
<item name="asEditTabBackground">@drawable/custom_tab_indicator_alt</item>
<item name="asThemeTextColor">@color/blue_theme_color</item>
<item name="abLogo">@drawable/home_button_blue_alt</item>
<item name="abBackground">@drawable/header_blue_alt</item>

@ -1208,7 +1208,7 @@ ViewPager.OnPageChangeListener, EditNoteActivity.UpdatesChangedListener {
item = menu.add(Menu.NONE, MENU_COMMENTS_REFRESH_ID, Menu.NONE,
R.string.ENA_refresh_comments);
item.setIcon(R.drawable.icn_menu_refresh_dark);
} else {
} else if (wouldShowComments && !showEditComments) {
item = menu.add(Menu.NONE, MENU_SHOW_COMMENTS_ID, Menu.NONE, R.string.TEA_menu_comments);
item.setIcon(commentIcon);
item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);

Loading…
Cancel
Save