Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ab252cb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "MediaControlView2: Final Settings UX addition" into pi-dev

parents 35f4f64f 9e49771d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:width="40dp"
    android:height="40dp"
    android:viewportWidth="24"
    android:viewportHeight="24">

+1 −3
Original line number Diff line number Diff line
@@ -199,6 +199,7 @@
            <ImageButton
                android:id="@+id/subtitle"
                android:scaleType="fitCenter"
                android:visibility="gone"
                style="@style/BottomBarButton.CC" />
            <ImageButton
                android:id="@+id/fullscreen"
@@ -223,9 +224,6 @@
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />

            <ImageButton
                android:id="@+id/aspect_ratio"
                style="@style/BottomBarButton.AspectRatio" />
            <ImageButton
                android:id="@+id/video_quality"
                style="@style/BottomBarButton.VideoQuality" />
+0 −8
Original line number Diff line number Diff line
@@ -27,14 +27,6 @@
        android:gravity="center"
        android:orientation="horizontal">

        <ImageView
            android:id="@+id/check"
            android:layout_width="@dimen/MediaControlView2_settings_icon_size"
            android:layout_height="@dimen/MediaControlView2_settings_icon_size"
            android:gravity="center"
            android:paddingLeft="2dp"
            android:src="@drawable/ic_check"/>

        <ImageView
            android:id="@+id/icon"
            android:layout_width="@dimen/MediaControlView2_settings_icon_size"
+54 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2018 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="@dimen/MediaControlView2_settings_width"
    android:layout_height="@dimen/MediaControlView2_settings_height"
    android:orientation="horizontal"
    android:background="@color/black_transparent_70">

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="@dimen/MediaControlView2_settings_height"
        android:paddingRight="2dp"
        android:gravity="center"
        android:orientation="horizontal">

        <ImageView
            android:id="@+id/check"
            android:layout_width="@dimen/MediaControlView2_settings_icon_size"
            android:layout_height="@dimen/MediaControlView2_settings_icon_size"
            android:gravity="center"
            android:paddingLeft="2dp"
            android:src="@drawable/ic_check"/>
    </LinearLayout>

    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="@dimen/MediaControlView2_settings_height"
        android:gravity="center"
        android:orientation="vertical">

        <TextView
            android:id="@+id/text"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/MediaControlView2_text_width"
            android:paddingLeft="2dp"
            android:textColor="@color/white"
            android:textSize="@dimen/MediaControlView2_settings_main_text_size"/>
    </RelativeLayout>

</LinearLayout>
Loading