Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
improving icons padding and size. #108
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosh committed Mar 9, 2017
1 parent 14f9d6d commit 197e866
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
android:layout_gravity="center|end"
android:contentDescription="@string/star"
android:background="?selectableItemBackgroundBorderless"
android:padding="@dimen/spacing_xs_large"
android:scaleType="centerCrop"
android:padding="@dimen/spacing_normal"

android:src="@drawable/ic_star"/>

<com.fastaccess.ui.widgets.ForegroundImageView
Expand All @@ -48,8 +48,8 @@
android:layout_gravity="center|end"
android:contentDescription="@string/fork"
android:background="?selectableItemBackgroundBorderless"
android:padding="@dimen/spacing_xs_large"
android:scaleType="centerCrop"
android:padding="@dimen/spacing_normal"

android:src="@drawable/ic_fork"/>
</android.support.v7.widget.Toolbar>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,22 @@
<com.fastaccess.ui.widgets.ForegroundImageView
android:id="@+id/startGist"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|end"
android:contentDescription="@string/star"
android:background="?selectableItemBackgroundBorderless"
android:padding="@dimen/spacing_xs_large"
android:contentDescription="@string/star"
android:padding="@dimen/spacing_normal"
android:scaleType="centerCrop"
android:src="@drawable/ic_star"/>

<com.fastaccess.ui.widgets.ForegroundImageView
android:id="@+id/forkGist"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center|end"
android:contentDescription="@string/fork"
android:background="?selectableItemBackgroundBorderless"
android:padding="@dimen/spacing_xs_large"
android:contentDescription="@string/fork"
android:padding="@dimen/spacing_normal"
android:scaleType="centerCrop"
android:src="@drawable/ic_fork"/>
</android.support.v7.widget.Toolbar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,11 @@
<com.fastaccess.ui.widgets.ForegroundImageView
android:id="@+id/clear"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:contentDescription="@string/clear"
android:background="?selectableItemBackgroundBorderless"
android:paddingBottom="@dimen/spacing_xs_large"
android:paddingEnd="@dimen/spacing_xs_large"
android:paddingStart="@dimen/spacing_xs_large"
android:paddingTop="@dimen/spacing_xs_large"
android:padding="@dimen/spacing_normal"
android:scaleType="centerCrop"
android:src="@drawable/ic_clear"
android:visibility="invisible"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
<com.fastaccess.ui.widgets.ForegroundImageView
android:id="@+id/searchIcon"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="?selectableItemBackgroundBorderless"
android:padding="@dimen/spacing_normal"
android:scaleType="centerCrop"
android:padding="@dimen/spacing_xs_large"
android:src="@drawable/ic_search"/>

<com.fastaccess.ui.widgets.FontEditText
Expand All @@ -58,10 +58,9 @@
android:layout_height="match_parent"
android:layout_gravity="center"
android:background="?selectableItemBackgroundBorderless"
android:scaleType="centerCrop"
android:src="@drawable/ic_clear"
tools:visibility="visible"
android:padding="@dimen/spacing_xs_large"
android:padding="@dimen/spacing_normal"
android:visibility="invisible"/>

</LinearLayout>
Expand Down

0 comments on commit 197e866

Please sign in to comment.