Skip to content
This repository was archived by the owner on Aug 22, 2024. It is now read-only.

Commit 161ea3f

Browse files
committed
[FIXED] Minor copy paste issues.
[ADDED] Tablet device screenshots.
1 parent 361cf3d commit 161ea3f

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

app/src/main/res/layout/preview_dimension_percent.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
See `layout_constraintWidth_percent`
3232
-->
3333
<ImageView
34-
android:id="@+id/view_dimension_ratio_1to1"
34+
android:id="@+id/view_dimension_demo1"
3535
android:layout_width="0dp"
3636
android:layout_height="wrap_content"
3737
android:layout_marginStart="30dp"
@@ -48,14 +48,14 @@
4848
See `layout_constraintHeight_percent`
4949
-->
5050
<ImageView
51-
android:id="@+id/view_dimension_ratio_16to9_width_constrained"
51+
android:id="@+id/view_dimension_demo2"
5252
android:layout_width="wrap_content"
5353
android:layout_height="0dp"
5454
android:background="@color/md_pink_300"
5555
android:src="@drawable/ic_image_black_140dp"
5656
app:layout_constraintBottom_toBottomOf="parent"
5757
app:layout_constraintEnd_toEndOf="parent"
5858
app:layout_constraintHeight_percent="0.90"
59-
app:layout_constraintStart_toEndOf="@+id/view_dimension_ratio_1to1"
59+
app:layout_constraintStart_toEndOf="@+id/view_dimension_demo1"
6060
app:layout_constraintTop_toTopOf="parent" />
6161
</androidx.constraintlayout.widget.ConstraintLayout>

app/src/main/res/layout/preview_virtual_helper_guideline.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@
3737
app:layout_constraintGuide_percent="0.30" />
3838

3939
<!--
40-
Horizontal guideline to use it as a end of fields at 500% of the screen.
40+
Horizontal guideline to use it as a end of fields at 60% of the screen.
4141
After this line we have put the "LOGIN" button.
4242
-->
4343
<androidx.constraintlayout.widget.Guideline
4444
android:id="@+id/guideline_horizontal_bottom"
4545
android:layout_width="0dp"
4646
android:layout_height="0dp"
4747
android:orientation="horizontal"
48-
app:layout_constraintGuide_percent="0.5" />
48+
app:layout_constraintGuide_percent="0.6" />
4949

5050
<!--
5151
@@ -63,9 +63,9 @@
6363
android:layout_height="wrap_content"
6464
android:layout_marginEnd="8dp"
6565
android:text="Username"
66-
app:layout_constraintBottom_toBottomOf="@+id/editText"
66+
app:layout_constraintBottom_toBottomOf="@+id/username_input"
6767
app:layout_constraintEnd_toStartOf="@+id/guideline_vertical"
68-
app:layout_constraintTop_toTopOf="@+id/editText" />
68+
app:layout_constraintTop_toTopOf="@+id/username_input" />
6969

7070
<TextView
7171
android:id="@+id/password_label"
@@ -74,12 +74,12 @@
7474
android:layout_height="wrap_content"
7575
android:layout_marginEnd="8dp"
7676
android:text="Password"
77-
app:layout_constraintBottom_toBottomOf="@+id/editText2"
77+
app:layout_constraintBottom_toBottomOf="@+id/password_input"
7878
app:layout_constraintEnd_toStartOf="@+id/guideline_vertical"
79-
app:layout_constraintTop_toTopOf="@+id/editText2" />
79+
app:layout_constraintTop_toTopOf="@+id/password_input" />
8080

8181
<EditText
82-
android:id="@+id/editText"
82+
android:id="@+id/username_input"
8383
android:layout_width="wrap_content"
8484
android:layout_height="wrap_content"
8585
android:ems="10"
@@ -89,13 +89,13 @@
8989
app:layout_constraintTop_toTopOf="@+id/guideline_horizontal_top" />
9090

9191
<EditText
92-
android:id="@+id/editText2"
92+
android:id="@+id/password_input"
9393
android:layout_width="wrap_content"
9494
android:layout_height="wrap_content"
9595
android:ems="10"
9696
android:inputType="textPassword"
9797
app:layout_constraintStart_toStartOf="@+id/guideline_vertical"
98-
app:layout_constraintTop_toBottomOf="@+id/editText" />
98+
app:layout_constraintTop_toBottomOf="@+id/username_input" />
9999

100100
<Button
101101
android:id="@+id/login_button"

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ buildscript {
1616
* https://github.com/JetBrains/kotlin/releases
1717
* https://blog.jetbrains.com/kotlin/category/releases/
1818
*/
19-
ext.kotlinVersion = '1.3.20'
19+
ext.kotlinVersion = '1.3.21'
2020

2121
/*
2222
* Android Plugin for Gradle - Version number and release notes
158 KB
Loading
116 KB
Loading
126 KB
Loading

0 commit comments

Comments
 (0)