TunnelEditor: abstract out section font
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
cd6c2f68ca
commit
0235f19543
@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/interface_title"
|
android:id="@+id/interface_title"
|
||||||
style="@style/TextAppearance.MaterialComponents.Headline6"
|
style="@style/SectionText"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/interface_title"
|
android:text="@string/interface_title"
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/peer_title"
|
android:id="@+id/peer_title"
|
||||||
style="@style/TextAppearance.MaterialComponents.Headline6"
|
style="@style/SectionText"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/peer"
|
android:text="@string/peer"
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/interface_title"
|
android:id="@+id/interface_title"
|
||||||
style="@style/TextAppearance.MaterialComponents.Headline6"
|
style="@style/SectionText"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="8dp"
|
android:layout_margin="8dp"
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/peer_title"
|
android:id="@+id/peer_title"
|
||||||
style="@style/TextAppearance.MaterialComponents.Headline6"
|
style="@style/SectionText"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_margin="8dp"
|
android:layout_margin="8dp"
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="DetailText" parent="TextAppearance.MaterialComponents.Body1" />
|
<style name="DetailText" parent="TextAppearance.MaterialComponents.Body1" />
|
||||||
|
<style name="SectionText" parent="TextAppearance.MaterialComponents.Headline6" />
|
||||||
|
|
||||||
<style name="TextInputLayoutBase" parent="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
<style name="TextInputLayoutBase" parent="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
||||||
<item name="boxStrokeColor">?attr/colorSecondary</item>
|
<item name="boxStrokeColor">?attr/colorSecondary</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user