status card tweaking

This commit is contained in:
Mariotaku Lee 2016-03-27 13:42:16 +08:00
parent a36d021e96
commit e6c432ec26
9 changed files with 30 additions and 13 deletions

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 412 B

View File

@ -443,7 +443,8 @@
android:layout_marginLeft="@dimen/element_spacing_normal"
android:layout_marginRight="@dimen/element_spacing_normal"
android:focusable="false"
android:src="@drawable/ic_action_more_vertical"/>
android:src="@drawable/ic_action_more_horizontal"
tools:tint="?android:textColorSecondary"/>
</org.mariotaku.twidere.view.ColorLabelRelativeLayout>
</merge>

View File

@ -58,8 +58,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginLeft="@dimen/element_spacing_small"
android:layout_marginStart="@dimen/element_spacing_mlarge"
android:layout_marginLeft="@dimen/element_spacing_normal"
android:layout_marginStart="@dimen/element_spacing_normal"
android:layout_toEndOf="@+id/status_info_icon"
android:layout_toRightOf="@+id/status_info_icon"
android:ellipsize="end"
@ -84,8 +84,8 @@
android:layout_alignWithParentIfMissing="true"
android:layout_below="@+id/status_info_label"
android:layout_marginBottom="@dimen/element_spacing_normal"
android:layout_marginEnd="@dimen/element_spacing_small"
android:layout_marginRight="@dimen/element_spacing_small"
android:layout_marginEnd="@dimen/element_spacing_normal"
android:layout_marginRight="@dimen/element_spacing_normal"
android:contentDescription="@string/profile_image"
android:scaleType="centerCrop"
tools:src="@mipmap/ic_launcher"
@ -153,7 +153,8 @@
android:layout_height="@dimen/element_size_small"
android:layout_weight="0"
android:color="?android:textColorSecondary"
tools:src="@drawable/ic_action_gallery"/>
tools:src="@drawable/ic_action_gallery"
tools:tint="?android:textColorSecondary"/>
</LinearLayout>
@ -176,8 +177,10 @@
android:id="@+id/media_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignEnd="@+id/text"
android:layout_alignLeft="@+id/text"
android:layout_alignRight="@+id/text"
android:layout_alignStart="@+id/text"
android:layout_below="@+id/text"
android:layout_marginTop="@dimen/element_spacing_xsmall"
android:horizontalSpacing="@dimen/element_spacing_xsmall"
@ -306,8 +309,8 @@
android:id="@+id/reply_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/element_spacing_minus_small"
android:layout_marginStart="@dimen/element_spacing_minus_small"
android:layout_marginLeft="@dimen/element_spacing_minus_xsmall"
android:layout_marginStart="@dimen/element_spacing_minus_xsmall"
android:ellipsize="end"
android:focusable="false"
android:gravity="center"
@ -343,8 +346,8 @@
android:id="@+id/retweet_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/element_spacing_minus_small"
android:layout_marginStart="@dimen/element_spacing_minus_small"
android:layout_marginLeft="@dimen/element_spacing_minus_xsmall"
android:layout_marginStart="@dimen/element_spacing_minus_xsmall"
android:ellipsize="end"
android:focusable="false"
android:gravity="center"
@ -372,7 +375,6 @@
android:focusable="false"
android:gravity="center"
android:scaleType="centerInside"
android:src="@drawable/ic_action_heart"
app:iabActivatedColor="@color/highlight_like"
app:iabColor="?android:textColorTertiary"
@ -382,8 +384,8 @@
android:id="@+id/favorite_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/element_spacing_minus_small"
android:layout_marginStart="@dimen/element_spacing_minus_small"
android:layout_marginLeft="@dimen/element_spacing_minus_xsmall"
android:layout_marginStart="@dimen/element_spacing_minus_xsmall"
android:ellipsize="end"
android:focusable="false"
android:gravity="center"
@ -406,6 +408,7 @@
android:layout_alignTop="@+id/action_buttons"
android:focusable="false"
android:src="@drawable/ic_action_more_horizontal"
tools:tint="?android:textColorSecondary"
tools:visibility="visible"/>
</RelativeLayout>

View File

@ -17,6 +17,7 @@
<dimen name="element_spacing_mlarge">12dp</dimen>
<dimen name="element_spacing_large">16dp</dimen>
<dimen name="element_spacing_xlarge">24dp</dimen>
<dimen name="element_spacing_minus_xsmall">-2dp</dimen>
<dimen name="element_spacing_minus_small">-4dp</dimen>
<dimen name="element_spacing_minus_msmall">-6dp</dimen>
<dimen name="element_spacing_minus_normal">-8dp</dimen>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 3.6.1 (26313) - http://www.bohemiancoding.com/sketch -->
<title>ic_action_send-mdpi</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Action-Icons" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="ic_action_send-mdpi" fill="#FFFFFF">
<path d="M6.01,25 L27,16 L6.01,7 L6,14 L21,16 L6,18 L6.01,25 Z" id="Shape"></path>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 643 B