Improved call layout for small devices.
This commit is contained in:
@@ -79,11 +79,18 @@
|
|||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:id="@+id/callRow"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:layout_width="fill_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@id/uriRow"
|
||||||
|
android:paddingBottom="10dp" >
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/callButton"
|
android:id="@+id/callButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/uriRow"
|
|
||||||
android:padding="0dp"
|
android:padding="0dp"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:src="@drawable/call_green"
|
android:src="@drawable/call_green"
|
||||||
@@ -94,7 +101,6 @@
|
|||||||
android:id="@+id/hangupButton"
|
android:id="@+id/hangupButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/uriRow"
|
|
||||||
android:padding="0dp"
|
android:padding="0dp"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:src="@drawable/hangup"
|
android:src="@drawable/hangup"
|
||||||
@@ -107,7 +113,6 @@
|
|||||||
android:id="@+id/answerButton"
|
android:id="@+id/answerButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/uriRow"
|
|
||||||
android:padding="0dp"
|
android:padding="0dp"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
@@ -122,7 +127,6 @@
|
|||||||
android:id="@+id/rejectButton"
|
android:id="@+id/rejectButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/uriRow"
|
|
||||||
android:padding="0dp"
|
android:padding="0dp"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:src="@drawable/hangup"
|
android:src="@drawable/hangup"
|
||||||
@@ -135,7 +139,6 @@
|
|||||||
android:id="@+id/holdButton"
|
android:id="@+id/holdButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/uriRow"
|
|
||||||
android:padding="0dp"
|
android:padding="0dp"
|
||||||
android:src="@drawable/pause"
|
android:src="@drawable/pause"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
@@ -149,11 +152,10 @@
|
|||||||
android:id="@+id/transferButton"
|
android:id="@+id/transferButton"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/uriRow"
|
|
||||||
android:padding="0dp"
|
android:padding="0dp"
|
||||||
android:src="@drawable/call_transfer"
|
android:src="@drawable/call_transfer"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
android:layout_marginStart="140dp"
|
android:layout_marginStart="135dp"
|
||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:visibility="invisible"
|
android:visibility="invisible"
|
||||||
android:contentDescription="@string/call_transfer" >
|
android:contentDescription="@string/call_transfer" >
|
||||||
@@ -161,22 +163,23 @@
|
|||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/dtmf"
|
android:id="@+id/dtmf"
|
||||||
android:layout_width="64dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/uriRow"
|
android:layout_toEndOf="@+id/transferButton"
|
||||||
android:layout_marginStart="210dp"
|
android:layout_toStartOf="@+id/info"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
android:layout_marginEnd="16dp"
|
||||||
|
android:hint="@string/dtmf"
|
||||||
|
android:importantForAutofill="no"
|
||||||
android:inputType="phone"
|
android:inputType="phone"
|
||||||
android:textSize="20sp"
|
android:textSize="20sp"
|
||||||
android:hint="@string/dtmf"
|
android:visibility="invisible">
|
||||||
android:visibility="invisible"
|
|
||||||
android:importantForAutofill="no" >
|
|
||||||
</EditText>
|
</EditText>
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/info"
|
android:id="@+id/info"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/uriRow"
|
|
||||||
android:padding="0dp"
|
android:padding="0dp"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
android:src="@drawable/info"
|
android:src="@drawable/info"
|
||||||
@@ -189,6 +192,8 @@
|
|||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|||||||
Reference in New Issue
Block a user