|
|
@@ -1,277 +0,0 @@
|
|
|
-<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:id="@+id/_dialer"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- tools:context="com.sduduzog.slimlauncher.ui.main.DialerFragment">
|
|
|
-
|
|
|
- <TableLayout
|
|
|
- android:id="@+id/dialer_keys"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
- android:layout_marginBottom="32dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/fab_dialer"
|
|
|
- app:layout_constraintDimensionRatio="h,5:4"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent">
|
|
|
-
|
|
|
- <TableRow
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
-
|
|
|
- android:gravity="center">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_one"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="1"
|
|
|
- android:text="1"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_two"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="2"
|
|
|
- android:text="2"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_three"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="3"
|
|
|
- android:text="3"
|
|
|
- android:textSize="30sp" />
|
|
|
- </TableRow>
|
|
|
-
|
|
|
- <TableRow
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_four"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="4"
|
|
|
- android:text="4"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_five"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="5"
|
|
|
- android:text="5"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_six"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="6"
|
|
|
- android:text="6"
|
|
|
- android:textSize="30sp" />
|
|
|
- </TableRow>
|
|
|
-
|
|
|
- <TableRow
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_seven"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="7"
|
|
|
- android:text="7"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_eight"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="8"
|
|
|
- android:text="8"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_nine"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="9"
|
|
|
- android:text="9"
|
|
|
- android:textSize="30sp" />
|
|
|
- </TableRow>
|
|
|
-
|
|
|
- <TableRow
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_star"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="*"
|
|
|
- android:text="*"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_zero"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="0"
|
|
|
- android:text="0"
|
|
|
- android:textSize="30sp" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/dial_hash"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:tag="#"
|
|
|
- android:text="#"
|
|
|
- android:textSize="30sp" />
|
|
|
- </TableRow>
|
|
|
-
|
|
|
- </TableLayout>
|
|
|
-
|
|
|
- <com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
|
- android:id="@+id/fab_dialer"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="32dp"
|
|
|
- android:clickable="true"
|
|
|
- android:focusable="true"
|
|
|
- android:src="@drawable/ic_call"
|
|
|
- android:tint="?android:attr/colorForeground"
|
|
|
- app:backgroundTint="?android:attr/colorBackground"
|
|
|
- app:backgroundTintMode="src_in"
|
|
|
- app:elevation="0dp"
|
|
|
- app:fabCustomSize="75dp"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintEnd_toEndOf="@+id/dialer_keys"
|
|
|
- app:layout_constraintStart_toStartOf="@+id/dialer_keys"
|
|
|
- app:rippleColor="?android:attr/statusBarColor" />
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:id="@+id/editText2"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="16dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:layout_marginBottom="5dp"
|
|
|
- android:background="@android:color/transparent"
|
|
|
- android:ems="10"
|
|
|
- android:gravity="center"
|
|
|
- android:inputType="textPersonName"
|
|
|
- android:padding="16dp"
|
|
|
- android:textSize="32sp"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/divider"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- tools:ignore="Autofill,LabelFor" />
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/divider"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
- android:layout_marginBottom="8dp"
|
|
|
- android:background="?android:attr/listDivider"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/dialer_keys"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/chevron"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
- android:clickable="true"
|
|
|
- android:contentDescription="@string/dialer_chevron"
|
|
|
- android:focusable="true"
|
|
|
- android:padding="8dp"
|
|
|
- android:src="@drawable/ic_chevron_left"
|
|
|
- android:visibility="invisible"
|
|
|
- app:layout_constraintBottom_toBottomOf="@+id/editText2"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="@+id/editText2" />
|
|
|
-
|
|
|
-</androidx.constraintlayout.widget.ConstraintLayout>
|