diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-22 16:05:59 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-22 16:05:59 +0200 |
commit | 0634ae4d781e9f91005032fb7905a3f4564932f1 (patch) | |
tree | 0e9aa0b7498ae0c8533e57a28cd89bf67f2b0a05 | |
parent | 55f33875a4ac30bcfebbc703ed101f37f4f76cfe (diff) | |
download | AntennaPod-0634ae4d781e9f91005032fb7905a3f4564932f1.zip |
Improved divider images
-rw-r--r-- | res/drawable-hdpi/vertical_divider.png | bin | 243 -> 0 bytes | |||
-rw-r--r-- | res/drawable/horizontal_divider.9.png | bin | 0 -> 159 bytes | |||
-rw-r--r-- | res/drawable/vertical_divider.9.png | bin | 0 -> 191 bytes | |||
-rw-r--r-- | res/layout/feeditemlist_item.xml | 3 | ||||
-rw-r--r-- | res/layout/mediaplayer_activity.xml | 32 |
5 files changed, 26 insertions, 9 deletions
diff --git a/res/drawable-hdpi/vertical_divider.png b/res/drawable-hdpi/vertical_divider.png Binary files differdeleted file mode 100644 index 13119a132..000000000 --- a/res/drawable-hdpi/vertical_divider.png +++ /dev/null diff --git a/res/drawable/horizontal_divider.9.png b/res/drawable/horizontal_divider.9.png Binary files differnew file mode 100644 index 000000000..7db0549da --- /dev/null +++ b/res/drawable/horizontal_divider.9.png diff --git a/res/drawable/vertical_divider.9.png b/res/drawable/vertical_divider.9.png Binary files differnew file mode 100644 index 000000000..6a0edafb3 --- /dev/null +++ b/res/drawable/vertical_divider.9.png diff --git a/res/layout/feeditemlist_item.xml b/res/layout/feeditemlist_item.xml index 0e40e762f..d5a8f0d51 100644 --- a/res/layout/feeditemlist_item.xml +++ b/res/layout/feeditemlist_item.xml @@ -29,9 +29,8 @@ android:layout_height="match_parent" android:layout_width="wrap_content" android:src="@drawable/vertical_divider" - android:layout_alignParentRight="true" android:layout_centerVertical="true" - android:layout_marginRight="28dp" + android:layout_toLeftOf="@id/butAction" android:focusable="false"/> </RelativeLayout> diff --git a/res/layout/mediaplayer_activity.xml b/res/layout/mediaplayer_activity.xml index 28fadda1e..0f4b7bbb9 100644 --- a/res/layout/mediaplayer_activity.xml +++ b/res/layout/mediaplayer_activity.xml @@ -2,7 +2,7 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_margin="5dp" + android:orientation="vertical" > <ImageView @@ -14,7 +14,7 @@ <RelativeLayout android:id="@+id/playtime_layout" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" > <TextView @@ -38,9 +38,7 @@ android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" - android:text="TextView" android:visibility="invisible" /> - </RelativeLayout> <SeekBar @@ -48,34 +46,54 @@ android:layout_width="match_parent" android:layout_height="wrap_content" /> + <ImageView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:scaleType="fitXY" + android:padding="5dp" + android:src="@drawable/horizontal_divider" /> + <LinearLayout android:id="@+id/player_control" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_weight="0.02" > + android:layout_weight="0.015" > <ImageButton android:id="@+id/butRev" android:layout_width="wrap_content" android:layout_height="match_parent" + android:layout_weight="0.02" android:background="@drawable/borderless_button" android:src="@android:drawable/ic_media_rew" /> + <ImageView + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:scaleType="fitXY" + android:src="@drawable/vertical_divider" /> + <ImageButton android:id="@+id/butPlay" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_weight="8" + android:layout_weight="0.14" android:background="@drawable/borderless_button" android:src="@android:drawable/ic_media_pause" /> + <ImageView + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:scaleType="fitXY" + android:src="@drawable/vertical_divider" /> + <ImageButton android:id="@+id/butFF" android:layout_width="wrap_content" android:layout_height="match_parent" + android:layout_weight="0.02" android:background="@drawable/borderless_button" android:src="@android:drawable/ic_media_ff" /> - </LinearLayout> </LinearLayout>
\ No newline at end of file |