Files
VscoolOS/app/src/main/res/layout-land/activity_dialer.xml
Fanhuitong 304d809ee9 version:4.0
fix:
update:修改主页,更换图片资源
2023-11-15 15:52:42 +08:00

465 lines
24 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/control_bg"
tools:context=".activity.dialer.DialerActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_16"
android:layout_marginTop="@dimen/dp_32"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/iv_contact"
android:layout_width="@dimen/dp_32"
android:layout_height="@dimen/dp_32"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/contact_edit_contact_def_face"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_contact"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_8"
android:text="联系人"
android:textColor="@color/white"
android:textSize="@dimen/sp_17"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/iv_contact"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayout9"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_48"
android:layout_marginStart="@dimen/dp_16"
android:layout_marginEnd="@dimen/dp_16"
android:background="@drawable/dialer_number_bg"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent">
<EditText
android:id="@+id/et_phone"
android:layout_width="0dp"
android:layout_height="match_parent"
android:background="@null"
android:cursorVisible="true"
android:gravity="center"
android:inputType="phone"
android:letterSpacing="0.1"
android:maxLength="11"
android:paddingStart="@dimen/dp_8"
android:textColor="@color/white"
android:textSize="@dimen/sp_18"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/iv_delete"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="123456789000" />
<ImageView
android:id="@+id/iv_delete"
android:layout_width="@dimen/dp_32"
android:layout_height="@dimen/dp_32"
android:layout_marginEnd="@dimen/dp_8"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_delete"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<com.shehuan.niv.NiceImageView
android:id="@+id/nv_dialer"
android:layout_width="@dimen/dp_64"
android:layout_height="@dimen/dp_64"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/home_dialer_cion_circle"
app:is_circle="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/constraintLayout9" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="@dimen/dp_32"
android:background="@drawable/add_contact_background">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_1"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_topleft_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="@color/noti_font_color" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_2"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_2"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="@color/noti_font_color" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_3"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_topright_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_3"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/noti_font_color" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_4"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_4"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="@color/noti_font_color" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_5"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_5"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="@color/noti_font_color" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_6"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_6"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/noti_font_color" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_7"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_7"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="@color/noti_font_color" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_8"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_8"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="@color/noti_font_color" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_9"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_9"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/noti_font_color" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="horizontal">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_11"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_bottomleft_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_11"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="@color/noti_font_color" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_0"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_0"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="1px"
android:layout_height="match_parent"
android:background="@color/noti_font_color" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/cl_12"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:background="@drawable/bt_dialer_bottomright_selector"
android:clickable="true"
android:focusable="true">
<ImageView
android:layout_width="@dimen/dp_26"
android:layout_height="@dimen/dp_26"
android:adjustViewBounds="true"
android:scaleType="centerCrop"
android:src="@drawable/number_12"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>