summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2017-06-04 15:35:03 +0200
committerByteHamster <info@bytehamster.com>2017-10-14 19:21:02 +0200
commit616fb5eda92596164b87813b695a7a574a9fd643 (patch)
tree9f23e54a7890409c602838e3f81eead7c5034748
parent721c3e4d2c3838f9a88c30d8002415254cfe87ee (diff)
downloadAntennaPod-616fb5eda92596164b87813b695a7a574a9fd643.zip
Changed spacing to look more like before
-rw-r--r--app/src/main/res/layout/downloaded_episodeslist_item.xml4
-rw-r--r--app/src/main/res/layout/feeditemlist_item.xml5
-rw-r--r--app/src/main/res/layout/new_episodes_listitem.xml2
-rw-r--r--app/src/main/res/layout/queue_listitem.xml3
-rw-r--r--app/src/main/res/layout/searchlist_item.xml1
-rw-r--r--core/src/main/res/values/dimens.xml4
6 files changed, 7 insertions, 12 deletions
diff --git a/app/src/main/res/layout/downloaded_episodeslist_item.xml b/app/src/main/res/layout/downloaded_episodeslist_item.xml
index 8ca85a93f..770b88c7e 100644
--- a/app/src/main/res/layout/downloaded_episodeslist_item.xml
+++ b/app/src/main/res/layout/downloaded_episodeslist_item.xml
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
-
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
@@ -27,9 +26,9 @@
android:layout_marginLeft="@dimen/listitem_threeline_textleftpadding"
android:layout_marginRight="@dimen/listitem_threeline_textrightpadding"
android:layout_marginTop="@dimen/listitem_threeline_verticalpadding"
+ android:layout_marginBottom="@dimen/listitem_threeline_verticalpadding"
android:layout_weight="1"
android:orientation="vertical"
- android:layout_marginBottom="@dimen/listitem_threeline_verticalpadding"
tools:background="@android:color/holo_red_dark">
<TextView
@@ -44,7 +43,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/listitem_threeline_verticalpadding"
tools:background="@android:color/holo_red_dark" >
<TextView
diff --git a/app/src/main/res/layout/feeditemlist_item.xml b/app/src/main/res/layout/feeditemlist_item.xml
index 57d1e4d75..5a2f091ec 100644
--- a/app/src/main/res/layout/feeditemlist_item.xml
+++ b/app/src/main/res/layout/feeditemlist_item.xml
@@ -37,7 +37,7 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
- android:layout_marginBottom="8dp"
+ android:layout_marginBottom="4dp"
android:layout_toLeftOf="@id/statusUnread"
tools:text="Episode title"
tools:background="@android:color/holo_green_dark" />
@@ -101,8 +101,7 @@
tools:background="@android:color/holo_blue_light"
android:max="100"
android:progress="42"
- android:indeterminate="false"
- />
+ android:indeterminate="false" />
</RelativeLayout>
diff --git a/app/src/main/res/layout/new_episodes_listitem.xml b/app/src/main/res/layout/new_episodes_listitem.xml
index 357d05c38..b069d90ba 100644
--- a/app/src/main/res/layout/new_episodes_listitem.xml
+++ b/app/src/main/res/layout/new_episodes_listitem.xml
@@ -123,7 +123,7 @@
android:id="@+id/pbar_progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="4dp"
android:layout_below="@id/txtvDuration"
android:layout_marginTop="-2dp"
android:max="100" />
diff --git a/app/src/main/res/layout/queue_listitem.xml b/app/src/main/res/layout/queue_listitem.xml
index 0642861c5..d519e044e 100644
--- a/app/src/main/res/layout/queue_listitem.xml
+++ b/app/src/main/res/layout/queue_listitem.xml
@@ -124,9 +124,8 @@
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="4dp"
android:layout_below="@id/txtvProgressLeft"
- android:layout_marginTop="-2dp"
android:max="100"
tools:background="@android:color/holo_blue_light" />
diff --git a/app/src/main/res/layout/searchlist_item.xml b/app/src/main/res/layout/searchlist_item.xml
index cc235a92a..83ba39cd5 100644
--- a/app/src/main/res/layout/searchlist_item.xml
+++ b/app/src/main/res/layout/searchlist_item.xml
@@ -13,7 +13,6 @@
android:layout_height="@dimen/thumbnail_length_itemlist"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
- android:layout_marginBottom="@dimen/listitem_threeline_verticalpadding"
android:layout_marginLeft="@dimen/listitem_threeline_horizontalpadding"
android:contentDescription="@string/cover_label"
android:scaleType="centerCrop"
diff --git a/core/src/main/res/values/dimens.xml b/core/src/main/res/values/dimens.xml
index 15d7a6e2b..a9a3aa8d9 100644
--- a/core/src/main/res/values/dimens.xml
+++ b/core/src/main/res/values/dimens.xml
@@ -20,10 +20,10 @@
<dimen name="listview_secondary_button_width">48dp</dimen>
<dimen name="drawer_width">280dp</dimen>
<dimen name="listitem_iconwithtext_height">48dp</dimen>
- <dimen name="listitem_iconwithtext_textleftpadding">14dp</dimen>
+ <dimen name="listitem_iconwithtext_textleftpadding">16dp</dimen>
<dimen name="listitem_iconwithtext_textverticalpadding">16dp</dimen>
- <dimen name="listitem_threeline_textleftpadding">14dp</dimen>
+ <dimen name="listitem_threeline_textleftpadding">16dp</dimen>
<dimen name="listitem_threeline_textrightpadding">8dp</dimen>
<dimen name="listitem_threeline_verticalpadding">16dp</dimen>
<dimen name="listitem_threeline_horizontalpadding">16dp</dimen>