Fix reports design

This commit is contained in:
GaidamakUA 2016-01-22 15:27:04 +02:00
parent abf7602435
commit 25730f1e00
5 changed files with 16 additions and 6 deletions

View file

@ -63,7 +63,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="8dp" android:layout_marginLeft="16dp"
android:layout_marginRight="56dp"/> android:layout_marginRight="56dp"/>
<View <View
@ -88,6 +88,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/number_of_contributors" android:text="@string/number_of_contributors"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"/> android:textSize="@dimen/default_sub_text_size"/>
<TextView <TextView
@ -120,6 +121,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/number_of_edits" android:text="@string/number_of_edits"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"/> android:textSize="@dimen/default_sub_text_size"/>
<TextView <TextView

View file

@ -34,6 +34,7 @@
<ListView <ListView
android:id="@android:id/list" android:id="@android:id/list"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"/> android:layout_height="wrap_content"
android:drawSelectorOnTop="true" />
</LinearLayout> </LinearLayout>

View file

@ -40,4 +40,10 @@
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"/> tools:visibility="visible"/>
</LinearLayout> </LinearLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider"/>
</LinearLayout> </LinearLayout>

View file

@ -96,6 +96,7 @@
android:layout_width="280dp" android:layout_width="280dp"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_gravity="left" android:layout_gravity="left"
android:background="?attr/bg_color"/> android:background="?attr/bg_color"
android:drawSelectorOnTop="true" />
</android.support.v4.widget.DrawerLayout> </android.support.v4.widget.DrawerLayout>

View file

@ -5,14 +5,14 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="center" android:gravity="center"
android:paddingRight="0dp" android:background="@android:drawable/list_selector_background">
style="?android:attr/spinnerItemStyle">
<TextView <TextView
android:text="@string/reports_for" android:text="@string/reports_for"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:textSize="@dimen/default_sub_text_size"/> android:textSize="@dimen/default_sub_text_size"
android:textColor="?android:textColorSecondary"/>
<TextView <TextView
android:textColor="?android:textColorPrimary" android:textColor="?android:textColorPrimary"