Skip to content

Commit

Permalink
textSize
Browse files Browse the repository at this point in the history
apply attrs
  • Loading branch information
forrestguice committed Nov 12, 2022
1 parent a6d95fd commit a7c37df
Show file tree
Hide file tree
Showing 27 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion app/src/main/res/layout-land/layout_about_app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:id="@+id/txt_about_name" android:layout_margin="8dp"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:text="@string/app_name"
android:gravity="center" android:textSize="@dimen/text_size_huge"
android:gravity="center" android:textSize="?attr/text_size_huge"
android:textColor="?attr/date_buttonSelector" android:textStyle="bold"
android:textAppearance="?android:attr/textAppearanceLarge" />

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout-land/layout_empty_alarmlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<TextView
android:id="@+id/emptyView_text" style="@style/Base.TextAppearance.AppCompat.Headline"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="@string/configLabel_alarmClock_emptyMsg" android:textColor="#ff757575" android:textSize="@dimen/text_size_huge" android:textStyle="bold"
android:text="@string/configLabel_alarmClock_emptyMsg" android:textColor="#ff757575" android:textSize="?attr/text_size_huge" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/emptyView_image" />
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout-land/layout_empty_widgetlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<TextView
android:id="@+id/emptyView_text" style="@style/Base.TextAppearance.AppCompat.Headline"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="@string/configLabel_widgetList_emptyMsg" android:textColor="#ff757575" android:textSize="@dimen/text_size_huge" android:textStyle="bold"
android:text="@string/configLabel_widgetList_emptyMsg" android:textColor="#ff757575" android:textSize="?attr/text_size_huge" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/emptyView_image" />
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout-land/layout_listitem_alarmtime.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
android:layout_width="wrap_content" android:layout_height="wrap_content"

android:textColor="?attr/text_buttonSelector" android:gravity="center"
android:textSize="@dimen/text_size_small" android:maxLines="1" android:ellipsize="end"
android:textSize="?attr/text_size_small" android:maxLines="1" android:ellipsize="end"
tools:text="1h 30m before" android:minEms="5"

app:layout_constraintVertical_chainStyle="packed"
Expand Down Expand Up @@ -76,7 +76,7 @@
tools:text="June 21, 2019"
android:textColor="?attr/text_buttonSelector"
android:gravity="center_horizontal"
android:textSize="@dimen/text_size_small" android:maxLines="1" android:ellipsize="end" android:textStyle="bold"
android:textSize="?attr/text_size_small" android:maxLines="1" android:ellipsize="end" android:textStyle="bold"
app:layout_constraintHorizontal_bias="1"
app:layout_constraintStart_toStartOf="@id/text_datetime"
app:layout_constraintEnd_toEndOf="@+id/text_datetime"
Expand All @@ -89,7 +89,7 @@
android:layout_margin="8dp"
tools:text="~15m\nfrom now"
android:gravity="center"
android:textSize="@dimen/text_size_xsmall" android:maxLines="3" android:ellipsize="end"
android:textSize="?attr/text_size_xsmall" android:maxLines="3" android:ellipsize="end"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/text_date"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout-v11/layout_listitem_twoline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
android:id="@android:id/text2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:textSize="@dimen/text_size_small"
android:textSize="?attr/text_size_small"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:duplicateParentState="true"
android:layout_marginTop="-6dp" android:layout_marginBottom="8dp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
android:id="@android:id/text2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorAlertDialogListItem"
android:textSize="@dimen/text_size_small"
android:textSize="?attr/text_size_small"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:duplicateParentState="true"
android:layout_marginTop="-6dp" android:layout_marginBottom="8dp"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout-v11/layout_listitem_widgets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<TextView
android:id="@+id/text3"
android:textStyle="bold" android:textSize="@dimen/text_size_xsmall" android:maxEms="3"
android:textStyle="bold" android:textSize="?attr/text_size_xsmall" android:maxEms="3"
tools:text="123" tools:ignore="SmallSp"
android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/info_time_note.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
android:text=""
tools:text="12h 15m"
android:gravity="center"
android:textSize="@dimen/text_size_xlarge"
android:textSize="?attr/text_size_xlarge"
android:singleLine="true"
android:ellipsize="marquee"/>

Expand All @@ -52,7 +52,7 @@
android:text=""
tools:text="until"
android:layout_gravity="center_horizontal"
android:textSize="@dimen/text_size_small"
android:textSize="?attr/text_size_small"
android:singleLine="true"
android:gravity="center"/>

Expand All @@ -61,7 +61,7 @@
android:text=""
tools:text="astronomical twilight"
android:layout_gravity="center_horizontal"
android:textSize="@dimen/text_size_large"
android:textSize="?attr/text_size_large"
android:gravity="center" android:maxWidth="@dimen/clock_note_maxwidth"
android:layout_margin="0dp"/>

