photo-android/app/res/layout/list_item_newest_photos.xml
Eugene Popovich b284394ff2 Make Trovebox-Android-App to depend from Trovebox-Android-Common
app:
- res/values/dimens.xml: removed site_padding and site_padding_half
constants
- res/layout*: updated refernces to site_padding* to
trovebox_site_padding* everywhere
2013-12-10 13:34:42 +02:00

99 lines
No EOL
3.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="false"
android:gravity="center_vertical"
android:orientation="vertical"
android:paddingBottom="@dimen/trovebox_site_padding_half"
android:paddingTop="@dimen/trovebox_site_padding_half" >
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center" >
<com.trovebox.android.app.ui.widget.AspectRatioImageView
android:id="@+id/newest_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="0dp"
android:adjustViewBounds="true"
android:clickable="true"
android:padding="0dp"
android:scaleType="centerCrop"
android:src="@drawable/icon" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:padding="5dip" >
<ImageView
android:id="@+id/geo_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:clickable="true"
android:src="@drawable/button_nolocation_share" />
<ImageView
android:id="@+id/share_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/geo_button"
android:clickable="true"
android:src="@drawable/button_share" />
<ImageView
android:id="@+id/button_private"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:src="@drawable/button_private" />
</RelativeLayout>
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#FFFFFF"
android:clickable="false"
android:longClickable="false"
android:orientation="vertical"
android:paddingTop="0dp" >
<TextView
android:id="@+id/newest_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="false"
android:padding="2dp"
android:textAppearance="?android:attr/textAppearanceLarge" />
<TextView
android:id="@+id/newest_date"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="false"
android:padding="2dp"
android:text="@string/newest_this_photo_was_taken"
android:textColor="#545557"
android:textSize="12dp" />
<HorizontalScrollView
android:id="@+id/horizontalScrollView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >
<LinearLayout
android:id="@+id/newest_tag_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="false" />
</HorizontalScrollView>
</LinearLayout>
</LinearLayout>