Switched to DayNight for styling -> great code reduction, further Kotlin conversion

This commit is contained in:
Deniz Düzgören
2019-05-21 18:55:29 +02:00
parent 3b7a89b512
commit 2cec9ebd67
50 changed files with 550 additions and 723 deletions
+9 -9
View File
@@ -34,7 +34,7 @@
android:id="@+id/dating_txt"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:textColor="?attr/colorText"
android:textColor="@color/textcolor"
android:text="@string/havefun"/>
<LinearLayout
@@ -51,7 +51,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:textColorHint="?attr/colorHint"
android:textColorHint="@color/hintcolor"
android:hint="@string/boy"
android:importantForAutofill="no">
@@ -60,7 +60,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textNoSuggestions"
android:textColor="?attr/colorText"
android:textColor="@color/textcolor"
android:singleLine="true"/>
</com.google.android.material.textfield.TextInputLayout>
@@ -70,7 +70,7 @@
android:layout_width="0px"
android:layout_weight="3"
android:layout_height="wrap_content"
android:textColor="?attr/colorText"
android:textColor="@color/textcolor"
android:text="Shuffle"/>
</LinearLayout>
@@ -89,7 +89,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:textColorHint="?attr/colorHint"
android:textColorHint="@color/hintcolor"
android:hint="@string/girl"
android:importantForAutofill="no">
@@ -98,7 +98,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textNoSuggestions"
android:textColor="?attr/colorText"
android:textColor="@color/textcolor"
android:singleLine="true"/>
</com.google.android.material.textfield.TextInputLayout>
@@ -108,7 +108,7 @@
android:layout_width="0px"
android:layout_weight="3"
android:layout_height="wrap_content"
android:textColor="?attr/colorText"
android:textColor="@color/textcolor"
android:text="Shuffle"/>
</LinearLayout>
@@ -126,7 +126,7 @@
android:text="@string/calculate"
android:textColor="@color/datingPink"
app:strokeColor="@color/datingPink"
app:strokeWidth="1dp"
app:strokeWidth="2dp"
android:layout_gravity="start|center_vertical"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"/>
@@ -136,7 +136,7 @@
android:layout_weight="5"
android:layout_height="wrap_content"
android:textSize="20sp"
android:textColor="?attr/colorText"
android:textColor="@color/textcolor"
android:layout_marginStart="24dp"
android:layout_gravity="end|center_vertical"/>