aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-05 23:06:15 -0700
committerAllan Wang <me@allanwang.ca>2017-06-05 23:06:15 -0700
commitbc0559e9cc494df35d8cbeaf4aa49f16549ee3e3 (patch)
tree296c9a2c9912879497d845ed3bf5e6daf53dec86 /app/src/main/res
parentbb49bd9c9f4fe44426c9a576827ad6a96a3ebda4 (diff)
downloadfrost-bc0559e9cc494df35d8cbeaf4aa49f16549ee3e3.tar.gz
frost-bc0559e9cc494df35d8cbeaf4aa49f16549ee3e3.tar.bz2
frost-bc0559e9cc494df35d8cbeaf4aa49f16549ee3e3.zip
test
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_selector.xml47
-rw-r--r--app/src/main/res/layout/view_account.xml18
-rw-r--r--app/src/main/res/values/ids.xml4
-rw-r--r--app/src/main/res/values/strings.xml2
4 files changed, 71 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_selector.xml b/app/src/main/res/layout/activity_selector.xml
new file mode 100644
index 00000000..f238d2ff
--- /dev/null
+++ b/app/src/main/res/layout/activity_selector.xml
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginBottom="@dimen/activity_vertical_margin"
+ android:layout_marginEnd="@dimen/activity_horizontal_margin"
+ android:layout_marginStart="@dimen/activity_horizontal_margin"
+ android:layout_marginTop="@dimen/activity_vertical_margin">
+
+ <android.support.v7.widget.AppCompatTextView
+ android:id="@+id/text_select_account"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:text="@string/select_facebook_account"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:layout_editor_absoluteX="0dp"
+ tools:layout_editor_absoluteY="0dp" />
+
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/selector_recycler"
+ android:layout_width="wrap_content"
+ android:layout_height="0dp"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/text_select_account"
+ tools:layout_editor_absoluteX="0dp"
+ tools:layout_editor_absoluteY="0dp" />
+
+ <android.support.v7.widget.AppCompatTextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:text="@string/select_facebook_account"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.5"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/selector_recycler"
+ tools:layout_editor_absoluteX="8dp"
+ tools:layout_editor_absoluteY="0dp" />
+</android.support.constraint.ConstraintLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/view_account.xml b/app/src/main/res/layout/view_account.xml
new file mode 100644
index 00000000..676b46d6
--- /dev/null
+++ b/app/src/main/res/layout/view_account.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:padding="@dimen/activity_vertical_margin">
+
+ <ImageView
+ android:id="@+id/account_image"
+ android:layout_width="200dp"
+ android:layout_height="200dp" />
+
+ <android.support.v7.widget.AppCompatTextView
+ android:id="@+id/account_text"
+ android:layout_width="200dp"
+ android:layout_height="wrap_content"
+ android:maxLines="1" />
+</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/ids.xml b/app/src/main/res/values/ids.xml
new file mode 100644
index 00000000..8df89eb6
--- /dev/null
+++ b/app/src/main/res/values/ids.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <item name="item_account" type="id" />
+</resources> \ 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 f99bd0ce..7287c4c0 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -25,4 +25,6 @@
<string name="loading_account">Getting everything ready…</string>
<string name="welcome">Welcome %s</string>
<string name="login">Login</string>
+ <string name="select_facebook_account">Select Facebook Account</string>
+ <string name="add_account">Add Account</string>
</resources>