aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_selector.xml39
-rw-r--r--app/src/main/res/layout/view_account.xml14
-rw-r--r--app/src/main/res/values/colors.xml4
-rw-r--r--app/src/main/res/values/dimens.xml1
4 files changed, 35 insertions, 23 deletions
diff --git a/app/src/main/res/layout/activity_selector.xml b/app/src/main/res/layout/activity_selector.xml
index f238d2ff..e7332925 100644
--- a/app/src/main/res/layout/activity_selector.xml
+++ b/app/src/main/res/layout/activity_selector.xml
@@ -4,17 +4,20 @@
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:background="@color/facebook_blue"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:paddingEnd="@dimen/activity_horizontal_margin"
+ android:paddingStart="@dimen/activity_horizontal_margin"
+ android:paddingTop="@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:layout_marginTop="@dimen/activity_vertical_margin"
android:text="@string/select_facebook_account"
+ android:textColor="@android:color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
@@ -25,23 +28,25 @@
<android.support.v7.widget.RecyclerView
android:id="@+id/selector_recycler"
android:layout_width="wrap_content"
- android:layout_height="0dp"
+ android:layout_height="wrap_content"
+ app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
- app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintStart_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/text_select_account"
+ app:layout_constraintVertical_bias="0.3"
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.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
index 676b46d6..92486184 100644
--- a/app/src/main/res/layout/view_account.xml
+++ b/app/src/main/res/layout/view_account.xml
@@ -7,12 +7,18 @@
<ImageView
android:id="@+id/account_image"
- android:layout_width="200dp"
- android:layout_height="200dp" />
+ android:layout_width="@dimen/account_image_size"
+ android:layout_height="@dimen/account_image_size" />
+
+ <android.support.v4.widget.Space
+ android:layout_width="1dp"
+ android:layout_height="20dp" />
<android.support.v7.widget.AppCompatTextView
android:id="@+id/account_text"
- android:layout_width="200dp"
+ android:layout_width="@dimen/account_image_size"
android:layout_height="wrap_content"
- android:maxLines="1" />
+ android:maxLines="1"
+ android:textAlignment="center"
+ android:textColor="@android:color/white" />
</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 2215743c..0a058ccf 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <color name="colorPrimary">#3F51B5</color>
- <color name="colorPrimaryDark">#303F9F</color>
+ <color name="colorPrimary">@color/facebook_blue</color>
+ <color name="colorPrimaryDark">@color/facebook_blue_dark</color>
<color name="colorAccent">#FF4081</color>
<color name="splashBackground">@color/facebook_blue</color>
<color name="facebook_blue">#3b5998</color>
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 6881e351..24bba22f 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -9,5 +9,6 @@
<dimen name="appbar_padding_top">8dp</dimen>
<dimen name="splash_logo">16dp</dimen>
<dimen name="progress_bar_height">1dip</dimen>
+ <dimen name="account_image_size">100dp</dimen>
</resources>