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 -->
<Spinner
android:id="@+id/stats_activity_type_icon"
android:layout_gravity="bottom"
android:layout_height="wrap_content"
android:layout_marginLeft="4dp"
android:layout_marginTop="-6dp"
@@ -34,9 +34,13 @@ limitations under the License.
<LinearLayout
android:layout_gravity="left|bottom"
style="@style/StatsSmallValueContainer" >
<TextView
android:visibility="invisible"
style="@style/StatsSmallValue" />
<!-- Label -->
<TextView
android:id="@+id/stats_label"
android:layout_gravity="bottom"
android:paddingLeft="8dp"
style="@style/StatsSmallLabel" />
</LinearLayout>
+3
View File
@@ -156,6 +156,7 @@ limitations under the License.
</style>
<!-- stats large value -->
<style name="StatsLargeValue">
<item name="android:layout_gravity">bottom</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:singleLine">true</item>
@@ -192,6 +193,7 @@ limitations under the License.
</style>
<!-- stats small value -->
<style name="StatsSmallValue" parent="@style/TextLarge">
<item name="android:layout_gravity">bottom</item>
<item name="android:singleLine">true</item>
<item name="android:textColor">@android:color/white</item>
</style>
@@ -201,6 +203,7 @@ limitations under the License.
</style>
<!-- stats unit -->
<style name="StatsUnit" parent="@style/TextSmall">
<item name="android:layout_gravity">bottom</item>
<item name="android:paddingLeft">4dp</item>
<item name="android:singleLine">true</item>
</style>