#14: WIP we now show the new GUI properly

This commit is contained in:
geeksville 2020-04-18 16:30:30 -07:00
parent 840dbd491e
commit b4bf682df0
6 changed files with 177 additions and 19 deletions

View file

@ -35,8 +35,8 @@
android:id="@+id/usernameEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:imeOptions="actionDone" />
android:imeOptions="actionDone"
android:singleLine="true" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textview.MaterialTextView
@ -66,7 +66,7 @@
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/scanStatusText">
app:layout_constraintTop_toBottomOf="@+id/changeRadioButton">
<RadioButton
android:id="@+id/radioButton2"
@ -105,5 +105,15 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
<Button
android:id="@+id/changeRadioButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/select_radio"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/scanStatusText" />
</androidx.constraintlayout.widget.ConstraintLayout>

View file

@ -41,4 +41,8 @@
<string name="report_a_bug">Report a bug</string>
<string name="report_bug_text">Are you sure you want to report a bug? After reporting, please post in meshtastic.discourse.group so we can match up the report with what you found.</string>
<string name="report">Report</string>
<string name="select_radio">Select radio</string>
<string name="current_pair">You are currently paired with radio %s</string>
<string name="not_paired_yet">You have not paired a radio yet.</string>
<string name="change_radio">Change radio</string>
</resources>