Moved text sizes into dimens file

This commit is contained in:
daniel oeh 2013-01-19 23:38:41 +01:00
parent c75640d274
commit daea0d4e30
11 changed files with 21 additions and 16 deletions

View File

@ -13,7 +13,7 @@
android:layout_alignParentTop="true"
android:layout_marginTop="8dp"
android:gravity="center_horizontal"
android:textSize="18dp"
android:textSize="@dimen/text_size_medium"
android:textStyle="bold" />
<TextView

View File

@ -55,7 +55,7 @@
android:layout_marginTop="4dp"
android:layout_toRightOf="@id/imgvCover"
android:maxLines="1"
android:textSize="12dp" />
android:textSize="@dimen/text_size_micro" />
<TextView
android:id="@+id/txtvStatus"
@ -71,7 +71,7 @@
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/gray"
android:textSize="12dp" />
android:textSize="@dimen/text_size_micro" />
</RelativeLayout>
<ImageButton

View File

@ -25,7 +25,7 @@
android:layout_centerVertical="true"
android:layout_margin="4dp"
android:layout_toRightOf="@id/imgvCover"
android:textSize="20dp"
android:textSize="@dimen/text_size_large"
android:textStyle="bold" />
<View

View File

@ -23,7 +23,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:layout_toLeftOf="@+id/butAction"
android:textSize="16dp" />
android:textSize="@dimen/text_size_medium" />
<TextView
android:id="@+id/txtvFeedname"

View File

@ -14,7 +14,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:textSize="18dp" />
android:textSize="@dimen/text_size_medium" />
<TextView
android:id="@+id/txtvPublished"

View File

@ -37,7 +37,7 @@
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginRight="4dip"
android:textSize="20dp"
android:textSize="@dimen/text_size_medium"
android:textStyle="bold" />
<View
@ -58,7 +58,7 @@
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginRight="4dip"
android:textSize="20dp"
android:textSize="@dimen/text_size_medium"
android:textStyle="bold" />
<View

View File

@ -34,7 +34,7 @@
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginRight="4dip"
android:textSize="20dp"
android:textSize="@dimen/text_size_large"
android:textStyle="bold" />
<View
@ -55,7 +55,7 @@
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_marginRight="4dip"
android:textSize="20dp"
android:textSize="@dimen/text_size_large"
android:textStyle="bold" />
<View
@ -81,7 +81,7 @@
android:layout_marginBottom="8dp"
android:layout_marginRight="8dp"
android:maxLines="2"
android:textSize="18dp"
android:textSize="@dimen/text_size_medium"
android:textStyle="bold" />
<TextView

View File

@ -24,7 +24,7 @@
android:layout_alignParentTop="true"
android:layout_margin="8dp"
android:gravity="center"
android:textSize="20dp"
android:textSize="@dimen/text_size_medium"
android:textStyle="bold" />
<View
@ -41,7 +41,7 @@
android:layout_below="@id/title_divider"
android:layout_margin="8dp"
android:maxLines="8"
android:textSize="16dp" />
android:textSize="@dimen/text_size_small" />
<View
android:id="@+id/description_divider"

View File

@ -11,7 +11,7 @@
android:layout_margin="8dp"
android:gravity="center_vertical"
android:maxLines="2"
android:textSize="16dp" />
android:textSize="@dimen/text_size_medium" />
<TextView
android:id="@+id/txtvDate"

View File

@ -36,7 +36,7 @@
android:maxLines="1"
android:text="@string/no_media_playing_label"
android:textColor="@color/white"
android:textSize="18dp"
android:textSize="@dimen/text_size_medium"
android:textStyle="bold" />
<TextView

View File

@ -1,8 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="widget_margin">8dp</dimen>
<dimen name="thumbnail_length">55dp</dimen>
<dimen name="external_player_height">55dp</dimen>
<dimen name="enc_icons_size">20dp</dimen>
<dimen name="text_size_micro">12sp</dimen>
<dimen name="text_size_small">14sp</dimen>
<dimen name="text_size_medium">18sp</dimen>
<dimen name="text_size_large">22sp</dimen>
</resources>