Изменена разметка отображения поста

This commit is contained in:
Victor 2014-01-09 23:16:02 +02:00
parent 9cd6aed971
commit 82907df913
3 changed files with 10 additions and 8 deletions

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:paddingTop="@dimen/post_margin" android:paddingTop="@dimen/post_margin_vertical"
android:paddingBottom="@dimen/post_margin" android:paddingBottom="@dimen/post_margin_vertical"
android:paddingLeft="@dimen/post_margin" android:paddingLeft="@dimen/post_margin_horizontal"
android:paddingRight="@dimen/post_margin" > android:paddingRight="@dimen/post_margin_horizontal">
<TextView <TextView
android:id="@+id/forum_author" android:id="@+id/forum_author"
@ -29,7 +29,7 @@
android:layout_height="1dp" android:layout_height="1dp"
android:layout_marginTop="1dp" android:layout_marginTop="1dp"
android:layout_marginBottom="2dp" android:layout_marginBottom="2dp"
android:background="@android:color/holo_blue_light" android:background="@color/holo_blue_light"
android:layout_below="@id/forum_author" /> android:layout_below="@id/forum_author" />
<TextView <TextView

View File

@ -3,4 +3,6 @@
<color name="actions_background">@android:color/white</color> <color name="actions_background">@android:color/white</color>
<color name="actions_item_text">#FF0E64A3</color> <color name="actions_item_text">#FF0E64A3</color>
<color name="actions_title_text">@android:color/white</color> <color name="actions_title_text">@android:color/white</color>
<color name="holo_blue_light">#33B5E5</color>
</resources> </resources>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<dimen name="post_margin">4dp</dimen> <dimen name="post_margin_horizontal">4dp</dimen>
<dimen name="post_margin_vertical">10dp</dimen>
</resources> </resources>