Skip to content

Commit

Permalink
Apply UI theme (6) - Camera texts rearrange
Browse files Browse the repository at this point in the history
  • Loading branch information
zealotzealot committed Dec 1, 2019
1 parent 17af48b commit b2cc162
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
5 changes: 5 additions & 0 deletions android/app/src/main/res/drawable/rectangle_opaque.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/rectangle">
<corners android:radius="10dp" />
<solid android:color="#e0ffffff" />
</shape>
22 changes: 17 additions & 5 deletions android/app/src/main/res/layout/activity_camera.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,32 @@
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@id/cameraSurfaceView">
app:layout_constraintTop_toTopOf="parent">

<View
android:id="@+id/rectangleView4"
android:layout_width="0dp"
android:layout_height="72dp"
android:layout_marginBottom="24dp"
android:layout_marginEnd="45dp"
android:layout_marginStart="45dp"
android:background="@drawable/rectangle_opaque"
app:layout_constraintBottom_toTopOf="@+id/cameraButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />

<RadioGroup
android:id="@+id/radioGroup"
android:layout_width="200dp"
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:checkedButton="@+id/cameraRadioButtonIdpw"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView3">
app:layout_constraintBottom_toBottomOf="@id/rectangleView4">

<RadioButton
android:id="@+id/cameraRadioButtonIdpw"
Expand Down Expand Up @@ -70,13 +82,13 @@
android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="18dp"
android:layout_marginTop="8dp"
android:text="Take a photo with Wi-Fi information"
android:textColor="@color/colorBlack"
android:textSize="16sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
app:layout_constraintTop_toTopOf="@+id/rectangleView4" />
</android.support.constraint.ConstraintLayout>

</android.support.constraint.ConstraintLayout>

0 comments on commit b2cc162

Please sign in to comment.