mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +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:id="@+id/mediaDetailTitle"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="fill_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textColor="#FFFFFFFF"
|
|
||||||
style="?android:textAppearanceMedium"
|
|
||||||
/>
|
/>
|
||||||
<!-- <TextView
|
<!-- <TextView
|
||||||
android:id="@+id/mediaDetailDescription"
|
android:id="@+id/mediaDetailDescription"
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="2dp"
|
android:padding="2dp"
|
||||||
android:paddingBottom="0dp"
|
android:paddingBottom="0dp"
|
||||||
android:background="#000000"
|
|
||||||
>
|
>
|
||||||
|
|
||||||
<TextView android:id="@+id/contributionSequenceNumber"
|
<TextView android:id="@+id/contributionSequenceNumber"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar" />
|
<style name="AppTheme" parent="android:Theme.Holo" />
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<style name="AppTheme" parent="Theme.Sherlock.Light.DarkActionBar" />
|
<style name="AppTheme" parent="Theme.Sherlock" />
|
||||||
|
|
||||||
<style name="NoTitle" parent="AppTheme">
|
<style name="NoTitle" parent="AppTheme">
|
||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
|
|
|
||||||
|
|
@ -83,6 +83,9 @@ public class MediaDetailFragment extends SherlockFragment {
|
||||||
title.setFocusable(editable);
|
title.setFocusable(editable);
|
||||||
title.setCursorVisible(editable);
|
title.setCursorVisible(editable);
|
||||||
title.setFocusableInTouchMode(editable);
|
title.setFocusableInTouchMode(editable);
|
||||||
|
if(!editable) {
|
||||||
|
title.setBackgroundDrawable(null);
|
||||||
|
}
|
||||||
|
|
||||||
String actualUrl = TextUtils.isEmpty(media.getImageUrl()) ? media.getLocalUri().toString() : media.getThumbnailUrl(640);
|
String actualUrl = TextUtils.isEmpty(media.getImageUrl()) ? media.getLocalUri().toString() : media.getThumbnailUrl(640);
|
||||||
ImageLoader.getInstance().displayImage(actualUrl, image, displayOptions, new ImageLoadingListener() {
|
ImageLoader.getInstance().displayImage(actualUrl, image, displayOptions, new ImageLoadingListener() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue