login-, picture-button to fragment_profile.xml

button's are next to each other
This commit is contained in:
Paul Lagerweij
2017-06-20 13:01:51 +02:00
parent b9ab2676a6
commit 3aac4fc96d
4 changed files with 24 additions and 9 deletions

View File

@@ -14,11 +14,6 @@
android:layout_height="wrap_content"
android:text="@string/hello_camera" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="logOutOnClick"
android:text="LogOut" />
</LinearLayout>
<!-- TODO: Update blank fragment layout -->

View File

@@ -4,10 +4,26 @@
android:layout_height="match_parent"
tools:context="nl.myhyvesbookplus.tagram.ProfileFragment">
<!-- TODO: Update blank fragment layout -->
<TextView
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/hello_blank_fragment" />
android:layout_height="wrap_content"
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>

View File

@@ -13,4 +13,6 @@
<string name="username">Gebruikersnaam</string>
<string name="confirm_password_hint">bevestig wachtwoord</string>
<string name="logo_text">MyHyvesBookPlusTagram logo</string>
<string name="logout_button">Uitloggen</string>
<string name="profile_picture_button">Profiel Foto</string>
</resources>

View File

@@ -18,4 +18,6 @@
<string name="hello_blank_fragment">Hello blank fragment</string>
<string name="hello_camera">Hello Camera</string>
<string name="logo_text">MyHyvesBookPlusTagram logo</string>
<string name="logout_button">LogOut</string>
<string name="profile_picture_button">Profile Picture</string>
</resources>