Skip to content

Commit

Permalink
Further material design adjustments
Browse files Browse the repository at this point in the history
Bug #1
  • Loading branch information
helmuthb committed Sep 14, 2016
1 parent a86b4b2 commit 08f3601
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ android {

defaultConfig {
applicationId 'at.droidcon.vienna2016'
versionCode 12
versionName '1.0.8'
versionCode 13
versionName '1.0.9'

minSdkVersion 15
targetSdkVersion 24
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/layout/tw__tweet_compact.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@
android:id="@+id/tw__tweet_author_avatar"
android:layout_below="@id/tw__tweet_retweeted_by"
android:layout_marginLeft="@dimen/activity_margin"
android:layout_marginStart="@dimen/activity_margin"
android:layout_marginRight="@dimen/tweets_margin_right"
android:layout_marginEnd="@dimen/tweets_margin_right"
android:layout_width="@dimen/tweets_image_size"
android:layout_height="@dimen/tweets_image_size"
style="@style/tw__TweetAvatar.Compact"/>

<!--Name and timestamp don't ellipsize, but @username in the middle does ellipsize-->
Expand Down Expand Up @@ -74,6 +78,8 @@
<FrameLayout
android:id="@+id/tw__tweet_media_container"
style="@style/tw__TweetMediaContainer.Compact"
android:layout_marginEnd="@dimen/tweets_media_margin"
android:layout_marginRight="@dimen/tweets_media_margin"
android:layout_below="@id/tw__author_attribution"
android:layout_toEndOf="@id/tw__tweet_author_avatar"
android:layout_toRightOf="@id/tw__tweet_author_avatar">
Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@

<!-- Tweets -->
<dimen name="tweets_margin_side">10dp</dimen>
<dimen name="tweets_margin_right">20dp</dimen>
<dimen name="tweets_margin_right">16dp</dimen>
<dimen name="tweets_image_size">40dp</dimen>
<dimen name="tweets_media_margin">16dp</dimen>
</resources>

0 comments on commit 08f3601

Please sign in to comment.