mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-17 07:30:16 -05:00
Fix SpUsage lint warnings
This commit is contained in:
parent
3da2ef7fbe
commit
7e040ea84c
@ -243,7 +243,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/quoted_text_show"
|
android:id="@+id/quoted_text_show"
|
||||||
android:text="@string/message_compose_show_quoted_text_action"
|
android:text="@string/message_compose_show_quoted_text_action"
|
||||||
android:textSize="16dip"
|
android:textSize="16sp"
|
||||||
android:padding="0dip"
|
android:padding="0dip"
|
||||||
android:layout_gravity="right"
|
android:layout_gravity="right"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
style="@style/UnreadWidgetContainer"
|
style="@style/UnreadWidgetContainer"
|
||||||
android:id="@+id/unread_widget_layout"
|
android:id="@+id/unread_widget_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -31,7 +32,8 @@
|
|||||||
android:paddingLeft="5dp"
|
android:paddingLeft="5dp"
|
||||||
android:paddingRight="5dp"
|
android:paddingRight="5dp"
|
||||||
android:background="@drawable/unread_count_background"
|
android:background="@drawable/unread_count_background"
|
||||||
android:textColor="#ffffff"/>
|
android:textColor="#ffffff"
|
||||||
|
tools:ignore="SpUsage"/>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<style name="UnreadWidgetContainer">
|
<style name="UnreadWidgetContainer">
|
||||||
<item name="android:paddingTop">2dp</item>
|
<item name="android:paddingTop">2dp</item>
|
||||||
@ -11,7 +11,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="UnreadWidgetTextView">
|
<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:background">@drawable/rounded_corners</item>
|
||||||
<item name="android:textColor">#ffffff</item>
|
<item name="android:textColor">#ffffff</item>
|
||||||
<item name="android:shadowColor">#000000</item>
|
<item name="android:shadowColor">#000000</item>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
|
||||||
<style name="Theme.K9Dialog" parent="@android:Theme.Light">
|
<style name="Theme.K9Dialog" parent="@android:Theme.Light">
|
||||||
<item name="android:windowFrame">@null</item>
|
<item name="android:windowFrame">@null</item>
|
||||||
@ -32,7 +32,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="UnreadWidgetTextView">
|
<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:background">@drawable/rounded_corners</item>
|
||||||
<item name="android:textColor">#ffffff</item>
|
<item name="android:textColor">#ffffff</item>
|
||||||
<item name="android:shadowColor">#000000</item>
|
<item name="android:shadowColor">#000000</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user