Просмотр исходного кода

TunnelEditor: abstract out section font

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
master
Jason A. Donenfeld 4 лет назад
Родитель
Сommit
0235f19543
5 измененных файлов: 5 добавлений и 4 удалений
  1. +1
    -1
      ui/src/main/res/layout/tunnel_detail_fragment.xml
  2. +1
    -1
      ui/src/main/res/layout/tunnel_detail_peer.xml
  3. +1
    -1
      ui/src/main/res/layout/tunnel_editor_fragment.xml
  4. +1
    -1
      ui/src/main/res/layout/tunnel_editor_peer.xml
  5. +1
    -0
      ui/src/main/res/values/styles.xml

+ 1
- 1
ui/src/main/res/layout/tunnel_detail_fragment.xml Просмотреть файл

@@ -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"


+ 1
- 1
ui/src/main/res/layout/tunnel_detail_peer.xml Просмотреть файл

@@ -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"


+ 1
- 1
ui/src/main/res/layout/tunnel_editor_fragment.xml Просмотреть файл

@@ -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"


+ 1
- 1
ui/src/main/res/layout/tunnel_editor_peer.xml Просмотреть файл

@@ -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"


+ 1
- 0
ui/src/main/res/values/styles.xml Просмотреть файл

@@ -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>


Загрузка…
Отмена
Сохранить