forked from upstream-mirrors/quik
Fix issue with vertical centering using the Lato font (Thanks Moez)
Fix three cases of tabs being used instead of spaces.
This commit is contained in:
committed by
Moez Bhatti
parent
64f253a91a
commit
ddbe287938
@@ -222,7 +222,7 @@ public class TypefaceManager {
|
|||||||
public final static int ROBOTO_CONDENSED_LIGHT = 12;
|
public final static int ROBOTO_CONDENSED_LIGHT = 12;
|
||||||
public final static int ROBOTO_CONDENSED_REGULAR = 14;
|
public final static int ROBOTO_CONDENSED_REGULAR = 14;
|
||||||
public final static int ROBOTO_CONDENSED_BOLD = 16;
|
public final static int ROBOTO_CONDENSED_BOLD = 16;
|
||||||
public final static int LATO_THIN = 22;
|
public final static int LATO_THIN = 22;
|
||||||
public final static int LATO_LIGHT = 24;
|
public final static int LATO_LIGHT = 24;
|
||||||
public final static int LATO_REGULAR = 26;
|
public final static int LATO_REGULAR = 26;
|
||||||
public final static int LATO_MEDIUM = 28;
|
public final static int LATO_MEDIUM = 28;
|
||||||
@@ -231,7 +231,7 @@ public class TypefaceManager {
|
|||||||
public class FontFamily {
|
public class FontFamily {
|
||||||
public static final int ROBOTO = 0;
|
public static final int ROBOTO = 0;
|
||||||
public static final int ROBOTO_CONDENSED = 1;
|
public static final int ROBOTO_CONDENSED = 1;
|
||||||
public static final int LATO = 2;
|
public static final int LATO = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TextWeight {
|
public class TextWeight {
|
||||||
|
|||||||
@@ -57,6 +57,7 @@
|
|||||||
android:id="@+id/text_view"
|
android:id="@+id/text_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
android:autoLink="all"
|
android:autoLink="all"
|
||||||
android:background="@drawable/message_received_2"
|
android:background="@drawable/message_received_2"
|
||||||
android:linksClickable="true"
|
android:linksClickable="true"
|
||||||
|
|||||||
@@ -57,6 +57,7 @@
|
|||||||
android:id="@+id/text_view"
|
android:id="@+id/text_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
android:autoLink="all"
|
android:autoLink="all"
|
||||||
android:background="@drawable/message_sent_2"
|
android:background="@drawable/message_sent_2"
|
||||||
android:linksClickable="true"
|
android:linksClickable="true"
|
||||||
|
|||||||
Reference in New Issue
Block a user