소스 검색

fix call recording design

fix call recording design after merge of fresco->coil migration

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 년 전
부모
커밋
cdf70282e4
2개의 변경된 파일8개의 추가작업 그리고 6개의 파일을 삭제
  1. 7 6
      app/src/main/res/layout/call_activity.xml
  2. 1 0
      app/src/main/res/values/strings.xml

+ 7 - 6
app/src/main/res/layout/call_activity.xml

@@ -229,13 +229,14 @@
         <ImageButton
             android:id="@+id/more_call_actions"
             android:layout_width="0dp"
-            android:layout_height="match_parent"
+            android:layout_height="wrap_content"
+            android:adjustViewBounds="true"
             android:layout_marginHorizontal="@dimen/call_controls_margin_horizontal"
-            android:alpha="0.7"
-            app:backgroundImage="@color/call_buttons_background"
-            app:placeholderImage="@drawable/ic_dots_horizontal_white"
-            app:roundAsCircle="true"
-            android:layout_weight="1"/>
+            android:layout_weight="1"
+            android:background="@drawable/shape_oval"
+            android:backgroundTint="@color/call_buttons_background"
+            app:srcCompat="@drawable/ic_dots_horizontal_white"
+            android:contentDescription="@string/nc_call_button_content_description_microphone" />
 
         <ImageButton
             android:id="@+id/hangupButton"

+ 1 - 0
app/src/main/res/values/strings.xml

@@ -217,6 +217,7 @@
     <string name="nc_call_button_content_description_audio_output">Change audio output</string>
     <string name="nc_call_button_content_description_camera">Toggle camera</string>
     <string name="nc_call_button_content_description_microphone">Toggle microphone</string>
+    <string name="nc_call_button_content_description_advanced">Advanced call options</string>
     <string name="nc_call_button_content_description_hangup">Hangup</string>
     <string name="nc_call_button_content_description_answer_voice_only">Answer as voice call only</string>
     <string name="nc_call_button_content_description_answer_video_call">Answer as video call</string>