summaryrefslogtreecommitdiffhomepage
path: root/android/src
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-07-24 17:44:24 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-07-31 11:54:11 +0000
commitde22805a3ae341aa1c2c8c8353c56caaf83208a3 (patch)
tree1275738ed3bbf6d33014a8cacff717fa562146a7 /android/src
parent43110ce2e27fcda977458469005921bec788a1de (diff)
downloadmullvadvpn-de22805a3ae341aa1c2c8c8353c56caaf83208a3.tar.xz
mullvadvpn-de22805a3ae341aa1c2c8c8353c56caaf83208a3.zip
Create dimension values for common text sizes
Diffstat (limited to 'android/src')
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountCell.kt2
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AppVersionCell.kt2
-rw-r--r--android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/Cell.kt4
-rw-r--r--android/src/main/res/layout/account_history_entry.xml2
-rw-r--r--android/src/main/res/layout/app_list_item.xml2
-rw-r--r--android/src/main/res/layout/confirm_no_email.xml2
-rw-r--r--android/src/main/res/layout/connect.xml10
-rw-r--r--android/src/main/res/layout/header_bar.xml2
-rw-r--r--android/src/main/res/layout/information_view.xml4
-rw-r--r--android/src/main/res/layout/launch.xml2
-rw-r--r--android/src/main/res/layout/login.xml8
-rw-r--r--android/src/main/res/layout/mtu_edit_text.xml2
-rw-r--r--android/src/main/res/layout/notification_banner.xml4
-rw-r--r--android/src/main/res/layout/out_of_time.xml4
-rw-r--r--android/src/main/res/layout/problem_report.xml8
-rw-r--r--android/src/main/res/layout/redeem_voucher.xml6
-rw-r--r--android/src/main/res/layout/relay_list_item.xml2
-rw-r--r--android/src/main/res/layout/select_location_header.xml2
-rw-r--r--android/src/main/res/layout/settings_back_button.xml2
-rw-r--r--android/src/main/res/layout/split_tunnelling_header.xml4
-rw-r--r--android/src/main/res/layout/welcome.xml8
-rw-r--r--android/src/main/res/layout/wireguard_key.xml2
-rw-r--r--android/src/main/res/values/dimensions.xml5
-rw-r--r--android/src/main/res/values/styles.xml8
24 files changed, 51 insertions, 46 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountCell.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountCell.kt
index 15c860ef00..35278d99f2 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountCell.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AccountCell.kt
@@ -28,7 +28,7 @@ class AccountCell : NavigateCell {
setAllCaps(true)
setTextColor(normalColor)
- setTextSize(TypedValue.COMPLEX_UNIT_SP, 13.0f)
+ setTextSize(TypedValue.COMPLEX_UNIT_PX, resources.getDimension(R.dimen.text_small))
setTypeface(null, Typeface.BOLD)
text = ""
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AppVersionCell.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AppVersionCell.kt
index cba7095eda..f1c454d4d8 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AppVersionCell.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/AppVersionCell.kt
@@ -32,7 +32,7 @@ class AppVersionCell : Cell {
}
setTextColor(context.getColor(R.color.white60))
- setTextSize(TypedValue.COMPLEX_UNIT_SP, 13.0f)
+ setTextSize(TypedValue.COMPLEX_UNIT_PX, resources.getDimension(R.dimen.text_small))
setTypeface(null, Typeface.BOLD)
text = ""
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/Cell.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/Cell.kt
index 2d40426ca4..e73b86dc4c 100644
--- a/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/Cell.kt
+++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/ui/widget/Cell.kt
@@ -19,7 +19,7 @@ open class Cell : LinearLayout {
setPadding(horizontalPadding, verticalPadding, horizontalPadding, verticalPadding)
setTextColor(context.getColor(R.color.white))
- setTextSize(TypedValue.COMPLEX_UNIT_SP, 20.0f)
+ setTextSize(TypedValue.COMPLEX_UNIT_PX, resources.getDimension(R.dimen.text_medium))
setTypeface(null, Typeface.BOLD)
}
@@ -34,7 +34,7 @@ open class Cell : LinearLayout {
setPadding(horizontalPadding, topPadding, horizontalPadding, 0)
setTextColor(context.getColor(R.color.white60))
- setTextSize(TypedValue.COMPLEX_UNIT_SP, 13.0f)
+ setTextSize(TypedValue.COMPLEX_UNIT_PX, resources.getDimension(R.dimen.text_small))
}
}
diff --git a/android/src/main/res/layout/account_history_entry.xml b/android/src/main/res/layout/account_history_entry.xml
index bcf616f95d..1860a96262 100644
--- a/android/src/main/res/layout/account_history_entry.xml
+++ b/android/src/main/res/layout/account_history_entry.xml
@@ -7,6 +7,6 @@
android:layout_height="wrap_content"
android:textColor="@color/blue"
android:padding="10dip"
- android:textSize="16dip"
+ android:textSize="@dimen/text_medium"
android:textStyle="bold" />
</LinearLayout>
diff --git a/android/src/main/res/layout/app_list_item.xml b/android/src/main/res/layout/app_list_item.xml
index 2b32a160ae..49a15d06a8 100644
--- a/android/src/main/res/layout/app_list_item.xml
+++ b/android/src/main/res/layout/app_list_item.xml
@@ -28,7 +28,7 @@
android:layout_marginHorizontal="8dp"
android:layout_marginVertical="16dp"
android:textColor="@color/white"
- android:textSize="16sp"
+ android:textSize="@dimen/text_medium"
android:text="" />
<net.mullvad.mullvadvpn.ui.widget.CellSwitch android:id="@+id/excluded"
android:layout_width="52dp"
diff --git a/android/src/main/res/layout/confirm_no_email.xml b/android/src/main/res/layout/confirm_no_email.xml
index 09e554bcf1..bc640906ab 100644
--- a/android/src/main/res/layout/confirm_no_email.xml
+++ b/android/src/main/res/layout/confirm_no_email.xml
@@ -14,7 +14,7 @@
android:layout_weight="0"
android:layout_marginBottom="12dp"
android:textColor="@color/white80"
- android:textSize="16sp"
+ android:textSize="@dimen/text_medium"
android:text="@string/confirm_no_email" />
<Button android:id="@+id/send_button"
android:text="@string/send_anyway"
diff --git a/android/src/main/res/layout/connect.xml b/android/src/main/res/layout/connect.xml
index 789f82e6da..86e80d15b6 100644
--- a/android/src/main/res/layout/connect.xml
+++ b/android/src/main/res/layout/connect.xml
@@ -44,7 +44,7 @@
android:layout_marginBottom="4dp"
android:layout_marginHorizontal="24dp"
android:textColor="@color/red"
- android:textSize="16sp"
+ android:textSize="@dimen/text_medium"
android:textStyle="bold"
android:text="@string/unsecured_connection"
android:textAllCaps="true" />
@@ -80,7 +80,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
- android:textSize="16sp"
+ android:textSize="@dimen/text_medium"
android:textStyle="bold"
android:text="" />
<ImageView android:id="@+id/chevron"
@@ -95,19 +95,19 @@
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:textColor="@color/white"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="" />
<TextView android:id="@+id/in_address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="" />
<TextView android:id="@+id/out_address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="" />
</LinearLayout>
</LinearLayout>
diff --git a/android/src/main/res/layout/header_bar.xml b/android/src/main/res/layout/header_bar.xml
index 9963893abf..c6c0a88a38 100644
--- a/android/src/main/res/layout/header_bar.xml
+++ b/android/src/main/res/layout/header_bar.xml
@@ -11,7 +11,7 @@
android:layout_marginVertical="12dp"
android:layout_weight="1"
android:textColor="@color/white80"
- android:textSize="24sp"
+ android:textSize="@dimen/text_big"
android:textStyle="bold"
android:text="@string/app_name"
android:textAllCaps="true" />
diff --git a/android/src/main/res/layout/information_view.xml b/android/src/main/res/layout/information_view.xml
index 2b49e35b3c..7ac89aee62 100644
--- a/android/src/main/res/layout/information_view.xml
+++ b/android/src/main/res/layout/information_view.xml
@@ -4,7 +4,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="9dp"
android:textColor="@color/white60"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:textStyle="bold"
android:text="" />
<FrameLayout android:layout_width="wrap_content"
@@ -13,7 +13,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white"
- android:textSize="16sp"
+ android:textSize="@dimen/text_medium"
android:textStyle="bold"
android:text="" />
<ProgressBar android:id="@+id/spinner"
diff --git a/android/src/main/res/layout/launch.xml b/android/src/main/res/layout/launch.xml
index 4e4292c785..13cd43857a 100644
--- a/android/src/main/res/layout/launch.xml
+++ b/android/src/main/res/layout/launch.xml
@@ -22,7 +22,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:textColor="@color/white60"
- android:textSize="24sp"
+ android:textSize="@dimen/text_big"
android:textStyle="bold"
android:text="@string/app_name"
android:textAllCaps="true" />
diff --git a/android/src/main/res/layout/login.xml b/android/src/main/res/layout/login.xml
index fa96ddf91c..529313e70a 100644
--- a/android/src/main/res/layout/login.xml
+++ b/android/src/main/res/layout/login.xml
@@ -51,7 +51,7 @@
android:layout_marginBottom="4dp"
android:gravity="start"
android:textColor="@color/white"
- android:textSize="32sp"
+ android:textSize="@dimen/text_huge"
android:textStyle="bold"
android:text="@string/login_title" />
<TextView android:id="@+id/subtitle"
@@ -61,7 +61,7 @@
android:layout_marginBottom="10dp"
android:gravity="start"
android:textColor="@color/white80"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="@string/login_description" />
<net.mullvad.mullvadvpn.ui.AccountInputContainer android:id="@+id/account_input_container"
android:layout_width="match_parent"
@@ -81,7 +81,7 @@
android:hint="@string/login_hint"
android:textColorHint="@color/blue40"
android:textColor="@color/blue"
- android:textSize="20sp"
+ android:textSize="@dimen/text_medium_plus"
android:textStyle="bold" />
<ImageButton android:id="@+id/login_button"
android:layout_width="48dp"
@@ -114,7 +114,7 @@
android:layout_marginBottom="8dp"
android:gravity="start"
android:textColor="@color/white80"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="@string/dont_have_an_account" />
<net.mullvad.mullvadvpn.ui.widget.Button android:id="@+id/create_account"
android:layout_width="match_parent"
diff --git a/android/src/main/res/layout/mtu_edit_text.xml b/android/src/main/res/layout/mtu_edit_text.xml
index 05fce42e7d..1fa3e0b0e8 100644
--- a/android/src/main/res/layout/mtu_edit_text.xml
+++ b/android/src/main/res/layout/mtu_edit_text.xml
@@ -10,4 +10,4 @@
android:hint="@string/hint_default"
android:textColorHint="@color/white80"
android:textColor="@color/white"
- android:textSize="20sp" />
+ android:textSize="@dimen/text_medium_plus" />
diff --git a/android/src/main/res/layout/notification_banner.xml b/android/src/main/res/layout/notification_banner.xml
index 82d3792f07..dd43aa0a49 100644
--- a/android/src/main/res/layout/notification_banner.xml
+++ b/android/src/main/res/layout/notification_banner.xml
@@ -24,7 +24,7 @@
android:layout_toLeftOf="@id/notification_icon"
android:layout_toRightOf="@id/notification_status_container"
android:layout_marginLeft="7dp"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:textStyle="bold"
android:text="@string/blocking_internet"
android:textAllCaps="true" />
@@ -35,7 +35,7 @@
android:layout_toLeftOf="@id/notification_icon"
android:layout_alignLeft="@id/notification_title"
android:layout_below="@id/notification_title"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:textColor="@color/white60"
android:text=""
android:visibility="gone" />
diff --git a/android/src/main/res/layout/out_of_time.xml b/android/src/main/res/layout/out_of_time.xml
index 6fda6d9be0..71d8bb136e 100644
--- a/android/src/main/res/layout/out_of_time.xml
+++ b/android/src/main/res/layout/out_of_time.xml
@@ -23,7 +23,7 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="24dp"
android:textColor="@color/white"
- android:textSize="32sp"
+ android:textSize="@dimen/text_large"
android:textStyle="bold"
android:text="@string/out_of_time" />
<TextView android:id="@+id/no_more_vpn_time_left"
@@ -33,7 +33,7 @@
android:layout_marginTop="8dp"
android:layout_marginBottom="11dp"
android:textColor="@color/white"
- android:textSize="13sp" />
+ android:textSize="@dimen/text_small" />
<Space android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
diff --git a/android/src/main/res/layout/problem_report.xml b/android/src/main/res/layout/problem_report.xml
index 2da886968b..929f53079a 100644
--- a/android/src/main/res/layout/problem_report.xml
+++ b/android/src/main/res/layout/problem_report.xml
@@ -55,7 +55,7 @@
android:layout_marginBottom="24dp"
android:layout_marginHorizontal="24dp"
android:textColor="@color/white80"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="@string/problem_report_description" />
<EditText android:id="@+id/user_email"
android:layout_width="match_parent"
@@ -116,7 +116,7 @@
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
android:textColor="@color/green"
- android:textSize="16sp"
+ android:textSize="@dimen/text_medium"
android:textStyle="bold"
android:text="@string/secure_connection"
android:textAllCaps="true" />
@@ -132,14 +132,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white60"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="@string/sent_thanks"
android:visibility="gone" />
<TextView android:id="@+id/response_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white60"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="@string/sent_contact"
android:visibility="gone" />
<Space android:layout_width="match_parent"
diff --git a/android/src/main/res/layout/redeem_voucher.xml b/android/src/main/res/layout/redeem_voucher.xml
index cf6c898ee7..1594f5e3fe 100644
--- a/android/src/main/res/layout/redeem_voucher.xml
+++ b/android/src/main/res/layout/redeem_voucher.xml
@@ -15,7 +15,7 @@
android:layout_weight="0"
android:layout_marginBottom="12dp"
android:textColor="@color/white80"
- android:textSize="16sp"
+ android:textSize="@dimen/text_medium"
android:text="@string/enter_voucher_code" />
<EditText android:id="@+id/voucher_code"
android:layout_width="match_parent"
@@ -33,14 +33,14 @@
android:textAllCaps="true"
android:textColorHint="@color/blue40"
android:textColor="@color/blue"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:textStyle="bold" />
<TextView android:id="@+id/error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:textColor="@color/red"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:textStyle="bold"
android:visibility="invisible" />
<net.mullvad.mullvadvpn.ui.widget.Button android:id="@+id/redeem"
diff --git a/android/src/main/res/layout/relay_list_item.xml b/android/src/main/res/layout/relay_list_item.xml
index 1d8d95642b..1a7f535707 100644
--- a/android/src/main/res/layout/relay_list_item.xml
+++ b/android/src/main/res/layout/relay_list_item.xml
@@ -27,7 +27,7 @@
android:layout_marginHorizontal="8dp"
android:layout_marginVertical="16dp"
android:textColor="@color/white"
- android:textSize="20sp"
+ android:textSize="@dimen/text_medium_plus"
android:textStyle="bold"
android:text="" />
<ImageButton android:id="@+id/chevron"
diff --git a/android/src/main/res/layout/select_location_header.xml b/android/src/main/res/layout/select_location_header.xml
index 9cc9f53860..a806315491 100644
--- a/android/src/main/res/layout/select_location_header.xml
+++ b/android/src/main/res/layout/select_location_header.xml
@@ -17,7 +17,7 @@
android:layout_marginHorizontal="24dp"
android:layout_marginBottom="24dp"
android:textColor="@color/white60"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="@string/select_location_description" />
<ProgressBar android:id="@+id/loading_spinner"
android:layout_width="60dp"
diff --git a/android/src/main/res/layout/settings_back_button.xml b/android/src/main/res/layout/settings_back_button.xml
index da8bad7356..fc750132ac 100644
--- a/android/src/main/res/layout/settings_back_button.xml
+++ b/android/src/main/res/layout/settings_back_button.xml
@@ -7,6 +7,6 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/white60"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:textStyle="bold" />
</merge>
diff --git a/android/src/main/res/layout/split_tunnelling_header.xml b/android/src/main/res/layout/split_tunnelling_header.xml
index f15f573651..60a67d0e60 100644
--- a/android/src/main/res/layout/split_tunnelling_header.xml
+++ b/android/src/main/res/layout/split_tunnelling_header.xml
@@ -19,7 +19,7 @@
android:paddingHorizontal="24dp"
android:text="@string/split_tunnelling_description"
android:textColor="@color/white60"
- android:textSize="13sp" />
+ android:textSize="@dimen/text_small" />
<net.mullvad.mullvadvpn.ui.widget.ToggleCell android:id="@+id/enabled"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -39,7 +39,7 @@
android:paddingHorizontal="8dp"
android:paddingVertical="17dp"
android:textColor="@color/white"
- android:textSize="20sp"
+ android:textSize="@dimen/text_medium_plus"
android:textStyle="bold"
android:text="@string/exclude_applications" />
</LinearLayout>
diff --git a/android/src/main/res/layout/welcome.xml b/android/src/main/res/layout/welcome.xml
index 5ce39f65a9..9c72796a89 100644
--- a/android/src/main/res/layout/welcome.xml
+++ b/android/src/main/res/layout/welcome.xml
@@ -18,7 +18,7 @@
android:layout_marginHorizontal="24dp"
android:layout_marginTop="24dp"
android:textColor="@color/white"
- android:textSize="32sp"
+ android:textSize="@dimen/text_large"
android:textStyle="bold"
android:text="@string/congrats" />
<TextView android:layout_width="wrap_content"
@@ -27,7 +27,7 @@
android:layout_marginTop="8dp"
android:layout_marginBottom="11dp"
android:textColor="@color/white"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:text="@string/here_is_your_account_number" />
<TextView android:id="@+id/account_number"
android:layout_width="match_parent"
@@ -37,7 +37,7 @@
android:clickable="true"
android:background="?android:attr/selectableItemBackground"
android:textColor="@color/white"
- android:textSize="24sp"
+ android:textSize="@dimen/text_big"
android:textStyle="bold"
android:text="" />
<TextView android:id="@+id/pay_to_start_using"
@@ -46,7 +46,7 @@
android:layout_marginHorizontal="24dp"
android:layout_marginTop="11dp"
android:textColor="@color/white"
- android:textSize="13sp" />
+ android:textSize="@dimen/text_small" />
<Space android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
diff --git a/android/src/main/res/layout/wireguard_key.xml b/android/src/main/res/layout/wireguard_key.xml
index 24b3548240..3f3093b08d 100644
--- a/android/src/main/res/layout/wireguard_key.xml
+++ b/android/src/main/res/layout/wireguard_key.xml
@@ -70,7 +70,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/red"
- android:textSize="13sp"
+ android:textSize="@dimen/text_small"
android:textStyle="bold"
android:visibility="gone" />
<ProgressBar android:id="@+id/verifying_key_spinner"
diff --git a/android/src/main/res/values/dimensions.xml b/android/src/main/res/values/dimensions.xml
index c4ebc722ad..31d1337b99 100644
--- a/android/src/main/res/values/dimensions.xml
+++ b/android/src/main/res/values/dimensions.xml
@@ -24,4 +24,9 @@
<dimen name="cell_footer_horizontal_padding">24dp</dimen>
<dimen name="chevron_width">14dp</dimen>
<dimen name="chevron_height">24dp</dimen>
+ <dimen name="text_small">13sp</dimen>
+ <dimen name="text_medium">16sp</dimen>
+ <dimen name="text_medium_plus">20sp</dimen>
+ <dimen name="text_big">24sp</dimen>
+ <dimen name="text_huge">32sp</dimen>
</resources>
diff --git a/android/src/main/res/values/styles.xml b/android/src/main/res/values/styles.xml
index c1ac78d446..e5f8ea91db 100644
--- a/android/src/main/res/values/styles.xml
+++ b/android/src/main/res/values/styles.xml
@@ -11,7 +11,7 @@
<item name="android:textCursorDrawable">@drawable/text_input_cursor</item>
<item name="android:textColorHint">@color/blue40</item>
<item name="android:textColor">@color/blue</item>
- <item name="android:textSize">13sp</item>
+ <item name="android:textSize">@dimen/text_small</item>
</style>
<style name="Button"
parent="Widget.AppCompat.Button.Borderless">
@@ -21,7 +21,7 @@
<item name="android:paddingBottom">0dp</item>
<item name="android:textAllCaps">false</item>
<item name="android:textColor">@color/white</item>
- <item name="android:textSize">20sp</item>
+ <item name="android:textSize">@dimen/text_medium_plus</item>
<item name="android:textStyle">bold</item>
</style>
<style name="GreenButton"
@@ -46,10 +46,10 @@
</style>
<style name="SettingsExpandedHeader"
parent="SettingsHeader">
- <item name="android:textSize">32sp</item>
+ <item name="android:textSize">@dimen/text_huge</item>
</style>
<style name="SettingsCollapsedHeader"
parent="SettingsHeader">
- <item name="android:textSize">16sp</item>
+ <item name="android:textSize">@dimen/text_medium</item>
</style>
</resources>