mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 06:14:10 +01:00
Reformat layouts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
796f24143a
commit
e0c7b01e31
@ -20,9 +20,9 @@
|
||||
-->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:fitsSystemWindows="true"
|
||||
tools:context=".activities.MagicCallActivity">
|
||||
|
||||
|
@ -8,9 +8,9 @@
|
||||
tools:context=".activities.MainActivity">
|
||||
|
||||
<android.support.design.widget.AppBarLayout
|
||||
android:id="@+id/appBarLayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/appBarLayout">
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<android.support.v7.widget.Toolbar
|
||||
android:id="@+id/toolbar"
|
||||
|
@ -33,9 +33,9 @@
|
||||
android:visibility="invisible"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/avatarImageView"
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="80dp"
|
||||
android:id="@+id/avatarImageView"
|
||||
android:layout_centerInParent="true"/>
|
||||
|
||||
<ImageView
|
||||
|
@ -47,6 +47,7 @@
|
||||
android:indeterminateTintMode="src_in"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/connectingTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/progress_bar"
|
||||
@ -54,8 +55,7 @@
|
||||
android:layout_margin="16dp"
|
||||
android:text="@string/nc_connecting_call"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@color/white"
|
||||
android:id="@+id/connectingTextView"/>
|
||||
android:textColor="@color/white"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
@ -77,8 +77,8 @@
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentEnd="true">
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentTop="true">
|
||||
|
||||
<org.webrtc.SurfaceViewRenderer
|
||||
android:id="@+id/pip_video_view"
|
||||
@ -93,8 +93,8 @@
|
||||
android:id="@+id/call_control_switch_camera"
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:layout_gravity="center_horizontal|bottom"
|
||||
android:layout_marginBottom="20dp"
|
||||
|
||||
app:checked="false"
|
||||
app:enableInitialAnimation="false"
|
||||
@ -153,13 +153,13 @@
|
||||
android:id="@+id/callControlEnableSpeaker"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
app:checked="false"
|
||||
android:visibility="gone"
|
||||
app:animateRearImage="false"
|
||||
app:checked="false"
|
||||
app:enableInitialAnimation="false"
|
||||
app:frontBackgroundColor="@color/colorPrimary"
|
||||
app:animateRearImage="false"
|
||||
app:rearBackgroundColor="@color/colorPrimaryDark"
|
||||
app:frontImage="@drawable/ic_volume_up_white_24dp"
|
||||
app:rearBackgroundColor="@color/colorPrimaryDark"
|
||||
app:rearImage="@drawable/ic_volume_up_white_24dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
@ -48,12 +48,12 @@
|
||||
android:id="@+id/conversationNameTextView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/incomingCallTextView"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:ellipsize="marquee"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="28sp"
|
||||
android:layout_marginBottom="16dp"
|
||||
android:layout_below="@+id/incomingCallTextView"
|
||||
tools:text="Victor Gregorius Magnus"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
@ -21,25 +21,25 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:layout_toStartOf="@+id/fast_scroller_handle"
|
||||
android:background="@drawable/fast_scroller_bubble"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:textColor="?android:attr/textColorPrimaryInverse"
|
||||
android:textSize="38sp"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
tools:text="A" />
|
||||
tools:text="A"
|
||||
tools:visibility="visible"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fast_scroller_handle"
|
||||
android:alpha="0.5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:paddingStart="6dp"
|
||||
android:alpha="0.5"
|
||||
android:contentDescription="@null"
|
||||
android:paddingStart="6dp"
|
||||
android:src="@drawable/fast_scroller_handle"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
@ -47,8 +47,8 @@
|
||||
android:layout_toEndOf="@id/icon_image_view"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
tools:text="Start a new conversation"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
@ -49,8 +49,8 @@
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="10dp"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
android:src="@drawable/ic_lock_white_24px"
|
||||
android:visibility="visible"/>
|
||||
|
||||
|
@ -52,8 +52,8 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginStart="@dimen/margin_between_elements"
|
||||
android:layout_marginEnd="@dimen/margin_between_elements"
|
||||
android:layout_marginStart="@dimen/margin_between_elements"
|
||||
android:layout_toEndOf="@id/frame_layout"
|
||||
android:orientation="vertical">
|
||||
|
||||
@ -70,8 +70,8 @@
|
||||
android:id="@+id/secondary_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="middle"
|
||||
android:singleLine="true"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
tools:text="A week ago"/>
|
||||
|
||||
|
@ -35,8 +35,8 @@
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
android:gravity="center_vertical"
|
||||
android:textSize="16sp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="16sp"
|
||||
tools:drawableLeft="@drawable/ic_add_grey600_24px"
|
||||
tools:drawablePadding="16dp"
|
||||
tools:text="Start a new conversation"/>
|
||||
|
@ -21,9 +21,9 @@
|
||||
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:padding="8dp">
|
||||
|
||||
<ProgressBar
|
||||
@ -37,8 +37,8 @@
|
||||
android:id="@+id/progress_message"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/nc_no_more_load_retry"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/nc_no_more_load_retry"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"/>
|
||||
|
||||
|
@ -34,10 +34,10 @@
|
||||
android:id="@+id/title_text_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:textColor="@color/colorPrimary"
|
||||
tools:text="A"/>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user