mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 09:33:06 +02:00
Align stats's page grade bottom alignment
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user