re-introduce BLUE - GREEN scheme with better visibility (LIGHT_BLUE)

This commit is contained in:
sonora 2012-02-16 10:50:26 +01:00
parent f472640b0c
commit a00896c1bc
2 changed files with 40 additions and 40 deletions

View file

@ -1,37 +1,37 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/RelativeLayout1" android:id="@+id/RelativeLayout1"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:orientation="horizontal" > android:orientation="horizontal" >
<Button <Button
android:id="@+id/back_button" android:id="@+id/back_button"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:layout_alignParentTop="true"
android:layout_gravity="top" android:layout_gravity="top"
android:background="@drawable/tab_back_button" android:background="@drawable/tab_back_button"
android:text="" /> android:text="" />
<ImageView <ImageView
android:id="@+id/title_image" android:id="@+id/title_image"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginRight="27dp" android:layout_marginRight="27dp"
android:src="@drawable/tab_favorites_screen_icon" /> android:src="@drawable/tab_favorites_screen_icon" />
<TextView <TextView
android:id="@+id/title_text" android:id="@+id/title_text"
style="@style/WhiteTitleText" style="@style/WhiteTitleText"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:layout_marginLeft="29dp" android:layout_marginLeft="29dp"
android:layout_toRightOf="@+id/back_button" android:layout_toRightOf="@+id/back_button"
android:text="@string/favourites_activity" /> android:text="@string/favourites_activity" />
</RelativeLayout> </RelativeLayout>

View file

@ -1002,11 +1002,11 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity {
if(e.getDate().equals(indexActivatedFileNames.get(sfName))){ if(e.getDate().equals(indexActivatedFileNames.get(sfName))){
item.setTextColor(Color.GREEN); item.setTextColor(Color.GREEN);
} else if (e.getDate().equals(indexFileNames.get(sfName))) { } else if (e.getDate().equals(indexFileNames.get(sfName))) {
item.setTextColor(Color.rgb(0,100,0)); item.setTextColor(Color.rgb(0,100,0)); //This is standard DARK_GREEN
} else if (indexActivatedFileNames.containsKey(sfName)) { } else if (indexActivatedFileNames.containsKey(sfName)) {
item.setTextColor(getResources().getColor(R.color.color_orange)); item.setTextColor(Color.rgb(128,128,255)); //This is standard LIGHT_BLUE
} else { } else {
item.setTextColor(Color.rgb(0,0,139)); item.setTextColor(Color.rgb(0,0,139)); //This is standard DARK_BLUE
} }
} else { } else {
item.setTextColor(Color.GREEN); item.setTextColor(Color.GREEN);