mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 20:03:05 +02:00
Reviewer: Increase Left/Right Padding for Top Bar
Material design states we should have 16dp padding to the sides if in full screen. OnePlus 7 Pro phones truncated the "new count", so this fixes the issue Fixes 7854
This commit is contained in:
parent
4205d1d3cd
commit
c7e588c331
@ -4,8 +4,8 @@
|
||||
android:id="@+id/top_bar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="9dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingLeft="@dimen/side_margin"
|
||||
android:paddingRight="@dimen/side_margin"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="3dp"
|
||||
android:gravity="center_vertical"
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="UnusedResources">
|
||||
<!-- Material UI side margin: http://web.archive.org/web/20180105203433if_/https://material.io/guidelines/layout/metrics-keylines.html#metrics-keylines-keylines-spacing -->
|
||||
<dimen name="side_margin">16dp</dimen>
|
||||
<dimen name="touch_target">48dp</dimen>
|
||||
<dimen name="default_width">56dp</dimen>
|
||||
<dimen name="keyline_1">16dp</dimen>
|
||||
|
Loading…
Reference in New Issue
Block a user