Skip to content

Commit

Permalink
Align the text with buttons & update buttons' style
Browse files Browse the repository at this point in the history
  • Loading branch information
AChep committed Nov 7, 2020
1 parent 422c86f commit 97cb214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions app/src/main/res/layout/layout_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,12 @@
android:id="@+id/lockScreenDelayCur"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginEnd="16dp"
android:textAppearance="?android:textAppearanceMedium"
android:textColor="?android:textColorPrimary"
android:textSize="15sp"
app:layout_constraintEnd_toStartOf="@id/lockScreenDelayResetBtn"
app:layout_constraintStart_toEndOf="@id/startGuideline"
app:layout_constraintTop_toBottomOf="@id/lockScreenDelaySeekBar"
app:layout_constraintBaseline_toBaselineOf="@id/lockScreenDelayResetBtn"
tools:text="@string/settings_lock_screen_delay_cur" />

<TextView
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<style name="ButtonOutlined" parent="Widget.MaterialComponents.Button.OutlinedButton">
<item name="cornerRadius">24dp</item>
<item name="android:textColor">?android:textColorPrimary</item>
<item name="android:textSize">14sp</item>
<item name="android:textSize">12sp</item>
<item name="android:textAllCaps">false</item>
</style>

<style name="TextSection" parent="TextAppearance.AppCompat.Caption">
Expand Down

0 comments on commit 97cb214

Please sign in to comment.