mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Minor stylistic fixes
This commit is contained in:
parent
0cb11284ff
commit
ea6da19d3c
4 changed files with 9 additions and 4 deletions
|
|
@ -5,6 +5,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:orientation="horizontal"
|
||||
android:id="@+id/contributionsFragmentContainer"
|
||||
android:background="#000000"
|
||||
>
|
||||
<fragment
|
||||
android:name="org.wikimedia.commons.contributions.ContributionsListFragment"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
android:layout_height="fill_parent"
|
||||
android:background="#000000"
|
||||
>
|
||||
<GridView android:id="@+id/contributionsList"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_width="fill_parent"
|
||||
|
|
|
|||
|
|
@ -4,6 +4,9 @@
|
|||
android:orientation="vertical"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="2dp"
|
||||
android:paddingBottom="0dp"
|
||||
android:background="#000000"
|
||||
>
|
||||
|
||||
<ImageView android:id="@+id/contributionImage"
|
||||
|
|
@ -26,7 +29,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:textColor="#FFFFFFFF"
|
||||
style="?android:textAppearanceMedium"
|
||||
android:typeface="serif" />
|
||||
/>
|
||||
<TextView
|
||||
android:id="@+id/contributionState"
|
||||
android:layout_width="wrap_content"
|
||||
|
|
|
|||
|
|
@ -68,8 +68,7 @@ public class ContributionsListFragment extends SherlockFragment {
|
|||
titleView.setText(Utils.displayTitleFromTitle(contribution.getFilename()));
|
||||
switch(contribution.getState()) {
|
||||
case Contribution.STATE_COMPLETED:
|
||||
Date uploaded = contribution.getDateUploaded();
|
||||
stateView.setText(SimpleDateFormat.getDateInstance().format(uploaded));
|
||||
stateView.setText("");
|
||||
break;
|
||||
case Contribution.STATE_QUEUED:
|
||||
stateView.setText(R.string.contribution_state_queued);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue