summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-02-02 23:36:00 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-02-02 23:36:00 +0100
commitf104b1bb19cc377db0d6e5069183324eef8aa154 (patch)
tree7e538cedee63995a2438fde783f3b2aab07a2906 /res
parent2d2e8ef627594a21c4a3da188f6624044a143f23 (diff)
downloadAntennaPod-f104b1bb19cc377db0d6e5069183324eef8aa154.zip
Minor layout improvements
Diffstat (limited to 'res')
-rw-r--r--res/drawable/overlay_drawable.xml19
-rw-r--r--res/layout/cover_fragment.xml48
-rw-r--r--res/layout/mediaplayer_activity.xml3
3 files changed, 10 insertions, 60 deletions
diff --git a/res/drawable/overlay_drawable.xml b/res/drawable/overlay_drawable.xml
index c16656114..185ffefc1 100644
--- a/res/drawable/overlay_drawable.xml
+++ b/res/drawable/overlay_drawable.xml
@@ -3,30 +3,15 @@
<item>
<shape android:shape="rectangle" >
- <solid android:color="#20EAEAEA" />
+ <solid android:color="#F0BABABA" />
</shape>
</item>
<item android:top="1dp">
<shape android:shape="rectangle" >
- <solid android:color="#20E5E5E5" />
- </shape>
- </item>
- <item android:top="2dp">
- <shape android:shape="rectangle" >
- <solid android:color="#20DDDDDD" />
- </shape>
- </item>
- <item android:top="3dp">
- <shape android:shape="rectangle" >
- <solid android:color="#10BABABA" />
- </shape>
- </item>
- <item android:top="4dp">
- <shape android:shape="rectangle" >
<solid android:color="#D2D2D2" />
</shape>
</item>
- <item android:top="5dp">
+ <item android:top="2dp">
<shape android:shape="rectangle" >
<solid android:color="@color/overlay_light" />
</shape>
diff --git a/res/layout/cover_fragment.xml b/res/layout/cover_fragment.xml
index 42e3560bb..f897d318c 100644
--- a/res/layout/cover_fragment.xml
+++ b/res/layout/cover_fragment.xml
@@ -5,49 +5,13 @@
android:layout_height="match_parent"
android:orientation="vertical" >
- <TextView
- android:id="@+id/txtvTitle"
+ <ImageView
+ android:id="@+id/imgvCover"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
+ android:layout_height="match_parent"
+ android:layout_gravity="center"
android:layout_marginTop="8dp"
- android:gravity="center_horizontal"
- android:textSize="@dimen/text_size_medium"
- android:textStyle="bold" />
-
- <TextView
- android:id="@+id/txtvFeed"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_below="@+id/txtvTitle"
- android:gravity="center_horizontal" />
-
- <LinearLayout
- android:id="@+id/cover_layout"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_below="@id/txtvFeed"
- android:gravity="center"
- android:orientation="vertical" >
-
- <ImageView
- android:id="@+id/imgvCover"
- android:layout_marginLeft="50dp"
- android:layout_marginRight="50dp"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="4dp"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_gravity="center"
- android:layout_weight="1"
- android:adjustViewBounds="true"
- android:scaleType="centerInside" />
-
- </LinearLayout>
+ android:adjustViewBounds="true"
+ android:scaleType="centerInside" />
</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/mediaplayer_activity.xml b/res/layout/mediaplayer_activity.xml
index 221b5dff7..4ed699e85 100644
--- a/res/layout/mediaplayer_activity.xml
+++ b/res/layout/mediaplayer_activity.xml
@@ -61,6 +61,7 @@
</RelativeLayout>
<View
+ android:id="@+id/navBarDivider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_below="@id/navBar"
@@ -151,7 +152,7 @@
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_above="@id/playtime_layout"
- android:layout_below="@id/navBar" >
+ android:layout_below="@id/navBarDivider" >
</FrameLayout>
</RelativeLayout> \ No newline at end of file