Improve marker list view layout

This commit is contained in:
Jimmy Shih
2013-10-30 14:29:40 -07:00
parent 261327ed4a
commit 7354b5a438
5 changed files with 56 additions and 23 deletions
+11 -2
View File
@@ -17,15 +17,24 @@ limitations under the License.
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:layout_width="match_parent" >
<!-- Photo -->
<ImageView
android:contentDescription="@string/icon_marker"
android:id="@+id/list_item_background"
android:id="@+id/list_item_photo"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:scaleType="centerCrop" />
<!-- A gradient on top of the photo -->
<ImageView
android:alpha=".6"
android:contentDescription="@string/icon_marker"
android:id="@+id/list_item_photo_gradient"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:src="@drawable/photo_gradient" />
<!-- Table 1 -->
<TableLayout
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:minHeight="?android:attr/listPreferredItemHeight"
android:paddingBottom="12dp"