ui: clean out self-rolled dimens
Lots of cruft has built up with my dimensions, partially collapse them into a more consistent set of re-usable dimens (within reason) and try to delegate to MDC as much as possible.
This commit is contained in:
@@ -39,8 +39,8 @@
|
||||
<android.widget.ImageButton
|
||||
android:id="@+id/widget_repeat"
|
||||
style="@style/Widget.Auxio.MaterialButton.AppWidget"
|
||||
android:layout_width="@dimen/size_btn"
|
||||
android:layout_height="@dimen/size_btn"
|
||||
android:layout_width="@dimen/size_touchable_small"
|
||||
android:layout_height="@dimen/size_touchable_small"
|
||||
android:contentDescription="@string/desc_change_repeat"
|
||||
android:src="@drawable/ic_repeat_off_24" />
|
||||
|
||||
@@ -60,8 +60,8 @@
|
||||
<android.widget.ImageButton
|
||||
android:id="@+id/widget_skip_prev"
|
||||
style="@style/Widget.Auxio.MaterialButton.AppWidget"
|
||||
android:layout_width="@dimen/size_btn"
|
||||
android:layout_height="@dimen/size_btn"
|
||||
android:layout_width="@dimen/size_touchable_small"
|
||||
android:layout_height="@dimen/size_touchable_small"
|
||||
android:contentDescription="@string/desc_skip_prev"
|
||||
android:src="@drawable/ic_skip_prev_24" />
|
||||
</FrameLayout>
|
||||
@@ -75,8 +75,8 @@
|
||||
<android.widget.ImageButton
|
||||
android:id="@+id/widget_play_pause"
|
||||
style="@style/Widget.Auxio.MaterialButton.AppWidget.PlayPause"
|
||||
android:layout_width="@dimen/size_btn"
|
||||
android:layout_height="@dimen/size_btn"
|
||||
android:layout_width="@dimen/size_touchable_small"
|
||||
android:layout_height="@dimen/size_touchable_small"
|
||||
android:contentDescription="@string/desc_play_pause"
|
||||
android:src="@drawable/ic_play_24" />
|
||||
|
||||
@@ -93,8 +93,8 @@
|
||||
<android.widget.ImageButton
|
||||
android:id="@+id/widget_skip_next"
|
||||
style="@style/Widget.Auxio.MaterialButton.AppWidget"
|
||||
android:layout_width="@dimen/size_btn"
|
||||
android:layout_height="@dimen/size_btn"
|
||||
android:layout_width="@dimen/size_touchable_small"
|
||||
android:layout_height="@dimen/size_touchable_small"
|
||||
android:contentDescription="@string/desc_skip_next"
|
||||
android:src="@drawable/ic_skip_next_24" />
|
||||
|
||||
@@ -114,8 +114,8 @@
|
||||
<android.widget.ImageButton
|
||||
android:id="@+id/widget_shuffle"
|
||||
style="@style/Widget.Auxio.MaterialButton.AppWidget"
|
||||
android:layout_width="@dimen/size_btn"
|
||||
android:layout_height="@dimen/size_btn"
|
||||
android:layout_width="@dimen/size_touchable_small"
|
||||
android:layout_height="@dimen/size_touchable_small"
|
||||
android:contentDescription="@string/desc_shuffle"
|
||||
android:src="@drawable/ic_shuffle_off_24" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user