login-, picture-button to fragment_profile.xml
button's are next to each other
This commit is contained in:
@@ -14,11 +14,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/hello_camera" />
|
android:text="@string/hello_camera" />
|
||||||
|
|
||||||
<Button
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:onClick="logOutOnClick"
|
|
||||||
android:text="LogOut" />
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<!-- TODO: Update blank fragment layout -->
|
<!-- TODO: Update blank fragment layout -->
|
||||||
|
|
||||||
|
|||||||
@@ -4,10 +4,26 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context="nl.myhyvesbookplus.tagram.ProfileFragment">
|
tools:context="nl.myhyvesbookplus.tagram.ProfileFragment">
|
||||||
|
|
||||||
<!-- TODO: Update blank fragment layout -->
|
<LinearLayout
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/hello_blank_fragment" />
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/logout_button"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight=".50"
|
||||||
|
android:onClick="logOutOnClick"
|
||||||
|
android:text="@string/logout_button" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/profile_pic_button"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight=".50"
|
||||||
|
android:text="@string/profile_picture_button" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|||||||
@@ -13,4 +13,6 @@
|
|||||||
<string name="username">Gebruikersnaam</string>
|
<string name="username">Gebruikersnaam</string>
|
||||||
<string name="confirm_password_hint">bevestig wachtwoord</string>
|
<string name="confirm_password_hint">bevestig wachtwoord</string>
|
||||||
<string name="logo_text">MyHyvesBookPlusTagram logo</string>
|
<string name="logo_text">MyHyvesBookPlusTagram logo</string>
|
||||||
|
<string name="logout_button">Uitloggen</string>
|
||||||
|
<string name="profile_picture_button">Profiel Foto</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -18,4 +18,6 @@
|
|||||||
<string name="hello_blank_fragment">Hello blank fragment</string>
|
<string name="hello_blank_fragment">Hello blank fragment</string>
|
||||||
<string name="hello_camera">Hello Camera</string>
|
<string name="hello_camera">Hello Camera</string>
|
||||||
<string name="logo_text">MyHyvesBookPlusTagram logo</string>
|
<string name="logo_text">MyHyvesBookPlusTagram logo</string>
|
||||||
|
<string name="logout_button">LogOut</string>
|
||||||
|
<string name="profile_picture_button">Profile Picture</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user