[anr] Darker colors theme.

This commit is contained in:
d-kunin 2013-08-08 23:27:50 +03:00
parent 35e78899e0
commit bee371fb6a
8 changed files with 22 additions and 18 deletions

View file

@ -62,6 +62,11 @@
android:text="@string/loading"
android:textAppearance="?android:attr/textAppearanceSmall" />
</LinearLayout>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="@color/yellow" />
</FrameLayout>
</LinearLayout>

View file

@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/dark_grey"
android:orientation="vertical" >
<RelativeLayout
@ -106,7 +107,7 @@
android:paddingTop="4dip"
android:singleLine="true"
android:text="@string/searching"
android:textAppearance="?android:attr/textAppearanceSmall" />
android:textAppearance="?android:attr/textAppearanceSmallInverse" />
</LinearLayout>
<FrameLayout
@ -126,7 +127,7 @@
android:layout_height="match_parent"
android:gravity="center"
android:text="@string/nothing_found"
android:textAppearance="?android:attr/textAppearanceLarge" />
android:textAppearance="?android:attr/textAppearanceLargeInverse" />
</FrameLayout>
</FrameLayout>

View file

@ -1,14 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/thumb_size"
android:layout_height="@dimen/listitem_size"
android:background="@color/list_back"
android:baselineAligned="false"
android:gravity="center_vertical"
android:orientation="horizontal" >
<FrameLayout
android:layout_width="@dimen/thumb_size"
android:layout_height="@dimen/thumb_size"
android:layout_width="@dimen/listitem_size"
android:layout_height="@dimen/listitem_size"
android:layout_weight="0" >
<ImageView
@ -18,12 +19,6 @@
android:layout_gravity="center"
android:scaleType="centerCrop"
android:src="@drawable/ic_launcher" />
<View
android:layout_width="match_parent"
android:layout_height="@dimen/thumb_sep"
android:layout_gravity="bottom"
android:background="@color/thumb_sep" />
</FrameLayout>
<LinearLayout
@ -35,7 +30,7 @@
<TextView
android:id="@+id/title"
style="@android:style/TextAppearance.Medium"
style="@android:style/TextAppearance.Medium.Inverse"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/pad_mid"
@ -43,7 +38,7 @@
<TextView
android:id="@+id/parent"
style="@android:style/TextAppearance.Small"
style="@android:style/TextAppearance.Small.Inverse"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/pad_mid" />

View file

@ -3,7 +3,8 @@
<dimen name="searchPanelWidth">400dp</dimen>
<dimen name="thumb_size">90dp</dimen>
<dimen name="listitem_size">94dp</dimen>
<dimen name="thumb_size">84dp</dimen>
<dimen name="search_bar">70dp</dimen>
<dimen name="search_text">50dp</dimen>
<dimen name="pad_mid">12dp</dimen>

View file

@ -3,8 +3,8 @@
<dimen name="searchPanelWidth">400dp</dimen>
<dimen name="thumb_size">90dp</dimen>
<dimen name="search_bar">70dp</dimen>
<dimen name="listitem_size">94dp</dimen>
<dimen name="thumb_size">84dp</dimen>
<dimen name="search_text">50dp</dimen>
<dimen name="pad_mid">12dp</dimen>
<dimen name="pad_small">6dp</dimen>

View file

@ -5,5 +5,7 @@
<color name="grey">#666666</color>
<color name="thumb_sep">#FDF12B</color>
<color name="yellow">#FDF12B</color>
<color name="list_back">#282828</color>
<color name="active_listitem">#1C1C1C</color>
</resources>

View file

@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="thumb_size">67dp</dimen>
<dimen name="listitem_size">70dp</dimen>
<dimen name="thumb_size">63dp</dimen>
<dimen name="search_bar">50dp</dimen>
<dimen name="search_text">34dp</dimen>
<dimen name="pad_mid">8dp</dimen>

View file

@ -70,7 +70,6 @@ public class ArticleInfoListActivity extends FragmentActivity implements Article
if (mTwoPane)
{
mArtInfoDetailFragment.setArticleInfo(info);
toogleListVisible();
}
else
{