aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_selector.xml
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-06 00:43:57 -0700
committerAllan Wang <me@allanwang.ca>2017-06-06 00:43:57 -0700
commitc4e22f5512570d05178711ba90c28eb6dc288253 (patch)
tree520e84e0956ba886620328642814d3126a852d5d /app/src/main/res/layout/activity_selector.xml
parent39a09a3ec1b62fe2c82bf1ad067515b1f974472b (diff)
downloadfrost-c4e22f5512570d05178711ba90c28eb6dc288253.tar.gz
frost-c4e22f5512570d05178711ba90c28eb6dc288253.tar.bz2
frost-c4e22f5512570d05178711ba90c28eb6dc288253.zip
Beautify accounts selector
Diffstat (limited to 'app/src/main/res/layout/activity_selector.xml')
-rw-r--r--app/src/main/res/layout/activity_selector.xml39
1 files changed, 22 insertions, 17 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