migrate player language settings to DialogFragment; update hideBars()
* player language settings is now aDialogFragment * update hideBars() to work with any window & view combination * update hideBars() to use WindowCompat
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
android:layout_height="70dp"
|
||||
android:layout_gravity="center"
|
||||
android:indeterminate="true"
|
||||
app:indicatorColor="@color/exo_white"
|
||||
app:indicatorColor="@color/player_white"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<LinearLayout
|
||||
@ -84,7 +84,7 @@
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone"
|
||||
app:backgroundTint="@color/exo_white"
|
||||
app:backgroundTint="@color/player_white"
|
||||
app:iconGravity="textStart" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
@ -100,7 +100,7 @@
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
android:textSize="16sp"
|
||||
android:visibility="gone"
|
||||
app:backgroundTint="@color/exo_white"
|
||||
app:backgroundTint="@color/player_white"
|
||||
app:iconGravity="textStart" />
|
||||
|
||||
</FrameLayout>
|
@ -37,7 +37,7 @@
|
||||
android:layout_marginEnd="44dp"
|
||||
android:text="@string/subtitles"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@color/exo_white"
|
||||
android:textColor="@color/player_white"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@ -75,7 +75,7 @@
|
||||
android:layout_marginEnd="7dp"
|
||||
android:text="@string/cancel"
|
||||
android:textAllCaps="false"
|
||||
android:textColor="@color/exo_white"
|
||||
android:textColor="@color/player_white"
|
||||
android:textSize="16sp"
|
||||
app:backgroundTint="@color/buttonBackgroundLight"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
Reference in New Issue
Block a user