AA-2 | Sandhya | Add styles for headlines and paragraph
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<data>
|
||||
|
||||
</data>
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
@@ -16,7 +14,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="32dp"
|
||||
android:text="@string/country_code"
|
||||
android:textSize="18sp"
|
||||
style="@style/paragraphCustomFontStyle"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/phone_edit"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/phone_edit" />
|
||||
@@ -47,7 +45,7 @@
|
||||
android:layout_marginEnd="32dp"
|
||||
android:layout_marginBottom="40dp"
|
||||
android:text="@string/phone_number_label"
|
||||
android:textSize="24sp"
|
||||
style="@style/headline2CustomFontStyle"
|
||||
app:layout_constraintBottom_toTopOf="@+id/phone_edit"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/country_code_text" />
|
||||
@@ -57,8 +55,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="56dp"
|
||||
android:text="@string/create_new_account"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
style="@style/headline1CustomFontStyle"
|
||||
app:layout_constraintBottom_toTopOf="@+id/phone_label_text"
|
||||
app:layout_constraintStart_toStartOf="@+id/phone_label_text" />
|
||||
|
||||
@@ -68,6 +65,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="80dp"
|
||||
android:layout_marginEnd="32dp"
|
||||
style="@style/agreementCustomFontStyle"
|
||||
android:text="@string/terms_and_conditions"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toEndOf="@+id/country_code_text"
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
<color name="colorAccent">#D81B60</color>
|
||||
<color name="colorRed">#FF3333</color>
|
||||
<color name="colorWhite">#FFFFFF</color>
|
||||
<color name="colorGray">#B3000000</color>
|
||||
</resources>
|
||||
|
||||
@@ -12,7 +12,26 @@
|
||||
<style name="TextAppearance.AppCompat.Button.Custom">
|
||||
<item name="android:textColor">@color/colorWhite</item>
|
||||
<item name="android:textAllCaps">false</item>
|
||||
<item name="android:typeface"></item>
|
||||
<item name="android:fontFamily">@font/muli_semi_bold</item>
|
||||
</style>
|
||||
|
||||
<style name="headline1CustomFontStyle" parent="@android:style/TextAppearance">
|
||||
<item name="android:fontFamily">@font/muli_semi_bold</item>
|
||||
<item name="android:textSize">30sp</item>
|
||||
<item name="android:textColor">@color/colorGray</item>
|
||||
</style>
|
||||
|
||||
<style name="headline2CustomFontStyle" parent="@android:style/TextAppearance">
|
||||
<item name="android:fontFamily">@font/muli_semi_bold</item>
|
||||
<item name="android:textSize">22sp</item>
|
||||
<item name="android:textColor">@color/colorGray</item>
|
||||
</style>
|
||||
|
||||
<style name="paragraphCustomFontStyle" parent="@android:style/TextAppearance">
|
||||
<item name="android:fontFamily">@font/muli_regular</item>
|
||||
</style>
|
||||
|
||||
<style name="agreementCustomFontStyle" parent="@android:style/TextAppearance">
|
||||
<item name="android:fontFamily">@font/muli_extra_light</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user