Skip to content

Commit

Permalink
Apply UI theme (7) - SelectIdActivity UI and more images
Browse files Browse the repository at this point in the history
  • Loading branch information
zealotzealot committed Dec 1, 2019
1 parent b2cc162 commit 46594ec
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 11 deletions.
10 changes: 5 additions & 5 deletions android/app/src/main/res/layout/activity_fail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.2">
app:layout_constraintVertical_bias="0.15">

<ImageView
android:id="@+id/imageView"
android:layout_width="102dp"
android:layout_height="102dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@color/colorWhite" />
app:srcCompat="@drawable/icon_wifi_3" />

<TextView
android:id="@+id/textView4"
Expand Down Expand Up @@ -59,7 +59,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.6">
app:layout_constraintVertical_bias="0.55">

<android.support.constraint.ConstraintLayout
android:id="@+id/idContraintLayout"
Expand Down
52 changes: 49 additions & 3 deletions android/app/src/main/res/layout/activity_select_id.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,62 @@
<android.support.constraint.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:background="@color/colorPrimary"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.hsh0908y.auto_wifi.SelectIdActivity">

<android.support.constraint.ConstraintLayout
android:id="@+id/constraintLayout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.1">

<ImageView
android:id="@+id/imageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/icon_wifi_3" />

<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
android:text="Please select Wi-Fi to connect"
android:textColor="@color/colorWhite"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView" />
</android.support.constraint.ConstraintLayout>

<ListView
android:id="@+id/selectIdListView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_width="0dp"
android:layout_height="263dp"
android:layout_marginEnd="45dp"
android:layout_marginStart="45dp"
android:background="@color/colorWhite"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.6" />

</android.support.constraint.ConstraintLayout>
6 changes: 3 additions & 3 deletions android/app/src/main/res/layout/activity_success.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@

<ImageView
android:id="@+id/imageView"
android:layout_width="102dp"
android:layout_height="102dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@color/colorWhite" />
app:srcCompat="@drawable/icon_wifi_3" />

<TextView
android:id="@+id/textView4"
Expand Down

0 comments on commit 46594ec

Please sign in to comment.