From d813cffb9fe9bef161426bca85ac9007ef816a86 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Tue, 20 Aug 2019 16:46:13 +0400 Subject: [PATCH] ui: Add template main ui (with one button "Connect") --- app/src/main/res/layout/activity_main.xml | 16 +++++++--------- app/src/main/res/values/strings.xml | 1 + 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 980638c..6027366 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,19 +1,17 @@ - + tools:context=".MainActivity" android:orientation="vertical" + android:gravity="center"> - + android:text="@string/connect_button" + android:layout_gravity="center"/> - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 279f22e..4bebd1e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,3 +1,4 @@ Yggdrasil + Connect