Improved comments and post appearance.

This commit is contained in:
Pierre 2018-03-12 18:58:15 +01:00
parent 4f86d95240
commit 5ab8575c40
3 changed files with 7 additions and 3 deletions

View File

@ -9,8 +9,8 @@
<!-- User name and image--> <!-- User name and image-->
<ImageView <ImageView
android:id="@+id/user_account_image" android:id="@+id/user_account_image"
android:layout_width="@dimen/account_image_xsmall_width" android:layout_width="@dimen/account_image_small_width"
android:layout_height="@dimen/account_image_xsmall_height" android:layout_height="@dimen/account_image_small_height"
android:src="@drawable/default_account_image" android:src="@drawable/default_account_image"
android:contentDescription="@string/user_image_description" /> android:contentDescription="@string/user_image_description" />

View File

@ -2,6 +2,8 @@
<!-- The default size of an account image --> <!-- The default size of an account image -->
<dimen name="account_image_default_width">64dp</dimen> <dimen name="account_image_default_width">64dp</dimen>
<dimen name="account_image_default_height">64dp</dimen> <dimen name="account_image_default_height">64dp</dimen>
<dimen name="account_image_small_width">32dp</dimen>
<dimen name="account_image_small_height">32dp</dimen>
<dimen name="account_image_xsmall_width">16dp</dimen> <dimen name="account_image_xsmall_width">16dp</dimen>
<dimen name="account_image_xsmall_height">16dp</dimen> <dimen name="account_image_xsmall_height">16dp</dimen>

View File

@ -32,6 +32,8 @@
<style name="PostContener"> <style name="PostContener">
<item name="android:paddingTop">5dp</item> <item name="android:paddingTop">5dp</item>
<item name="android:paddingBottom">5dp</item> <item name="android:paddingBottom">5dp</item>
<item name="android:paddingStart">5dp</item>
<item name="android:paddingEnd">5dp</item>
</style> </style>
<!-- Post header --> <!-- Post header -->
@ -70,7 +72,7 @@
<item name="android:paddingTop">0dp</item> <item name="android:paddingTop">0dp</item>
<item name="android:paddingStart">5dp</item> <item name="android:paddingStart">5dp</item>
<item name="android:paddingEnd">5dp</item> <item name="android:paddingEnd">5dp</item>
<item name="android:paddingBottom">0dp</item> <item name="android:paddingBottom">2dp</item>
</style> </style>
<!-- Comment user name --> <!-- Comment user name -->