Set text color to white for api level < 13

This commit is contained in:
Jimmy Shih
2013-07-03 16:59:17 -07:00
parent 0f86dcbcb1
commit 4b4fd603f1
2 changed files with 9 additions and 30 deletions
+9 -12
View File
@@ -206,14 +206,17 @@ limitations under the License.
<item name="android:layout_weight">1</item>
<item name="android:layout_width">0dp</item>
</style>
<style name="Text">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:textColor">@android:color/white</item>
</style>
<!-- text choose activity -->
<style name="TextChooseActivity">
<item name="android:textSize">18sp</item>
</style>
<!-- text large -->
<style name="TextLarge">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<style name="TextLarge" parent="@style/Text">
<item name="android:textSize">22sp</item>
</style>
<!-- text large with top margin -->
@@ -221,9 +224,7 @@ limitations under the License.
<item name="android:layout_marginTop">8dp</item>
</style>
<!-- text medium -->
<style name="TextMedium">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<style name="TextMedium" parent="@style/Text">
<item name="android:textSize">18sp</item>
</style>
<!-- text medium with icon -->
@@ -232,15 +233,11 @@ limitations under the License.
<item name="android:gravity">center_vertical</item>
</style>
<!-- text micro -->
<style name="TextMicro">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<style name="TextMicro" parent="@style/Text">
<item name="android:textSize">12sp</item>
</style>
<!-- text small -->
<style name="TextSmall">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<style name="TextSmall" parent="@style/Text">
<item name="android:textSize">14sp</item>
</style>
<!-- track widget bounding box -->