ui: Add template main ui (with one button "Connect")

This commit is contained in:
ChronosX88 2019-08-20 16:46:13 +04:00
parent 77968ff8d6
commit d813cffb9f
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A
2 changed files with 8 additions and 9 deletions

View File

@ -1,19 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".MainActivity"> tools:context=".MainActivity" android:orientation="vertical"
android:gravity="center">
<TextView <Button
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Hello World!" android:text="@string/connect_button"
app:layout_constraintBottom_toBottomOf="parent" android:layout_gravity="center"/>
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
</android.support.constraint.ConstraintLayout> </LinearLayout>

View File

@ -1,3 +1,4 @@
<resources> <resources>
<string name="app_name">Yggdrasil</string> <string name="app_name">Yggdrasil</string>
<string name="connect_button">Connect</string>
</resources> </resources>