fix seekbar style so thumb's fully visible on 2.1 (was ok on 1.6); and

rename style for clarity.
This commit is contained in:
Andy2 2010-06-16 18:44:19 -07:00
parent 660d86c121
commit 529f3df726
2 changed files with 6 additions and 5 deletions

View file

@ -31,7 +31,7 @@
android:layout_height="wrap_content"
>
<SeekBar android:id="@+id/seek_red"
style="@style/color_seek_text"
style="@style/color_seek_bar"
/>
<EditText android:id="@+id/edit_red"
style="@style/color_edit_text"
@ -48,7 +48,7 @@
android:layout_height="wrap_content"
>
<SeekBar android:id="@+id/seek_green"
style="@style/color_seek_text"
style="@style/color_seek_bar"
/>
<EditText android:id="@+id/edit_green"
style="@style/color_edit_text"
@ -65,7 +65,7 @@
android:layout_height="wrap_content"
>
<SeekBar android:id="@+id/seek_blue"
style="@style/color_seek_text"
style="@style/color_seek_bar"
/>
<EditText android:id="@+id/edit_blue"

View file

@ -17,13 +17,14 @@
<item name="android:textColor">#FFFFFFFF</item>
</style>
<style name="color_seek_text">
<style name="color_seek_bar">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_gravity">left|center_vertical</item>
<item name="android:max">255</item>
<item name="android:layout_weight">1</item>
<item name="android:paddingRight">4dp</item>
<item name="android:paddingRight">8dp</item>
<item name="android:paddingLeft">8dp</item>
</style>
<style name="color_edit_text">