diff --git a/app/src/main/res/layout/fragment_panoramio_shower.xml b/app/src/main/res/layout/fragment_panoramio_shower.xml index 5d690b3..0543990 100644 --- a/app/src/main/res/layout/fragment_panoramio_shower.xml +++ b/app/src/main/res/layout/fragment_panoramio_shower.xml @@ -12,60 +12,48 @@ android:layout_weight="1"/> <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content"> - <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/title_label"/> + android:orientation="horizontal"> <TextView android:id="@+id/photo_title" android:layout_width="wrap_content" - android:layout_height="wrap_content"/> + android:layout_height="wrap_content" + android:text="@string/test_string"/> + + <Space android:layout_width="0dp" + android:layout_height="0dp" + android:layout_weight="1" /> + + <TextView android:id="@+id/photo_upload" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/test_string"/> </LinearLayout> <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content"> - <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="@string/author_label"/> + android:orientation="horizontal"> <TextView android:id="@+id/photo_author" android:layout_width="wrap_content" android:layout_height="wrap_content"/> - </LinearLayout> - <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content"> - <TextView android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/upload_date_label"/> - - <TextView android:id="@+id/photo_upload" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - </LinearLayout> - - <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content"> - <TextView android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/location_label"/> + <Space android:layout_width="0dp" + android:layout_height="0dp" + android:layout_weight="1" /> <TextView android:id="@+id/photo_location" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/blue"/> + + </LinearLayout> - <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content"> - <TextView android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/panoramio_url"/> - - <TextView android:id="@+id/photo_url" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - </LinearLayout> + <TextView android:id="@+id/photo_url" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal"/> </LinearLayout>