mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Fix styling on 2.3
Also switch to Holo Dark, which is what we wanted anyway
This commit is contained in:
parent
6a2f0e203c
commit
2976268291
5 changed files with 5 additions and 5 deletions
|
|
@ -41,8 +41,6 @@
|
|||
android:id="@+id/mediaDetailTitle"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#FFFFFFFF"
|
||||
style="?android:textAppearanceMedium"
|
||||
/>
|
||||
<!-- <TextView
|
||||
android:id="@+id/mediaDetailDescription"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:padding="2dp"
|
||||
android:paddingBottom="0dp"
|
||||
android:background="#000000"
|
||||
>
|
||||
|
||||
<TextView android:id="@+id/contributionSequenceNumber"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
|
||||
<style name="AppTheme" parent="android:Theme.Holo" />
|
||||
|
||||
</resources>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<resources>
|
||||
|
||||
<style name="AppTheme" parent="Theme.Sherlock.Light.DarkActionBar" />
|
||||
<style name="AppTheme" parent="Theme.Sherlock" />
|
||||
|
||||
<style name="NoTitle" parent="AppTheme">
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
|
|
|
|||
|
|
@ -83,6 +83,9 @@ public class MediaDetailFragment extends SherlockFragment {
|
|||
title.setFocusable(editable);
|
||||
title.setCursorVisible(editable);
|
||||
title.setFocusableInTouchMode(editable);
|
||||
if(!editable) {
|
||||
title.setBackgroundDrawable(null);
|
||||
}
|
||||
|
||||
String actualUrl = TextUtils.isEmpty(media.getImageUrl()) ? media.getLocalUri().toString() : media.getThumbnailUrl(640);
|
||||
ImageLoader.getInstance().displayImage(actualUrl, image, displayOptions, new ImageLoadingListener() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue