dniz
|
7cd55d872b
|
Add Toolbar styles that use themed text appearances based on type scale
PiperOrigin-RevId: 202636817
|
2018-07-02 09:50:23 -04:00 |
|
dniz
|
b30c567719
|
AppBarLayout expose setLiftable() and setLifted() as a workaround for ListView lift on scroll
Example of workaround:
appBarLayout.setLiftable(true);
listView.setOnScrollListener(
new OnScrollListener() {
@Override
public void onScrollStateChanged(AbsListView view, int scrollState) {}
@Override
public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount, int totalItemCount) {
boolean isAtTop = firstVisibleItem == 0 && (view.getChildCount() == 0 || view.getChildAt(0).getTop() == 0);
appBarLayout.setLifted(!isAtTop);
}
});
PiperOrigin-RevId: 202187470
|
2018-07-02 09:42:27 -04:00 |
|
Andhie Wong
|
e1c8886c6c
|
[AppBar] appbar_scrolling_view_behavior as public res
PiperOrigin-RevId: 201416419
|
2018-06-20 17:30:59 -04:00 |
|
dniz
|
005a0044c3
|
Update AppBarLayout liftOnScroll start scroll check to not depend on scrolling
view size
This fixes an issue where the app bar would not lift if a bottom margin is
applied to the scrolling view
PiperOrigin-RevId: 201008179
|
2018-06-20 17:28:13 -04:00 |
|
marianomartin
|
663fd7abff
|
add res-public files
PiperOrigin-RevId: 198567215
|
2018-05-30 17:42:48 -04:00 |
|
dniz
|
b4529d2a88
|
Remove unused MathUtils methods and add documentation. Also replace
MathUtils#constrain with Support Library MathUtils#clamp
PiperOrigin-RevId: 197905324
|
2018-05-30 17:31:27 -04:00 |
|
dniz
|
d592999d59
|
Infer initial lifted state for AppBarLayout lift on scroll. This preserves the app bar's elevation across screen rotations and saving/restoring of instance state.
PiperOrigin-RevId: 197754058
|
2018-05-30 17:19:08 -04:00 |
|
dniz
|
5885d2954d
|
Fix spacing in AppBarLayout attr comment
PiperOrigin-RevId: 197630608
|
2018-05-30 17:18:48 -04:00 |
|
dniz
|
49b6f396ba
|
Update AppBarLayout to support lift on scroll behavior
PiperOrigin-RevId: 197607028
|
2018-05-30 17:17:09 -04:00 |
|
dcarlsson
|
da9a170696
|
Fix typo in AppBarLayout documentation.
PiperOrigin-RevId: 195305707
|
2018-05-03 17:02:55 -04:00 |
|
Material Design Team
|
9d5f06978b
|
[a11y] Ensure CollapsingToolbarLayout surfaces its custom-rendered title to accessibility services.
PiperOrigin-RevId: 195269779
|
2018-05-03 14:35:57 -04:00 |
|
Material Design Team
|
0b2eb829de
|
Automated g4 rollback of changelist 195137298
PiperOrigin-RevId: 195163452
|
2018-05-03 12:53:25 -04:00 |
|
Material Design Team
|
fa28108018
|
[a11y] When the collapsing title is not null or empty, set the content description as the collapsing title.
PiperOrigin-RevId: 195137298
|
2018-05-02 17:05:57 -04:00 |
|
dniz
|
b504d3fc3d
|
Set up Gradle task for docs build
PiperOrigin-RevId: 194457377
|
2018-04-30 12:03:20 -04:00 |
|
dniz
|
9ca33544ac
|
Update package name to com.google.android.material
PiperOrigin-RevId: 193236235
|
2018-04-30 11:24:23 -04:00 |
|