1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 09:52:16 -05:00

Fix SpUsage lint warnings

This commit is contained in:
cketti 2014-04-07 20:09:22 +02:00
parent 3da2ef7fbe
commit 7e040ea84c
4 changed files with 8 additions and 6 deletions

View File

@ -243,7 +243,7 @@
<Button
android:id="@+id/quoted_text_show"
android:text="@string/message_compose_show_quoted_text_action"
android:textSize="16dip"
android:textSize="16sp"
android:padding="0dip"
android:layout_gravity="right"
android:layout_height="wrap_content"

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/UnreadWidgetContainer"
android:id="@+id/unread_widget_layout"
android:layout_width="match_parent"
@ -31,7 +32,8 @@
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:background="@drawable/unread_count_background"
android:textColor="#ffffff"/>
android:textColor="#ffffff"
tools:ignore="SpUsage"/>
</FrameLayout>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="UnreadWidgetContainer">
<item name="android:paddingTop">2dp</item>
@ -11,7 +11,7 @@
</style>
<style name="UnreadWidgetTextView">
<item name="android:textSize">13dp</item>
<item name="android:textSize" tools:ignore="SpUsage">13dp</item>
<item name="android:background">@drawable/rounded_corners</item>
<item name="android:textColor">#ffffff</item>
<item name="android:shadowColor">#000000</item>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="Theme.K9Dialog" parent="@android:Theme.Light">
<item name="android:windowFrame">@null</item>
@ -32,7 +32,7 @@
</style>
<style name="UnreadWidgetTextView">
<item name="android:textSize">13dp</item>
<item name="android:textSize" tools:ignore="SpUsage">13dp</item>
<item name="android:background">@drawable/rounded_corners</item>
<item name="android:textColor">#ffffff</item>
<item name="android:shadowColor">#000000</item>