Update widgets up to 45% width #1821

This commit is contained in:
Victor Shcherb 2015-10-22 00:38:05 +02:00
parent aa9709fa05
commit 37aefe99c2
2 changed files with 10 additions and 6 deletions

View file

@ -139,7 +139,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="top|left"
android:layout_weight="0.4"
android:layout_weight="0.45"
android:orientation="vertical" >
<LinearLayout
@ -180,12 +180,12 @@
android:src="@drawable/ic_action_test_light" />
</LinearLayout>
</LinearLayout>
<!-- empty block to not let widgets grow more than 40% -->
<!-- empty block to not let widgets grow more than 45% -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0.6" >
android:layout_weight="0.55" >
</LinearLayout>
</LinearLayout>
@ -197,19 +197,19 @@
android:orientation="horizontal"
android:weightSum="1" >
<!-- empty block to not let widgets grow more than 40% -->
<!-- empty block to not let widgets grow more than 45% -->
<LinearLayout
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0.6" >
android:layout_weight="0.55" >
</LinearLayout>
<FrameLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="top|right"
android:layout_weight="0.4" >
android:layout_weight="0.45" >
<LinearLayout
android:layout_width="wrap_content"

View file

@ -60,6 +60,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:maxLines="1"
android:singleLine="true"
android:minWidth="10dp"
tools:text="1048"
android:textColor="@color/color_white"
@ -71,6 +72,7 @@
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:maxLines="1"
android:singleLine="true"
android:minWidth="10dp"
tools:text="1048"
android:textColor="@color/color_black"
@ -90,6 +92,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:singleLine="true"
tools:text="km"
android:textColor="@color/color_white"
android:textSize="@dimen/map_widget_text_size_small" />
@ -99,6 +102,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:singleLine="true"
tools:text="km"
android:textColor="@color/color_black"
android:textSize="@dimen/map_widget_text_size_small" />