Android 6.0. I want to has translucent status bar.
my_layout.xml:
<ScrollView
android:id="@+id/srollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:fitsSystemWindows="true">
<LinearLayout
android:id="@+id/content_layer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/containerPhoneNumber"
android:layout_width="match_parent"
android:layout_height="64dp">
<EditText
style="@style/edit_text_style"
android:layout_width="match_parent"
android:layout_height="64dp"
/>
...
</ScrollView>
styles.xml
<style name="RegistrationTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowTranslucentStatus">true</item>
</style>
As result the status bar is translucent. OK. When start my_layout.xml on Android 7.0 , and focus on editText the scroll success scrolling. OK. But when I run same my_layout.xml on Android 5.0/6.0 the scrolling is NOT work. Why? Thanks.