use a defined dimension for the widget colorpicker size

This commit is contained in:
tibbi 2017-11-13 23:13:20 +01:00
parent a145263ffa
commit 2011ba4115
3 changed files with 10 additions and 9 deletions

View File

@ -47,7 +47,7 @@ ext {
} }
dependencies { dependencies {
compile 'com.simplemobiletools:commons:2.39.3' compile 'com.simplemobiletools:commons:2.39.4'
compile 'joda-time:joda-time:2.9.9' compile 'joda-time:joda-time:2.9.9'
compile 'com.facebook.stetho:stetho:1.5.0' compile 'com.facebook.stetho:stetho:1.5.0'
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'

View File

@ -22,8 +22,8 @@
<Button <Button
android:id="@+id/config_bg_color" android:id="@+id/config_bg_color"
android:layout_width="50dp" android:layout_width="@dimen/widget_colorpicker_size"
android:layout_height="50dp" android:layout_height="@dimen/widget_colorpicker_size"
android:layout_above="@+id/config_text_color"/> android:layout_above="@+id/config_text_color"/>
<RelativeLayout <RelativeLayout
@ -46,8 +46,8 @@
<Button <Button
android:id="@+id/config_text_color" android:id="@+id/config_text_color"
android:layout_width="50dp" android:layout_width="@dimen/widget_colorpicker_size"
android:layout_height="50dp" android:layout_height="@dimen/widget_colorpicker_size"
android:layout_alignParentBottom="true"/> android:layout_alignParentBottom="true"/>
<Button <Button
@ -62,4 +62,5 @@
android:text="@android:string/ok" android:text="@android:string/ok"
android:textColor="@android:color/white" android:textColor="@android:color/white"
android:textSize="@dimen/big_text_size"/> android:textSize="@dimen/big_text_size"/>
</RelativeLayout> </RelativeLayout>

View File

@ -17,8 +17,8 @@
<Button <Button
android:id="@+id/config_bg_color" android:id="@+id/config_bg_color"
android:layout_width="50dp" android:layout_width="@dimen/widget_colorpicker_size"
android:layout_height="50dp" android:layout_height="@dimen/widget_colorpicker_size"
android:layout_above="@+id/config_text_color"/> android:layout_above="@+id/config_text_color"/>
<RelativeLayout <RelativeLayout
@ -41,8 +41,8 @@
<Button <Button
android:id="@+id/config_text_color" android:id="@+id/config_text_color"
android:layout_width="50dp" android:layout_width="@dimen/widget_colorpicker_size"
android:layout_height="50dp" android:layout_height="@dimen/widget_colorpicker_size"
android:layout_alignParentBottom="true"/> android:layout_alignParentBottom="true"/>
<Button <Button