1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-13 21:15:08 -05:00

Backported fix for issue 2010 (text of sign/encrypt checkbox is not visible in dark theme) and small layout change (see r2112 + r2113).

This commit is contained in:
cketti 2010-08-05 12:16:48 +00:00
parent 3545b9ce2e
commit 938ad58a6c

View File

@ -82,13 +82,14 @@
<LinearLayout <LinearLayout
android:orientation="horizontal" android:orientation="horizontal"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_width="0dip" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1"> android:layout_weight="1">
<CheckBox <CheckBox
android:text="@string/btn_crypto_sign" android:text="@string/btn_crypto_sign"
android:id="@+id/cb_crypto_signature" android:id="@+id/cb_crypto_signature"
android:textColor="@android:color/primary_text_light"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
@ -105,6 +106,7 @@
android:text="" android:text=""
android:ellipsize="end" android:ellipsize="end"
android:textAppearance="?android:attr/textAppearanceSmall" android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@android:color/primary_text_light"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
@ -113,6 +115,7 @@
android:text="" android:text=""
android:textSize="10sp" android:textSize="10sp"
android:ellipsize="end" android:ellipsize="end"
android:textColor="@android:color/primary_text_light"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
@ -123,8 +126,9 @@
<CheckBox <CheckBox
android:text="@string/btn_encrypt" android:text="@string/btn_encrypt"
android:id="@+id/cb_encrypt" android:id="@+id/cb_encrypt"
android:textColor="@android:color/primary_text_light"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_width="0dip" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1"/> android:layout_weight="1"/>