Skip to content

Commit

Permalink
Better account setting activity
Browse files Browse the repository at this point in the history
  • Loading branch information
briceln committed Jan 1, 2019
1 parent 70df74a commit b494387
Showing 1 changed file with 26 additions and 21 deletions.
47 changes: 26 additions & 21 deletions app/src/main/res/layout/activity_account_setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,31 @@
android:layout_height="match_parent"
tools:context=".AccountSetting">

<com.mikhaellopez.circularimageview.CircularImageView
android:id="@+id/avatar_settings"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_marginTop="@dimen/basic_margin"
android:layout_marginEnd="@dimen/basic_margin"
android:contentDescription="@string/app_name"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:id="@+id/linearLayout2"
android:layout_width="match_parent"
android:layout_height="75dp"
android:gravity="center">

<TextView
android:id="@+id/username_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/basic_margin"
android:layout_marginTop="@dimen/basic_margin"
android:layout_marginEnd="@dimen/basic_margin"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/avatar_settings" />

<com.mikhaellopez.circularimageview.CircularImageView
android:id="@+id/avatar_settings"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_marginTop="@dimen/basic_margin"
android:layout_marginEnd="@dimen/basic_margin"
android:contentDescription="@string/app_name" />

<TextView
android:id="@+id/username_settings"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/basic_margin"
android:layout_marginTop="@dimen/basic_margin"
android:layout_marginEnd="@dimen/basic_margin" />


</LinearLayout>

<ScrollView
android:layout_width="match_parent"
Expand All @@ -42,8 +46,9 @@
android:layout_marginEnd="8dp"
android:paddingBottom="50dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/username_settings">
app:layout_constraintTop_toBottomOf="@+id/linearLayout2">

<LinearLayout
android:id="@+id/linearLayout"
Expand Down

0 comments on commit b494387

Please sign in to comment.