diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_selector.xml | 39 | ||||
-rw-r--r-- | app/src/main/res/layout/view_account.xml | 14 |
2 files changed, 32 insertions, 21 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 |