Skip to content

Commit

Permalink
Renamed action button style to make more sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbutcher committed Nov 24, 2015
1 parent 13352a6 commit 2e4674a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/src/main/res/layout/designer_news_story_description.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
android:layout_weight="2"
android:drawableTop="@drawable/ic_upvote"
tools:text="33 likes"
style="@style/Widget.Plaid.DribbleShotAction" />
style="@style/Widget.Plaid.InlineActionButton" />

<Space
android:layout_width="0dp"
Expand All @@ -73,7 +73,7 @@
android:layout_weight="2"
android:drawableTop="@drawable/ic_action_share_24dp"
android:text="@string/share"
style="@style/Widget.Plaid.DribbleShotAction" />
style="@style/Widget.Plaid.InlineActionButton" />

<Space
android:layout_width="0dp"
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/dribbble_shot_description.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
android:layout_weight="1"
android:drawableTop="@drawable/ic_heart_full_24dp_grey"
tools:text="33 likes"
style="@style/Widget.Plaid.DribbleShotAction" />
style="@style/Widget.Plaid.InlineActionButton" />

<Button
android:id="@+id/shot_view_count"
Expand All @@ -62,7 +62,7 @@
android:drawableTop="@drawable/ic_views_24dp"
android:background="@null"
tools:text="33 views"
style="@style/Widget.Plaid.DribbleShotAction" />
style="@style/Widget.Plaid.InlineActionButton" />

<Button
android:id="@+id/shot_share_action"
Expand All @@ -72,7 +72,7 @@
android:layout_marginBottom="@dimen/spacing_normal"
android:drawableTop="@drawable/ic_action_share_24dp"
android:text="@string/share"
style="@style/Widget.Plaid.DribbleShotAction" />
style="@style/Widget.Plaid.InlineActionButton" />

</LinearLayout>

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@
<item name="android:submitBackground">@android:color/transparent</item>
</style>

<style name="Widget.Plaid.DribbleShotAction" parent="@android:style/Widget.Material.Button">
<style name="Widget.Plaid.InlineActionButton" parent="@android:style/Widget.Material.Button">
<item name="android:gravity">center_horizontal</item>
<item name="android:textAppearance">@style/TextAppearance.CommentAuthor</item>
<item name="android:drawablePadding">@dimen/spacing_micro</item>
Expand Down

0 comments on commit 2e4674a

Please sign in to comment.