fixed account type icon elevation

This commit is contained in:
Mariotaku Lee 2016-11-26 16:30:27 +08:00
parent fc5b5a0360
commit 40ffa4a47e
3 changed files with 12 additions and 11 deletions

View File

@ -31,7 +31,8 @@ import org.mariotaku.twidere.util.media.MediaExtra
import java.util.*
import java.util.concurrent.TimeUnit
class VideoPageFragment : CacheDownloadMediaViewerFragment(), MediaPlayer.OnPreparedListener, MediaPlayer.OnErrorListener, MediaPlayer.OnCompletionListener, View.OnClickListener {
class VideoPageFragment : CacheDownloadMediaViewerFragment(), MediaPlayer.OnPreparedListener,
MediaPlayer.OnErrorListener, MediaPlayer.OnCompletionListener, View.OnClickListener {
private var mPlayAudio: Boolean = false
private var mVideoProgressRunnable: VideoPlayProgressRunnable? = null

View File

@ -98,7 +98,7 @@
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:maxLines="1"
android:textAppearance="?android:textAppearanceMedium"
android:textColor="?android:textColorPrimary"
tools:text="Name"/>
@ -108,7 +108,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/name"
android:singleLine="true"
android:maxLines="1"
android:textAppearance="?android:textAppearanceSmall"
android:textColor="?android:textColorPrimary"
tools:text="\@screenname"/>
@ -122,7 +122,7 @@
android:layout_marginStart="@dimen/element_spacing_small"
android:layout_toEndOf="@+id/screenName"
android:layout_toRightOf="@+id/screenName"
android:singleLine="true"
android:maxLines="1"
android:text="@string/following_you"
android:textAppearance="?android:textAppearanceSmall"
android:textColor="?android:textColorSecondary"
@ -162,8 +162,8 @@
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:padding="@dimen/element_spacing_small"
android:singleLine="true"
android:text="@string/description"
android:textAllCaps="true"
android:textAppearance="?android:attr/textAppearanceSmall"
@ -202,9 +202,9 @@
android:id="@+id/location"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1"
android:paddingLeft="@dimen/element_spacing_small"
android:paddingRight="@dimen/element_spacing_small"
android:singleLine="true"
android:textAppearance="?android:textAppearanceSmall"
android:textColor="?android:textColorPrimary"
tools:text="Zhengzhou China"/>
@ -233,10 +233,10 @@
android:autoLink="web"
android:paddingLeft="@dimen/element_spacing_small"
android:paddingRight="@dimen/element_spacing_small"
android:singleLine="true"
android:textAppearance="?android:textAppearanceSmall"
android:textColor="?android:textColorPrimary"
tools:text="mariotaku.org"/>
tools:text="mariotaku.org"
android:maxLines="1"/>
</LinearLayout>
<LinearLayout
@ -261,10 +261,10 @@
android:layout_height="wrap_content"
android:paddingLeft="@dimen/element_spacing_small"
android:paddingRight="@dimen/element_spacing_small"
android:singleLine="true"
android:textAppearance="?android:textAppearanceSmall"
android:textColor="?android:textColorPrimary"
tools:text="July 17, 2009 18:35 (20 tweets per day)"/>
tools:text="July 17, 2009 18:35 (20 tweets per day)"
android:maxLines="1"/>
</LinearLayout>
<LinearLayout

View File

@ -19,7 +19,7 @@
<style name="Widget.ProfileType" parent="Widget.Base">
<item name="android:scaleType">centerInside</item>
<item name="android:elevation">@dimen/elevation_card</item>
<item name="android:elevation">4dp</item>
<item name="android:outlineProvider">none</item>
</style>