1
0
Fork 0

No issue: Fixes alignment of overflow menu in library

master
Sören Hentzschel 2019-05-15 23:48:24 +02:00 committed by Sawyer Blatz
parent 014de10b29
commit f8139ccc04
2 changed files with 7 additions and 7 deletions

View File

@ -14,7 +14,7 @@
android:paddingTop="8dp" android:paddingTop="8dp"
android:paddingBottom="8dp" android:paddingBottom="8dp"
android:paddingStart="16dp" android:paddingStart="16dp"
android:paddingEnd="16dp" android:paddingEnd="0dp"
android:background="?android:attr/selectableItemBackground"> android:background="?android:attr/selectableItemBackground">
<ImageView <ImageView
@ -47,16 +47,15 @@
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
tools:text="Internet" /> tools:text="Internet" />
<ImageView <ImageButton
android:id="@+id/bookmark_overflow" android:id="@+id/bookmark_overflow"
android:layout_width="24dp" android:layout_width="@dimen/glyph_button_width"
android:layout_height="wrap_content" android:layout_height="@dimen/glyph_button_height"
android:layout_margin="10dp" android:background="?android:attr/selectableItemBackgroundBorderless"
android:contentDescription="@string/bookmark_menu_content_description" android:contentDescription="@string/bookmark_menu_content_description"
android:src="@drawable/ic_menu" android:src="@drawable/ic_menu"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/bookmark_title"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<View <View

View File

@ -11,7 +11,8 @@
android:clickable="true" android:clickable="true"
android:focusable="true" android:focusable="true"
android:padding="4dp" android:padding="4dp"
android:paddingStart="20dp"> android:paddingStart="20dp"
android:paddingEnd="0dp">
<ImageButton <ImageButton
android:id="@+id/history_item_overflow" android:id="@+id/history_item_overflow"