Expand Down
16 changes: 8 additions & 8 deletions app/src/main/res/layout/info_time_solsticequinox1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:id="@+id/text_date_equinox_vernal"
android:textSize="@dimen/text_size_small" android:antialias="true"
android:textSize="?attr/text_size_small" android:antialias="true"
android:textColor="@drawable/txt_equinox_vernal"
android:singleLine="true" android:ellipsize="marquee"
tools:text="March 20, 2016; 9:00 PM" />
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:id="@+id/text_date_equinox_vernal_note"
tools:text="21d 6h 5m from now"
android:textSize="@dimen/text_size_small" android:antialias="true"
android:textSize="?attr/text_size_small" android:antialias="true"
android:layout_marginBottom="8dp" />
</LinearLayout>
<ImageButton android:visibility="gone"
Expand Down Expand Up @@ -168,15 +168,15 @@
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:id="@+id/text_date_solstice_summer"
android:textSize="@dimen/text_size_small" android:antialias="true"
android:textSize="?attr/text_size_small" android:antialias="true"
android:textColor="@drawable/txt_solstice_summer"
android:singleLine="true" android:ellipsize="marquee"
tools:text="June 20, 2016; 9:00 PM" />
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:id="@+id/text_date_solstice_summer_note"
tools:text="21d 6h 5m from now"
android:textSize="@dimen/text_size_small" android:antialias="true"
android:textSize="?attr/text_size_small" android:antialias="true"
android:layout_marginBottom="8dp" />
</LinearLayout>
<ImageButton
Expand Down Expand Up @@ -231,7 +231,7 @@
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:id="@+id/text_date_equinox_autumnal"
android:textSize="@dimen/text_size_small" android:antialias="true"
android:textSize="?attr/text_size_small" android:antialias="true"
android:textColor="@drawable/txt_equinox_autumnal"
android:singleLine="true" android:ellipsize="marquee"
tools:text="September 22, 2016; 9:00 PM" />
Expand All @@ -240,7 +240,7 @@
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:id="@+id/text_date_equinox_autumnal_note"
tools:text="21d 6h 5m from now"
android:textSize="@dimen/text_size_small" android:antialias="true"
android:textSize="?attr/text_size_small" android:antialias="true"
android:layout_marginBottom="8dp" />
</LinearLayout>
<ImageButton android:visibility="gone"
Expand Down Expand Up @@ -294,15 +294,15 @@
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:id="@+id/text_date_solstice_winter"
android:textSize="@dimen/text_size_small" android:antialias="true"
android:textSize="?attr/text_size_small" android:antialias="true"
android:textColor="@drawable/txt_solstice_winter"
android:singleLine="true" android:ellipsize="marquee"
tools:text="December 21, 2016; 9:00 PM" />
<TextView
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:id="@+id/text_date_solstice_winter_note"
tools:text="21d 6h 5m from now"
android:textSize="@dimen/text_size_small" android:antialias="true"
android:textSize="?attr/text_size_small" android:antialias="true"
android:layout_marginBottom="8dp" />
</LinearLayout>
<ImageButton android:visibility="gone"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_about_app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
android:id="@+id/txt_about_name"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:text="@string/app_name"
android:gravity="center" android:textSize="@dimen/text_size_huge"
android:gravity="center" android:textSize="?attr/text_size_huge"
android:textColor="?attr/date_buttonSelector" android:textStyle="bold"
android:textAppearance="?android:attr/textAppearanceLarge" />

Expand Down
14 changes: 7 additions & 7 deletions app/src/main/res/layout/layout_dialog_alarmrepeat.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,43 +35,43 @@
android:id="@+id/alarmOption_repeat_sun" android:tag="1"
android:layout_width="0dp" android:layout_weight="1"
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_small" android:padding="0dp" />
android:textSize="?attr/text_size_small" android:padding="0dp" />

<ToggleButton
android:id="@+id/alarmOption_repeat_mon" android:tag="2"
android:layout_width="0dp" android:layout_weight="1"
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_small" android:padding="0dp" />
android:textSize="?attr/text_size_small" android:padding="0dp" />

<ToggleButton
android:id="@+id/alarmOption_repeat_tue" android:tag="3"
android:layout_width="0dp" android:layout_weight="1"
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_small" android:padding="0dp" />
android:textSize="?attr/text_size_small" android:padding="0dp" />

<ToggleButton
android:id="@+id/alarmOption_repeat_wed" android:tag="4"
android:layout_width="0dp" android:layout_weight="1"
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_small" android:padding="0dp" />
android:textSize="?attr/text_size_small" android:padding="0dp" />

<ToggleButton
android:id="@+id/alarmOption_repeat_thu" android:tag="5"
android:layout_width="0dp" android:layout_weight="1"
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_small" android:padding="0dp" />
android:textSize="?attr/text_size_small" android:padding="0dp" />

<ToggleButton
android:id="@+id/alarmOption_repeat_fri" android:tag="6"
android:layout_width="0dp" android:layout_weight="1"
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_small" android:padding="0dp" />
android:textSize="?attr/text_size_small" android:padding="0dp" />

