re-introduce BLUE - GREEN scheme with better visibility (LIGHT_BLUE)
This commit is contained in:
parent
f472640b0c
commit
a00896c1bc
2 changed files with 40 additions and 40 deletions
|
@ -1,37 +1,37 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/RelativeLayout1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/back_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_gravity="top"
|
||||
android:background="@drawable/tab_back_button"
|
||||
android:text="" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/title_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="27dp"
|
||||
android:src="@drawable/tab_favorites_screen_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_text"
|
||||
style="@style/WhiteTitleText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="29dp"
|
||||
android:layout_toRightOf="@+id/back_button"
|
||||
android:text="@string/favourites_activity" />
|
||||
|
||||
</RelativeLayout>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/RelativeLayout1"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/back_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_gravity="top"
|
||||
android:background="@drawable/tab_back_button"
|
||||
android:text="" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/title_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="27dp"
|
||||
android:src="@drawable/tab_favorites_screen_icon" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/title_text"
|
||||
style="@style/WhiteTitleText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="29dp"
|
||||
android:layout_toRightOf="@+id/back_button"
|
||||
android:text="@string/favourites_activity" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
|
|
@ -1002,11 +1002,11 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity {
|
|||
if(e.getDate().equals(indexActivatedFileNames.get(sfName))){
|
||||
item.setTextColor(Color.GREEN);
|
||||
} 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)) {
|
||||
item.setTextColor(getResources().getColor(R.color.color_orange));
|
||||
item.setTextColor(Color.rgb(128,128,255)); //This is standard LIGHT_BLUE
|
||||
} else {
|
||||
item.setTextColor(Color.rgb(0,0,139));
|
||||
item.setTextColor(Color.rgb(0,0,139)); //This is standard DARK_BLUE
|
||||
}
|
||||
} else {
|
||||
item.setTextColor(Color.GREEN);
|
||||
|
|
Loading…
Reference in a new issue