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

Commit 5b514ee6 authored by Sergey Nikolaienkov's avatar Sergey Nikolaienkov
Browse files

Update AudioRecordingIndicator appearance

Updating AudioRecordingIndicator in accordance with UX mocks

Change-Id: I8701c27d13779e8cfc9538588a0bc72d5fae006e
Bug: 142228704
Test: make, run audio recording app
parent 79839058
Loading
Loading
Loading
Loading
−139 B
Loading image diff...
+6 −4
Original line number Diff line number Diff line
@@ -16,7 +16,9 @@
  -->

<shape xmlns:android="http://schemas.android.com/apk/res/android"
       android:shape="rectangle">
    <corners android:radius="24dp"/>
    <solid android:color="@color/tv_audio_recording_bar_chip_background"/>
    android:shape="oval">

  <solid
      android:color="@color/tv_audio_recording_indicator_background" />

</shape>
 No newline at end of file
+5 −2
Original line number Diff line number Diff line
@@ -17,5 +17,8 @@

<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="oval">
    <solid android:color="@color/red"/>

  <solid
      android:color="@color/tv_audio_recording_indicator_pulse" />

</shape>
 No newline at end of file
+24 −22
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2019 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
Copyright (C) 2019 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:viewportWidth="44"
        android:viewportHeight="44"
        android:width="44dp"
        android:height="44dp">
    android:width="32dp"
    android:height="32dp"
    android:viewportWidth="24.0"
    android:viewportHeight="24.0">
  <path
        android:pathData="M22 25.6666667C25.0433333 25.6666667 27.4816667 23.21 27.4816667 20.1666667L27.5 9.16666667C27.5 6.12333333 25.0433333 3.66666667 22 3.66666667C18.9566667 3.66666667 16.5 6.12333333 16.5 9.16666667L16.5 20.1666667C16.5 23.21 18.9566667 25.6666667 22 25.6666667ZM31.7166667 20.1666667C31.7166667 25.6666667 27.06 29.5166667 22 29.5166667C16.94 29.5166667 12.2833333 25.6666667 12.2833333 20.1666667L9.16666667 20.1666667C9.16666667 26.4183333 14.1533333 31.5883333 20.1666667 32.4866667L20.1666667 38.5L23.8333333 38.5L23.8333333 32.4866667C29.8466667 31.6066667 34.8333333 26.4366667 34.8333333 20.1666667L31.7166667 20.1666667Z"
        android:fillColor="@android:color/white" />
      android:fillColor="#FFFFFFFF"
      android:pathData="M12,14c1.66,0 3,-1.34 3,-3V5c0,-1.66 -1.34,-3 -3,-3S9,3.34 9,5v6C9,12.66 10.34,14 12,14zM11,5c0,-0.55 0.45,-1 1,-1s1,0.45 1,1v6c0,0.55 -0.45,1 -1,1s-1,-0.45 -1,-1V5z"/>
  <path
      android:fillColor="#FFFFFFFF"
      android:pathData="M17,11c0,2.76 -2.24,5 -5,5s-5,-2.24 -5,-5H5c0,3.53 2.61,6.43 6,6.92V21h2v-3.08c3.39,-0.49 6,-3.39 6,-6.92H17z"/>
</vector>
 No newline at end of file
+26 −0
Original line number Diff line number Diff line
@@ -15,27 +15,12 @@
  ~ limitations under the License.
  -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="horizontal"
              android:layout_width="wrap_content"
              android:layout_height="48dp"
              android:layout_marginLeft="8dp"
              android:paddingHorizontal="12dp"
              android:gravity="center_vertical"
              android:background="@drawable/tv_bg_item_app_info">
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">

    <ImageView
        android:id="@+id/icon"
        android:layout_width="24dp"
        android:layout_height="24dp"
        android:layout_marginRight="8dp"/>
  <corners
      android:bottomLeftRadius="8dp"
      android:topLeftRadius="8dp" />
  <solid android:color="@color/tv_audio_recording_indicator_background" />

    <TextView
        android:id="@+id/title"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/tv_audio_recording_bar_text"
        android:fontFamily="sans-serif"
        android:textSize="14sp"/>

</LinearLayout>
</shape>
 No newline at end of file
Loading