1
0
Fork 0

For #11267 - Announce "Your open tabs will be shown here (#11272)

master
David Walsh 2020-06-05 17:27:45 -05:00 committed by GitHub
parent c8b40fa617
commit d33080571b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -192,6 +192,7 @@ class TabTrayView(
}
}
view.tabsTray.asView().isVisible = !hasNoTabs
view.tab_tray_overflow.isVisible = !hasNoTabs
}
}

View File

@ -32,13 +32,14 @@
android:gravity="center_horizontal"
android:paddingTop="80dp"
android:text="@string/no_open_tabs_description"
android:focusable="true"
android:focusableInTouchMode="true"
android:textColor="?secondaryText"
android:textSize="16sp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@id/tabsTray" />
app:layout_constraintTop_toBottomOf="@id/tab_layout" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/tab_layout"