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

Commit dc6e6e5f authored by Brandon Maxwell's avatar Brandon Maxwell
Browse files

Moving elapsed time out of label and number layout

Bug: 25757839
Change-Id: I5b7fba910078dfd4e02f665f960e8de24a6124a6
parent 471f63aa
Loading
Loading
Loading
Loading
+18 −19
Original line number Diff line number Diff line
@@ -161,18 +161,16 @@
                android:visibility="gone" />

            <!-- Label (like "Mobile" or "Work", if present) and phone number, side by side -->
            <RelativeLayout android:id="@+id/labelAndNumber"
                android:layout_width="0dp"
                android:layout_height="match_parent"
            <LinearLayout android:id="@+id/labelAndNumber"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:orientation="horizontal"
                android:gravity="start">
                android:orientation="horizontal">

                <TextView android:id="@+id/label"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentTop="true"
                    android:layout_alignParentStart="true"
                    android:layout_weight="0"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:textColor="@color/incall_call_banner_subtext_color"
                    android:textSize="@dimen/call_label_text_size"
@@ -183,9 +181,8 @@
                <TextView android:id="@+id/phoneNumber"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_weight="1"
                    android:layout_marginStart="6dp"
                    android:layout_alignParentTop="true"
                    android:layout_toEndOf="@id/label"
                    android:textAlignment="viewStart"
                    android:textAppearance="?android:attr/textAppearanceSmall"
                    android:textColor="@color/incall_call_banner_subtext_color"
@@ -193,18 +190,20 @@
                    android:singleLine="false"
                    android:visibility="gone" />

            </LinearLayout>

            <!-- Elapsed time indication for a call in progress. -->
            <TextView android:id="@+id/elapsedTime"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                    android:layout_alignParentTop="true"
                    android:layout_alignParentEnd="true"
                android:layout_weight="0"
                android:textAlignment="viewEnd"
                android:textAppearance="?android:attr/textAppearanceSmall"
                android:textColor="@color/incall_call_banner_subtext_color"
                android:textSize="@dimen/call_label_text_size"
                android:singleLine="true"
                android:visibility="gone" />

            </RelativeLayout>

        </LinearLayout>

        <!-- Call type indication: a special label and/or branding