Align stats's page grade bottom alignment

This commit is contained in:
Jimmy Shih
2013-11-14 15:11:33 -08:00
parent 7585c80906
commit 6b050d6236
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ limitations under the License.
<!-- Activity type --> <!-- Activity type -->
<Spinner <Spinner
android:id="@+id/stats_activity_type_icon" android:id="@+id/stats_activity_type_icon"
android:layout_gravity="bottom"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginLeft="4dp" android:layout_marginLeft="4dp"
android:layout_marginTop="-6dp" android:layout_marginTop="-6dp"
@@ -34,9 +34,13 @@ limitations under the License.
<LinearLayout <LinearLayout
android:layout_gravity="left|bottom" android:layout_gravity="left|bottom"
style="@style/StatsSmallValueContainer" > style="@style/StatsSmallValueContainer" >
<TextView
android:visibility="invisible"
style="@style/StatsSmallValue" />
<!-- Label --> <!-- Label -->
<TextView <TextView
android:id="@+id/stats_label" android:id="@+id/stats_label"
android:layout_gravity="bottom"
android:paddingLeft="8dp" android:paddingLeft="8dp"
style="@style/StatsSmallLabel" /> style="@style/StatsSmallLabel" />
</LinearLayout> </LinearLayout>
+3
View File
@@ -156,6 +156,7 @@ limitations under the License.
</style> </style>
<!-- stats large value --> <!-- stats large value -->
<style name="StatsLargeValue"> <style name="StatsLargeValue">
<item name="android:layout_gravity">bottom</item>
<item name="android:layout_height">wrap_content</item> <item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item> <item name="android:layout_width">wrap_content</item>
<item name="android:singleLine">true</item> <item name="android:singleLine">true</item>
@@ -192,6 +193,7 @@ limitations under the License.
</style> </style>
<!-- stats small value --> <!-- stats small value -->
<style name="StatsSmallValue" parent="@style/TextLarge"> <style name="StatsSmallValue" parent="@style/TextLarge">
<item name="android:layout_gravity">bottom</item>
<item name="android:singleLine">true</item> <item name="android:singleLine">true</item>
<item name="android:textColor">@android:color/white</item> <item name="android:textColor">@android:color/white</item>
</style> </style>
@@ -201,6 +203,7 @@ limitations under the License.
</style> </style>
<!-- stats unit --> <!-- stats unit -->
<style name="StatsUnit" parent="@style/TextSmall"> <style name="StatsUnit" parent="@style/TextSmall">
<item name="android:layout_gravity">bottom</item>
<item name="android:paddingLeft">4dp</item> <item name="android:paddingLeft">4dp</item>
<item name="android:singleLine">true</item> <item name="android:singleLine">true</item>
</style> </style>