mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
Add overlay text
This commit is contained in:
parent
c48c20cabb
commit
89b073b4bc
3 changed files with 13 additions and 5 deletions
|
|
@ -10,15 +10,14 @@
|
|||
|
||||
<ImageView
|
||||
android:id="@android:id/icon"
|
||||
android:layout_width="@dimen/image_size"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/empty_photo"
|
||||
android:scaleType="centerCrop"
|
||||
android:transitionName="image" />
|
||||
android:scaleType="centerCrop" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/distance"
|
||||
android:layout_width="@dimen/image_size"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignBottom="@android:id/icon"
|
||||
android:gravity="center"
|
||||
|
|
@ -51,7 +50,7 @@
|
|||
android:maxLines="4"
|
||||
style="?android:textAppearanceSmall"
|
||||
tools:text="Description goes here" />
|
||||
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
</FrameLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue