Updated large layout. Fixed bug with favorites icon doesnt fit in dashboard

This commit is contained in:
Bars107 2014-12-17 18:40:52 +02:00
parent 5efcedd115
commit f40c3cd4d9
4 changed files with 6 additions and 5 deletions

View file

@ -15,8 +15,8 @@
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/dashFavIconMargin" android:layout_marginLeft="@dimen/dashFavIconMargin"
android:layout_marginRight="@dimen/dashFavIconMargin" android:layout_marginRight="@dimen/dashFavIconMargin"
android:layout_width="@dimen/dashFavIconSize" android:layout_width="wrap_content"
android:layout_height="@dimen/dashFavIconSize"/> android:layout_height="fill_parent"/>
<LinearLayout android:orientation="vertical" <LinearLayout android:orientation="vertical"
android:layout_weight="1" android:layout_weight="1"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"

View file

@ -20,6 +20,7 @@
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<TextView android:id="@+id/map_name" <TextView android:id="@+id/map_name"
android:textColor="@color/dashboard_black" android:textColor="@color/dashboard_black"
android:textSize="@dimen/dashFavNameTextSize"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"/>
<TextView android:id="@+id/map_descr" <TextView android:id="@+id/map_descr"

View file

@ -8,7 +8,7 @@
<dimen name="dashListItemHeight">75dp</dimen> <dimen name="dashListItemHeight">75dp</dimen>
<dimen name="dashFavIconSize">42dp</dimen> <dimen name="dashFavIconSize">42dp</dimen>
<dimen name="dashFavIconMargin">18dp</dimen> <dimen name="dashFavIconMargin">18dp</dimen>
<dimen name="dashFavDirectionSize">15sp</dimen> <dimen name="dashFavDirectionSize">15dp</dimen>
<dimen name="dashMapHeight">165dp</dimen> <dimen name="dashMapHeight">165dp</dimen>
<dimen name="dashMapMargin">3dp</dimen> <dimen name="dashMapMargin">3dp</dimen>
<dimen name="dashProgressTextSize">27sp</dimen> <dimen name="dashProgressTextSize">27sp</dimen>
@ -25,5 +25,5 @@
<!-- TextSizes --> <!-- TextSizes -->
<dimen name="showAllButtonTextSize">18sp</dimen> <dimen name="showAllButtonTextSize">18sp</dimen>
<dimen name="subHeaderTextSize">21sp</dimen> <dimen name="subHeaderTextSize">21sp</dimen>
<dimen name="dashFavNameTextSize">18sp</dimen> <dimen name="dashFavNameTextSize">24sp</dimen>
</resources> </resources>

View file

@ -8,7 +8,7 @@
<dimen name="dashListItemHeight">50dp</dimen> <dimen name="dashListItemHeight">50dp</dimen>
<dimen name="dashFavIconSize">28dp</dimen> <dimen name="dashFavIconSize">28dp</dimen>
<dimen name="dashFavIconMargin">12dp</dimen> <dimen name="dashFavIconMargin">12dp</dimen>
<dimen name="dashFavDirectionSize">10sp</dimen> <dimen name="dashFavDirectionSize">10dp</dimen>
<dimen name="dashMapHeight">110dp</dimen> <dimen name="dashMapHeight">110dp</dimen>
<dimen name="dashMapMargin">2dp</dimen> <dimen name="dashMapMargin">2dp</dimen>
<dimen name="dashNoteIconSize">28dp</dimen> <dimen name="dashNoteIconSize">28dp</dimen>