<ToggleButton
android:id="@+id/alarmOption_repeat_sat" android:tag="7"
android:layout_width="0dp" android:layout_weight="1"
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_small" android:padding="0dp" />
android:textSize="?attr/text_size_small" android:padding="0dp" />

</LinearLayout>

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_dialog_worldmap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
android:gravity="center" android:layout_gravity="center"
android:visibility="gone"
android:layout_margin="16dp"
android:textSize="@dimen/text_size_small"
android:textSize="?attr/text_size_small"
android:text="@string/feature_not_supported_by_source" />

</FrameLayout>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_empty_alarmlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<TextView
android:id="@+id/emptyView_text" style="@style/Base.TextAppearance.AppCompat.Headline"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="@string/configLabel_alarmClock_emptyMsg" android:textColor="#ff757575" android:textSize="@dimen/text_size_huge" android:textStyle="bold"
android:text="@string/configLabel_alarmClock_emptyMsg" android:textColor="#ff757575" android:textSize="?attr/text_size_huge" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/guideline" />
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_empty_placeslist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<TextView
android:id="@+id/emptyView_text" style="@style/Base.TextAppearance.AppCompat.Headline"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="@string/configLabel_places_emptyMsg" android:textColor="#ff757575" android:textSize="@dimen/text_size_huge" android:textStyle="bold"
android:text="@string/configLabel_places_emptyMsg" android:textColor="#ff757575" android:textSize="?attr/text_size_huge" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/guideline" />
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_empty_widgetlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<TextView
android:id="@+id/emptyView_text" style="@style/Base.TextAppearance.AppCompat.Headline"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="@string/configLabel_widgetList_emptyMsg" android:textColor="#ff757575" android:textSize="@dimen/text_size_huge" android:textStyle="bold"
android:text="@string/configLabel_widgetList_emptyMsg" android:textColor="#ff757575" android:textSize="?attr/text_size_huge" android:textStyle="bold"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/guideline" />
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/layout_listitem_alarmtime.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
android:layout_width="wrap_content" android:layout_height="wrap_content"

android:textColor="?attr/text_buttonSelector" android:gravity="center"
android:textSize="@dimen/text_size_small" android:maxLines="1" android:ellipsize="end"
android:textSize="?attr/text_size_small" android:maxLines="1" android:ellipsize="end"
tools:text="1h 30m before" android:minEms="5"

app:layout_constraintStart_toStartOf="@+id/text_datetime"
Expand Down Expand Up @@ -78,7 +78,7 @@
tools:text="June 21, 2019"
android:textColor="?attr/text_buttonSelector"
android:gravity="center_horizontal"
android:textSize="@dimen/text_size_small" android:maxLines="1" android:ellipsize="end" android:textStyle="bold"
android:textSize="?attr/text_size_small" android:maxLines="1" android:ellipsize="end" android:textStyle="bold"
app:layout_constraintHorizontal_bias="1"
app:layout_constraintStart_toStartOf="@id/text_datetime"
app:layout_constraintEnd_toEndOf="@+id/text_datetime"
Expand All @@ -91,7 +91,7 @@
android:layout_marginLeft="16dp" android:layout_marginTop="8dp" android:layout_marginRight="16dp" android:layout_marginBottom="8dp"
tools:text="~15m\nfrom now"
android:gravity="end"
android:textSize="@dimen/text_size_xsmall" android:maxLines="3" android:ellipsize="end"
android:textSize="?attr/text_size_xsmall" android:maxLines="3" android:ellipsize="end"
app:layout_constraintStart_toEndOf="@+id/text_datetime"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_listitem_checkedtwoline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
android:id="@android:id/text2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?attr/textColorAlertDialogListItem"
android:textSize="@dimen/text_size_small"
android:textSize="?attr/text_size_small"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:duplicateParentState="true"
android:layout_marginTop="0dp" android:layout_marginBottom="8dp"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_listitem_timezone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
style="?android:attr/dropDownItemStyle"
android:id="@android:id/text2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/text_size_small"
android:textSize="?attr/text_size_small"
android:singleLine="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_listitem_twoline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
android:id="@android:id/text2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/text_alertDialogListItem"
android:textSize="@dimen/text_size_small"
android:textSize="?attr/text_size_small"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:duplicateParentState="true"
android:layout_marginTop="-6dp" android:layout_marginBottom="8dp"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_listitem_twoline_alt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
android:id="@android:id/text2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="@color/text_alertDialogListItem"
android:textSize="@dimen/text_size_small"
android:textSize="?attr/text_size_small"
android:layout_width="match_parent" android:layout_height="wrap_content"
android:duplicateParentState="true"
android:layout_marginTop="-6dp" android:layout_marginBottom="8dp"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/layout_listitem_widgets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<TextView
android:id="@+id/text3"
android:textStyle="bold" android:textSize="@dimen/text_size_xsmall" android:maxEms="3"
android:textStyle="bold" android:textSize="?attr/text_size_xsmall" android:maxEms="3"
tools:text="123" tools:ignore="SmallSp"
android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Expand Down
Loading

0 comments on commit a7c37df

Please sign in to comment.