removing a redundant wrapper of the dialpad

This commit is contained in:
tibbi 2018-09-25 13:34:31 +02:00
parent b0c1f4e30d
commit dac59dabcf
2 changed files with 182 additions and 188 deletions

View File

@ -46,7 +46,7 @@ class DialpadActivity : SimpleActivity() {
override fun onResume() { override fun onResume() {
super.onResume() super.onResume()
updateTextColors(dialpad_wrapper) updateTextColors(dialpad_holder)
dialpad_clear_char.applyColorFilter(config.textColor) dialpad_clear_char.applyColorFilter(config.textColor)
} }

View File

@ -1,13 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout <android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/dialpad_wrapper"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.constraint.ConstraintLayout
android:id="@+id/dialpad_holder" android:id="@+id/dialpad_holder"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -31,8 +26,8 @@
android:layout_height="0dp" android:layout_height="0dp"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:paddingLeft="@dimen/normal_margin"
android:paddingStart="@dimen/normal_margin" android:paddingStart="@dimen/normal_margin"
android:paddingLeft="@dimen/normal_margin"
app:layout_constraintBottom_toBottomOf="@+id/dialpad_list" app:layout_constraintBottom_toBottomOf="@+id/dialpad_list"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/dialpad_list"> app:layout_constraintTop_toTopOf="@+id/dialpad_list">
@ -209,4 +204,3 @@
app:layout_constraintStart_toEndOf="@+id/dialpad_0"/> app:layout_constraintStart_toEndOf="@+id/dialpad_0"/>
</android.support.constraint.ConstraintLayout> </android.support.constraint.ConstraintLayout>
</RelativeLayout>