Use sp (scale-independent pixels) as recommended unit when specifying font sizes

This commit is contained in:
Dr. Tobias Quathamer
2017-04-22 23:12:51 +02:00
parent 5373602a60
commit 7bec0dc4b9
4 changed files with 6 additions and 6 deletions
@@ -19,7 +19,7 @@
android:layout_height="match_parent"
android:textColor="#808080"
android:gravity="center"
android:textSize="20dp"
android:textSize="20sp"
android:id="@+id/searchEmptyView"
android:visibility="gone"
android:layout_gravity="top"/>
@@ -9,7 +9,7 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="26dp"
android:textSize="16dp"
android:textSize="16sp"
android:gravity="center"
android:textColor="#ff000000"
android:id="@+id/bubble_text_view"/>
@@ -6,7 +6,7 @@
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:id="@+id/header_text"
android:textSize="26dp"
android:textSize="26sp"
android:gravity="center"
android:layout_gravity="top|start"
android:layout_marginLeft="18dp"
@@ -19,7 +19,7 @@
<TextView android:layout_height="wrap_content"
android:layout_width="match_parent"
android:id="@+id/message_text"
android:textSize="15dp"
android:textSize="15sp"
android:gravity="center"
android:layout_gravity="top|start"
android:layout_marginLeft="16dp"
@@ -41,7 +41,7 @@
android:layout_weight="1"
android:gravity="bottom"
android:textColor="#ffffffff"
android:textSize="16dp"
android:textSize="16sp"
android:ellipsize="end"
android:maxLines="1" />
@@ -52,7 +52,7 @@
android:layout_weight="1"
android:gravity="top"
android:textColor="#ffc7c7c7"
android:textSize="13dp"
android:textSize="13sp"
android:ellipsize="end"
android:maxLines="1" />