Minor size modifications to fit with 48 based android grid

This commit is contained in:
YuviPanda 2013-02-18 15:02:45 +05:30
parent 0c5996c4ec
commit ee35a5c1d0
2 changed files with 6 additions and 5 deletions

View file

@ -8,7 +8,7 @@
android:layout_height="fill_parent" android:layout_height="fill_parent"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:stretchMode="columnWidth" android:stretchMode="columnWidth"
android:columnWidth="256dp" android:columnWidth="240dp"
android:numColumns="auto_fit" android:numColumns="auto_fit"
android:listSelector="@null" android:listSelector="@null"
android:fadingEdge="none" android:fadingEdge="none"

View file

@ -3,11 +3,12 @@
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content"
>
<ImageView android:id="@+id/contributionImage" <ImageView android:id="@+id/contributionImage"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="256dp" android:layout_height="240dp"
android:scaleType="centerCrop" android:scaleType="centerCrop"
/> />
@ -16,7 +17,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center|bottom" android:layout_gravity="center|bottom"
android:background="#AA000000" android:background="#AA000000"
android:padding="10dp" android:padding="8dp"
> >
<TextView <TextView
@ -24,7 +25,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textColor="#FFFFFFFF" android:textColor="#FFFFFFFF"
android:textSize="18dp" style="?android:textAppearanceMedium"
android:typeface="serif" /> android:typeface="serif" />
<TextView <TextView
android:id="@+id/contributionState" android:id="@+id/contributionState"