發表文章

目前顯示的是 3月 8, 2019的文章

Teko Modise

圖片
Teko Modise Personal information Full name Teko Tsholofelo Modise [1] Date of birth ( 1982-12-22 ) 22 December 1982 (age 36) Place of birth Meadowlands, South Africa Height 1.68 m (5 ft 6 in) Playing position Midfielder Club information Current team Cape Town City Number 13 Youth career Coventry (South Africa) City Rebels Ria Stars Senior career* Years Team Apps ( Gls ) 2001–2002 Ria Stars 6 (0) 2002–2006 City Pillars 66 (21) 2006–2007 Supersport United 33 (0) 2007–2011 Orlando Pirates 93 (12) 2011–2017 Mamelodi Sundowns 145 (24) 2017– Cape Town City 20 (1) National team ‡ 2007–2012 South Africa 66 (10) * Senior club appearances and goals counted for the domestic league only and correct as of 9 October 2018 ‡ National team caps and goals correct as of 11 June 2010 Teko Tsholofelo Modise (born 22 December 1982) is a South African professional footballer who plays as a midfielder for Cape Town City in the Premier Soccer League. He is also a full South African international having mad

Don't collapse Toolbar when RecyclerView fits the screen

圖片
31 19 I've made an app using Android Design Library , with a Toolbar and TabLayout. Actually 2 tabs are present, both with 2 RecyclerView, that automatically collapse the Toolbar when scrolled. My question is: can I disable Toolbar collapsing when RecyclerView has few items and completely fits the screen (like in TAB 2)? I've seen a lot of examples like CheeseSquare, made by a Google employee where the issue is still present: even if the RecyclerView has just 1 item, the toolbar keeps hiding on scroll. I think I can just find out if the first item of the RecyclerView is visible on screen and if yes disable toolbar collapsing. The former is easy to implement, what about the latter? This is my layout: <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/coordinator_layout" android:layout_width="match_pa