Added inner padding to the notifications buttons to reduce their drawable size. They looked to bulky before.
This commit is contained in:
parent
d2fda4a839
commit
d1156aa47b
5 changed files with 26 additions and 2 deletions
|
|
@ -26,8 +26,8 @@ android {
|
||||||
applicationId "com.kabouzeid.gramophone"
|
applicationId "com.kabouzeid.gramophone"
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 22
|
targetSdkVersion 22
|
||||||
versionCode 39
|
versionCode 40
|
||||||
versionName "0.9.23b dev-1"
|
versionName "0.9.24b dev-1"
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/notification_selector"
|
android:background="@drawable/notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_skip_previous_white_36dp"
|
android:src="@drawable/ic_skip_previous_white_36dp"
|
||||||
android:tint="@color/default_notification_content_color"
|
android:tint="@color/default_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
@ -114,6 +116,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/notification_selector"
|
android:background="@drawable/notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_play_arrow_white_36dp"
|
android:src="@drawable/ic_play_arrow_white_36dp"
|
||||||
android:tint="@color/default_notification_content_color"
|
android:tint="@color/default_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
@ -128,6 +132,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/notification_selector"
|
android:background="@drawable/notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_skip_next_white_36dp"
|
android:src="@drawable/ic_skip_next_white_36dp"
|
||||||
android:tint="@color/default_notification_content_color"
|
android:tint="@color/default_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/notification_selector"
|
android:background="@drawable/notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_skip_previous_white_36dp"
|
android:src="@drawable/ic_skip_previous_white_36dp"
|
||||||
android:tint="@color/default_notification_content_color"
|
android:tint="@color/default_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
@ -131,6 +133,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/notification_selector"
|
android:background="@drawable/notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_play_arrow_white_36dp"
|
android:src="@drawable/ic_play_arrow_white_36dp"
|
||||||
android:tint="@color/default_notification_content_color"
|
android:tint="@color/default_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
@ -145,6 +149,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/notification_selector"
|
android:background="@drawable/notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_skip_next_white_36dp"
|
android:src="@drawable/ic_skip_next_white_36dp"
|
||||||
android:tint="@color/default_notification_content_color"
|
android:tint="@color/default_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
|
||||||
|
|
@ -117,6 +117,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/colored_notification_selector"
|
android:background="@drawable/colored_notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_skip_previous_white_36dp"
|
android:src="@drawable/ic_skip_previous_white_36dp"
|
||||||
android:tint="@color/default_colored_notification_content_color"
|
android:tint="@color/default_colored_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
@ -131,6 +133,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/colored_notification_selector"
|
android:background="@drawable/colored_notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_play_arrow_white_36dp"
|
android:src="@drawable/ic_play_arrow_white_36dp"
|
||||||
android:tint="@color/default_colored_notification_content_color"
|
android:tint="@color/default_colored_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
@ -145,6 +149,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/colored_notification_selector"
|
android:background="@drawable/colored_notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_skip_next_white_36dp"
|
android:src="@drawable/ic_skip_next_white_36dp"
|
||||||
android:tint="@color/default_colored_notification_content_color"
|
android:tint="@color/default_colored_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/colored_notification_selector"
|
android:background="@drawable/colored_notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_skip_previous_white_36dp"
|
android:src="@drawable/ic_skip_previous_white_36dp"
|
||||||
android:tint="@color/default_colored_notification_content_color"
|
android:tint="@color/default_colored_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
@ -114,6 +116,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/colored_notification_selector"
|
android:background="@drawable/colored_notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_play_arrow_white_36dp"
|
android:src="@drawable/ic_play_arrow_white_36dp"
|
||||||
android:tint="@color/default_colored_notification_content_color"
|
android:tint="@color/default_colored_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
@ -128,6 +132,8 @@
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:background="@drawable/colored_notification_selector"
|
android:background="@drawable/colored_notification_selector"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:padding="8dp"
|
||||||
|
android:scaleType="fitCenter"
|
||||||
android:src="@drawable/ic_skip_next_white_36dp"
|
android:src="@drawable/ic_skip_next_white_36dp"
|
||||||
android:tint="@color/default_colored_notification_content_color"
|
android:tint="@color/default_colored_notification_content_color"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue