diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-03-14 20:35:15 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-03-14 20:35:15 +0000 |
commit | ede6377e397f4b4d6f6a46d09c10efc52724531a (patch) | |
tree | 5afc256ca4698d4e03138cd5a315934897cab083 /java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml | |
parent | c692948f41733a436f90d56da003d30ac7bf56eb (diff) | |
parent | b8d0f5029ebaf8e3a0bd32c8b54b3baee6f2876a (diff) |
Merge "Add swap call button to RTT call."
Diffstat (limited to 'java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml')
-rw-r--r-- | java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml | 126 |
1 files changed, 68 insertions, 58 deletions
diff --git a/java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml b/java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml index f1938056f..c4d3a4290 100644 --- a/java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml +++ b/java/com/android/incallui/rtt/impl/res/layout/rtt_banner.xml @@ -14,64 +14,74 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License --> -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="?attr/actionBarSize" - android:background="#F305228F" - android:elevation="3dp"> - <ImageButton - android:id="@+id/rtt_end_call_button" - android:layout_width="32dp" - android:layout_height="32dp" - android:layout_marginStart="16dp" - android:layout_alignParentStart="true" - android:layout_centerVertical="true" - android:background="@android:color/transparent" - android:contentDescription="@string/incall_content_description_end_call" - android:scaleType="fitXY" - android:src="@drawable/quantum_ic_call_end_vd_theme_24" - android:tint="#FFDF0000"/> - <LinearLayout - android:layout_width="260dp" - android:layout_height="match_parent" - android:layout_marginTop="8dp" - android:layout_marginBottom="8dp" - android:layout_marginStart="32dp" - android:layout_toEndOf="@id/rtt_end_call_button" - android:orientation="vertical"> - <TextView - android:id="@+id/rtt_name_or_number" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:fontFamily="sans-serif-medium" - android:includeFontPadding="false" - android:textColor="#FFFFFF" - android:textSize="20sp" - tools:text="Bruce Graham"/> - <Chronometer - android:id="@+id/rtt_timer" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:fontFamily="sans-serif-medium" - android:includeFontPadding="false" - android:textColor="#FFFFFF" - android:textSize="14sp" - tools:text="00:09"/> - </LinearLayout> - <ImageButton - android:id="@+id/rtt_overflow_button" - android:layout_width="32dp" - android:layout_height="32dp" - android:layout_marginEnd="12dp" - android:layout_alignParentEnd="true" - android:layout_centerVertical="true" - android:background="@android:color/transparent" - android:contentDescription="@string/content_description_overflow" - android:scaleType="fitXY" - android:src="@drawable/quantum_ic_more_vert_vd_theme_24" - android:tint="#FFFFFF"/> + android:layout_height="wrap_content" + android:orientation="vertical"> + <RelativeLayout + android:layout_width="match_parent" + android:layout_height="?attr/actionBarSize" + android:background="#F305228F" + android:elevation="3dp"> + <ImageButton + android:id="@+id/rtt_end_call_button" + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_marginStart="16dp" + android:layout_alignParentStart="true" + android:layout_centerVertical="true" + android:background="@android:color/transparent" + android:contentDescription="@string/incall_content_description_end_call" + android:scaleType="fitXY" + android:src="@drawable/quantum_ic_call_end_vd_theme_24" + android:tint="#FFDF0000"/> + <LinearLayout + android:layout_width="260dp" + android:layout_height="match_parent" + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" + android:layout_marginStart="32dp" + android:layout_toEndOf="@id/rtt_end_call_button" + android:orientation="vertical"> + <TextView + android:id="@+id/rtt_name_or_number" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:fontFamily="sans-serif-medium" + android:includeFontPadding="false" + android:textColor="#FFFFFF" + android:textSize="20sp" + tools:text="Bruce Graham"/> + <Chronometer + android:id="@+id/rtt_timer" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:fontFamily="sans-serif-medium" + android:includeFontPadding="false" + android:textColor="#FFFFFF" + android:textSize="14sp" + tools:text="00:09"/> + </LinearLayout> + <ImageButton + android:id="@+id/rtt_overflow_button" + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_marginEnd="12dp" + android:layout_alignParentEnd="true" + android:layout_centerVertical="true" + android:background="@android:color/transparent" + android:contentDescription="@string/content_description_overflow" + android:scaleType="fitXY" + android:src="@drawable/quantum_ic_more_vert_vd_theme_24" + android:tint="#FFFFFF"/> -</RelativeLayout>
\ No newline at end of file + </RelativeLayout> + <FrameLayout + android:id="@id/rtt_on_hold_banner" + android:layout_width="match_parent" + android:layout_height="wrap_content"/> + +</LinearLayout>
\ No newline at end of file |