lint use "sp" rather than "dp" for text size
This commit is contained in:
parent
66dcfd7b73
commit
ae47f3ae93
3 changed files with 6 additions and 6 deletions
|
@ -28,7 +28,7 @@
|
|||
android:text="CATEGORY HERE"
|
||||
android:textColor="@color/grey_500"
|
||||
android:textIsSelectable="false"
|
||||
android:textSize="18dp"
|
||||
android:textSize="18sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<TextView
|
||||
|
@ -40,7 +40,7 @@
|
|||
android:text="PASSWORD FILE NAME HERE"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium"
|
||||
android:textColor="@color/accent"
|
||||
android:textSize="24dp"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
tools:ignore="HardcodedText" />
|
||||
</LinearLayout>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
android:text="CATEGORY HERE"
|
||||
android:textColor="@color/grey_500"
|
||||
android:textIsSelectable="false"
|
||||
android:textSize="18dp"
|
||||
android:textSize="18sp"
|
||||
tools:ignore="HardcodedText" />
|
||||
|
||||
<EditText
|
||||
|
@ -42,7 +42,7 @@
|
|||
android:hint="@string/crypto_name_hint"
|
||||
android:textAppearance="@android:style/TextAppearance.DeviceDefault.Medium"
|
||||
android:textColor="@color/accent"
|
||||
android:textSize="24dp"
|
||||
android:textSize="24sp"
|
||||
tools:ignore="TextFields" />
|
||||
|
||||
<TextView
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:ellipsize="start"
|
||||
android:text="TYPE"
|
||||
android:textSize="14dp"
|
||||
android:textSize="14sp"
|
||||
android:textColor="@color/grey_500"
|
||||
android:layout_alignTop="@+id/type_image"
|
||||
android:layout_toRightOf="@+id/type_image"
|
||||
|
@ -49,7 +49,7 @@
|
|||
android:layout_gravity="center_vertical"
|
||||
android:text="FILE_NAME"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="18dp"
|
||||
android:textSize="18sp"
|
||||
android:layout_below="@+id/type"
|
||||
android:layout_alignLeft="@+id/type"
|
||||
android:layout_alignStart="@+id/type"
|
||||
|
|
Loading…
Reference in a new issue