mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 06:10:28 +01:00
Fix color picker layout problems for some screen sizes
This commit is contained in:
parent
d0d6049554
commit
303d535bcc
|
@ -24,6 +24,7 @@
|
||||||
android:id="@+id/color_picker_view"
|
android:id="@+id/color_picker_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1.0"
|
||||||
android:tag="landscape" />
|
android:tag="landscape" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
@ -56,6 +57,7 @@
|
||||||
|
|
||||||
<net.margaritov.preference.colorpicker.ColorPickerPanelView
|
<net.margaritov.preference.colorpicker.ColorPickerPanelView
|
||||||
android:id="@+id/old_color_panel"
|
android:id="@+id/old_color_panel"
|
||||||
|
android:layout_weight="1.0"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="40dp" />
|
android:layout_height="40dp" />
|
||||||
|
|
||||||
|
@ -70,6 +72,7 @@
|
||||||
|
|
||||||
<net.margaritov.preference.colorpicker.ColorPickerPanelView
|
<net.margaritov.preference.colorpicker.ColorPickerPanelView
|
||||||
android:id="@+id/new_color_panel"
|
android:id="@+id/new_color_panel"
|
||||||
|
android:layout_weight="1.0"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="40dp" />
|
android:layout_height="40dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
android:id="@+id/color_picker_view"
|
android:id="@+id/color_picker_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1.0"
|
||||||
android:tag="portrait" />
|
android:tag="portrait" />
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
|
@ -49,7 +50,6 @@
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="40dp"
|
android:layout_height="40dp"
|
||||||
android:layout_below="@id/color_picker_view"
|
|
||||||
android:layout_marginBottom="10dp"
|
android:layout_marginBottom="10dp"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
<net.margaritov.preference.colorpicker.ColorPickerPanelView
|
<net.margaritov.preference.colorpicker.ColorPickerPanelView
|
||||||
android:id="@+id/new_color_panel"
|
android:id="@+id/new_color_panel"
|
||||||
android:layout_width="0px"
|
android:layout_width="0px"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="fill_parent"
|
||||||
android:layout_weight="0.5" />
|
android:layout_weight="0.5" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user