Tweak horizontal margins

This commit is contained in:
Synced Synapse 2015-03-30 23:21:52 +01:00
parent 37a6b3376b
commit ff6cf2d4a5
10 changed files with 16 additions and 13 deletions

View File

@ -70,7 +70,7 @@
android:layout_height="@dimen/albumdetail_poster_heigth"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="@dimen/small_padding"
android:layout_marginLeft="@dimen/default_padding"
android:layout_alignBottom="@id/media_undertitle"
android:contentDescription="@string/poster"
android:scaleType="centerCrop"/>

View File

@ -70,7 +70,7 @@
android:layout_height="@dimen/albumdetail_poster_heigth"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="@dimen/small_padding"
android:layout_marginLeft="@dimen/default_padding"
android:layout_alignBottom="@id/media_undertitle"
android:contentDescription="@string/poster"
android:scaleType="centerCrop"/>

View File

@ -76,7 +76,7 @@
android:layout_height="@dimen/now_playing_poster_height"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="@dimen/small_padding"
android:layout_marginLeft="@dimen/default_padding"
android:layout_alignBottom="@id/media_undertitle"
android:contentDescription="@string/poster"
android:scaleType="centerCrop"/>

View File

@ -75,7 +75,7 @@
android:layout_height="@dimen/musicvideodetail_poster_heigth"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="@dimen/small_padding"
android:layout_marginLeft="@dimen/default_padding"
android:layout_alignBottom="@id/media_undertitle"
android:contentDescription="@string/poster"
android:scaleType="centerCrop"/>

View File

@ -69,7 +69,7 @@
android:layout_height="@dimen/now_playing_poster_height"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="@dimen/small_padding"
android:layout_marginLeft="@dimen/default_padding"
android:layout_alignBottom="@id/media_undertitle"
android:contentDescription="@string/poster"
android:scaleType="centerCrop"/>

View File

@ -29,10 +29,13 @@
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="@dimen/remote_content_hmargin"
android:layout_marginRight="@dimen/remote_content_hmargin"
android:paddingLeft="@dimen/small_padding"
android:paddingRight="@dimen/small_padding"
android:paddingTop="@dimen/remote_page_indicator_height"
android:clipToPadding="false"
android:choiceMode="singleChoice"
android:listSelector="?attr/selectableItemBackground"
android:drawSelectorOnTop="true"
style="@style/Widget.GridView"/>
<!--android:paddingBottom="@dimen/bottom_bar_height"-->

View File

@ -73,7 +73,7 @@
android:layout_height="@dimen/now_playing_poster_height"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginLeft="@dimen/small_padding"
android:layout_marginLeft="@dimen/default_padding"
android:layout_alignBottom="@id/media_undertitle"
android:contentDescription="@string/poster"
android:scaleType="centerCrop"/>

View File

@ -28,7 +28,7 @@
<dimen name="now_playing_art_height">324dp</dimen>
<dimen name="media_title_margin_top">324dp</dimen>
<dimen name="poster_width_plus_padding">172dp</dimen>
<dimen name="poster_width_plus_padding">180dp</dimen>
<dimen name="default_grid_column_width">250dp</dimen>

View File

@ -52,7 +52,7 @@
<dimen name="view_pager_indicator_height">12dp</dimen>
<dimen name="remote_page_indicator_height">24dp</dimen>
<dimen name="remote_content_hmargin">16dp</dimen>
<dimen name="remote_content_hmargin">8dp</dimen>
<!-- Per the design guidelines, navigation drawers should be between 240dp and 320dp:
https://developer.android.com/design/patterns/navigation-drawer.html -->
@ -69,7 +69,7 @@
<dimen name="now_playing_art_height">216dp</dimen>
<dimen name="media_title_margin_top">216dp</dimen>
<dimen name="poster_width_plus_padding">136dp</dimen>
<dimen name="poster_width_plus_padding">144dp</dimen>
<dimen name="default_grid_column_width">250dp</dimen>
<!-- Smaller spacing because cardview compat adds padding -->

View File

@ -123,8 +123,8 @@
</style>
<style name="TextAppearance.Media.Remote">
<item name="android:paddingLeft">@dimen/remote_content_hmargin</item>
<item name="android:paddingRight">@dimen/remote_content_hmargin</item>
<item name="android:paddingLeft">@dimen/default_padding</item>
<item name="android:paddingRight">@dimen/small_padding</item>
<item name="android:ellipsize">end</item>
</style>