doesn't force color to handle correctly devices with dark button background.
authorNikita Kozlov <nikita@elyzion.net>
Mon, 23 Jan 2012 17:34:56 +0100
changeset 952 0867bf998775
parent 951 c6c6b65b687d
child 953 59d7b3e9580f
doesn't force color to handle correctly devices with dark button background.
res/layout/addcontact.xml
res/layout/changestatus.xml
res/layout/create_account.xml
res/values/styles.xml
--- a/res/layout/addcontact.xml	Mon Jan 23 11:57:09 2012 +0100
+++ b/res/layout/addcontact.xml	Mon Jan 23 17:34:56 2012 +0100
@@ -32,8 +32,7 @@
 		<View android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:layout_weight="1" android:layout_marginBottom="18dp" />
 		<Button android:id="@+id/addc_ok" android:layout_width="fill_parent"
-			android:layout_height="wrap_content" android:textStyle="bold"
-			android:text="@string/AddCOkButton" android:layout_gravity="bottom"
-			android:textSize="18sp" android:textColor="#333333" />
+			android:layout_height="wrap_content"
+			android:text="@string/AddCOkButton" android:layout_gravity="bottom" />
 	</LinearLayout>
 </ScrollView>
--- a/res/layout/changestatus.xml	Mon Jan 23 11:57:09 2012 +0100
+++ b/res/layout/changestatus.xml	Mon Jan 23 17:34:56 2012 +0100
@@ -46,18 +46,14 @@
 			<Button android:id="@+id/ChangeStatusOk"
 				android:layout_width="fill_parent" android:layout_height="wrap_content"
 				android:layout_weight="1"
-				android:text="@string/UpdateButton" android:textStyle="bold"
-				android:textSize="18sp" android:textColor="#333333" />
+				android:text="@string/UpdateButton" />
 			<Button android:id="@+id/ChangeStatusClear"
 				android:layout_width="fill_parent" android:layout_height="wrap_content"
 				android:layout_weight="1"
-				android:text="@string/ClearButton"
-				android:textStyle="bold" android:textColor="#333333"
-				android:textSize="18sp" />
+				android:text="@string/ClearButton" />
 		</LinearLayout>
 		<Button android:id="@+id/OpenContactList" android:layout_width="fill_parent"
 			android:layout_height="wrap_content" android:text="@string/OpenContactList"
-			android:layout_below="@+id/ChangeStatusButtons" android:textStyle="bold" android:textColor="#333333"
-			android:textSize="18sp" />
+			android:layout_below="@+id/ChangeStatusButtons" />
 	</RelativeLayout>
 </ScrollView>
--- a/res/layout/create_account.xml	Mon Jan 23 11:57:09 2012 +0100
+++ b/res/layout/create_account.xml	Mon Jan 23 17:34:56 2012 +0100
@@ -34,13 +34,11 @@
 			android:layout_weight="1" android:layout_marginBottom="18dp" />
 		<Button android:id="@+id/create_account_button"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
-			android:text="@string/button_create_account" android:textStyle="bold"
-			android:textColor="#333333" android:textSize="18sp"
+			android:text="@string/button_create_account"
 			android:layout_gravity="bottom" />
 		<Button android:id="@+id/create_account_login_button"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
-			android:text="@string/button_create_login_account" android:textStyle="bold"
-			android:textColor="#333333" android:textSize="18sp"
+			android:text="@string/button_create_login_account"
 			android:layout_gravity="bottom" />
 	</LinearLayout>
 </ScrollView>
--- a/res/values/styles.xml	Mon Jan 23 11:57:09 2012 +0100
+++ b/res/values/styles.xml	Mon Jan 23 17:34:56 2012 +0100
@@ -5,7 +5,7 @@
 		<item name="android:textStyle">bold</item>
 		<item name="android:typeface">sans</item>
 		<item name="android:capitalize">characters</item>
-		<item name="android:textColor">#FFFFFF</item>
+		<!--<item name="android:textColor">#FFFFFF</item>-->
 		<item name="android:focusable">false</item>
 		<item name="android:padding">4px</item>
 	</style>