mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[android] Remove usage of attr fonts styles
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
app:tint="?colorSecondary"/>
|
app:tint="?colorSecondary"/>
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/head_message"
|
android:id="@+id/head_message"
|
||||||
style="?fontHeadline6"
|
style="@style/TextAppearance.Headline6"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/margin_base"
|
android:layout_marginTop="@dimen/margin_base"
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
android:text="@string/download_map_title" />
|
android:text="@string/download_map_title" />
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/download_message"
|
android:id="@+id/download_message"
|
||||||
style="?fontBody2"
|
style="@style/TextAppearance.Body2"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/margin_base"
|
android:layout_marginStart="@dimen/margin_base"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
android:layout_marginStart="@dimen/margin_base"
|
android:layout_marginStart="@dimen/margin_base"
|
||||||
android:maxLines="3"
|
android:maxLines="3"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:textAppearance="?fontHeadline6"
|
android:textAppearance="@style/TextAppearance.Headline6"
|
||||||
tools:text="Title" />
|
tools:text="Title" />
|
||||||
|
|
||||||
<androidx.recyclerview.widget.RecyclerView
|
<androidx.recyclerview.widget.RecyclerView
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/margin_base"
|
android:layout_marginStart="@dimen/margin_base"
|
||||||
android:text="@string/download_country_ask"
|
android:text="@string/download_country_ask"
|
||||||
android:textAppearance="?fontBody2"
|
android:textAppearance="@style/TextAppearance.Body2"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
tools:visibility="visible"/>
|
tools:visibility="visible"/>
|
||||||
<com.google.android.material.progressindicator.LinearProgressIndicator
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
android:textAppearance="@style/MwmTextAppearance.Title" />
|
android:textAppearance="@style/MwmTextAppearance.Title" />
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/et__input_layout"
|
android:id="@+id/et__input_layout"
|
||||||
style="?fontBody1"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
app:hintEnabled="false">
|
app:hintEnabled="false">
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
android:layout_marginTop="@dimen/margin_base">
|
android:layout_marginTop="@dimen/margin_base">
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
style="?fontSubtitle1"
|
style="@style/TextAppearance.Subtitle1"
|
||||||
android:id="@+id/sort_by_default"
|
android:id="@+id/sort_by_default"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
app:buttonTint="@null"/>
|
app:buttonTint="@null"/>
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
style="?fontSubtitle1"
|
style="@style/TextAppearance.Subtitle1"
|
||||||
android:id="@+id/sort_by_name"
|
android:id="@+id/sort_by_name"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
app:buttonTint="@null"/>
|
app:buttonTint="@null"/>
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
style="?fontSubtitle1"
|
style="@style/TextAppearance.Subtitle1"
|
||||||
android:id="@+id/sort_by_type"
|
android:id="@+id/sort_by_type"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
app:buttonTint="@null"/>
|
app:buttonTint="@null"/>
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
style="?fontSubtitle1"
|
style="@style/TextAppearance.Subtitle1"
|
||||||
android:id="@+id/sort_by_distance"
|
android:id="@+id/sort_by_distance"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
app:buttonTint="@null"/>
|
app:buttonTint="@null"/>
|
||||||
|
|
||||||
<RadioButton
|
<RadioButton
|
||||||
style="?fontSubtitle1"
|
style="@style/TextAppearance.Subtitle1"
|
||||||
android:id="@+id/sort_by_time"
|
android:id="@+id/sort_by_time"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/edit_bookmark_name_input"
|
android:id="@+id/edit_bookmark_name_input"
|
||||||
style="?fontBody1"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:hint="@string/name"
|
android:hint="@string/name"
|
||||||
@@ -88,7 +87,6 @@
|
|||||||
tools:src="@drawable/ic_bookmark_none" />
|
tools:src="@drawable/ic_bookmark_none" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
style="?fontBody1"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="@dimen/margin_half"
|
android:layout_marginEnd="@dimen/margin_half"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
android:layout_marginEnd="@dimen/margin_base"
|
android:layout_marginEnd="@dimen/margin_base"
|
||||||
android:paddingTop="@dimen/margin_half"
|
android:paddingTop="@dimen/margin_half"
|
||||||
android:paddingBottom="@dimen/margin_base"
|
android:paddingBottom="@dimen/margin_base"
|
||||||
android:textAppearance="?fontHeadline6"
|
android:textAppearance="@style/TextAppearance.Headline6"
|
||||||
tools:text="Xindian Shitoushan Trail" />
|
tools:text="Xindian Shitoushan Trail" />
|
||||||
<include
|
<include
|
||||||
layout="@layout/item_divider"
|
layout="@layout/item_divider"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
android:layout_marginStart="@dimen/margin_base"
|
android:layout_marginStart="@dimen/margin_base"
|
||||||
android:layout_marginTop="@dimen/margin_base"
|
android:layout_marginTop="@dimen/margin_base"
|
||||||
android:text="@string/layers_title"
|
android:text="@string/layers_title"
|
||||||
android:textAppearance="?fontHeadline6"
|
android:textAppearance="@style/TextAppearance.Headline6"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
<com.google.android.material.button.MaterialButton
|
<com.google.android.material.button.MaterialButton
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAlignment="viewStart"
|
android:textAlignment="viewStart"
|
||||||
android:textAppearance="?fontBody1"
|
android:textAppearance="@style/TextAppearance.Body1"
|
||||||
tools:text="Bookmark name looooooooooooooooooongasdasdasd" />
|
tools:text="Bookmark name looooooooooooooooooongasdasdasd" />
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/bottom_line_container"
|
android:id="@+id/bottom_line_container"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
android:layout_marginEnd="@dimen/bookmark_collection_item_end_margin"
|
android:layout_marginEnd="@dimen/bookmark_collection_item_end_margin"
|
||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAppearance="?fontBody1"
|
android:textAppearance="@style/TextAppearance.Body1"
|
||||||
tools:text="Bookmark name looooooooooooooooooongasdasdasd" />
|
tools:text="Bookmark name looooooooooooooooooongasdasdasd" />
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/size"
|
android:id="@+id/size"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
style="?fontBody2"
|
style="@style/TextAppearance.Body2"
|
||||||
tools:text="42000000" />
|
tools:text="42000000" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
android:paddingBottom="@dimen/margin_half_plus">
|
android:paddingBottom="@dimen/margin_half_plus">
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/text_message"
|
android:id="@+id/text_message"
|
||||||
style="?fontHeadline6"
|
style="@style/TextAppearance.Headline6"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/text"
|
android:id="@+id/text"
|
||||||
style="?fontHeadline6"
|
style="@style/TextAppearance.Headline6"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="?windowBackgroundForced"
|
android:background="?windowBackgroundForced"
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/input_layout"
|
android:id="@+id/input_layout"
|
||||||
style="?fontBody1"
|
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
android:layout_marginTop="@dimen/margin_base"
|
android:layout_marginTop="@dimen/margin_base"
|
||||||
android:layout_marginEnd="@dimen/bookmark_collection_item_end_margin"
|
android:layout_marginEnd="@dimen/bookmark_collection_item_end_margin"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAppearance="?fontBody1"
|
android:textAppearance="@style/TextAppearance.Body1"
|
||||||
tools:text="@string/tracks_title" />
|
tools:text="@string/tracks_title" />
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/tv__bookmark_distance"
|
android:id="@+id/tv__bookmark_distance"
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
android:layout_marginBottom="@dimen/margin_half_plus"
|
android:layout_marginBottom="@dimen/margin_half_plus"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textColor="?android:textColorSecondary"
|
android:textColor="?android:textColorSecondary"
|
||||||
android:textAppearance="?fontBody2"
|
android:textAppearance="@style/TextAppearance.Body2"
|
||||||
tools:text="@string/by_distance" />
|
tools:text="@string/by_distance" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<com.google.android.material.imageview.ShapeableImageView
|
<com.google.android.material.imageview.ShapeableImageView
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/place_page_last_checked"
|
android:id="@+id/place_page_last_checked"
|
||||||
style="?fontCaption"
|
style="@style/TextAppearance.Caption"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingBottom="@dimen/margin_half"
|
android:paddingBottom="@dimen/margin_half"
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/oh_check_date"
|
android:id="@+id/oh_check_date"
|
||||||
style="?fontCaption"
|
style="@style/TextAppearance.Caption"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
|
|||||||
Reference in New Issue
Block a user